Preserved Topic: Can 1 link affect 2 different frames? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 01:57
In a Flash menu in a frame I've assigned the following actions below to a button so when its clicked both the 'top' and 'main' frames are changed. |
Neurotic (0) Inmate Newly admitted |
posted 08-29-2000 02:13
i pulled this out of o'riley's web design in a nutshell: code: <script language="javascript">
|
Nervous Wreck (II) Inmate From: |
posted 08-29-2000 02:34
Trust me it works, in Flash geturl is all thats needed. Thanks for your help. |
Nervous Wreck (II) Inmate From: |
posted 08-31-2000 14:48
There was a lil problem with the script above but I found another one which I tested and works. I even tried using 1 link with 3 frames and it worked. |
Neurotic (0) Inmate Newly admitted |
posted 08-31-2000 20:46
riddim, that is the same thing. the only difference is that the script la'dsasha gave you offers more versatility. |
Maniac (V) Mad Scientist From: the west wing |
posted 08-31-2000 21:21
la'dsasha ~ the FSCommand is almost completely useless in Flash now. Originally, it was used to send commands to whatever it was that was housing the SWF file (such as html, javascript, etc). Flash has become more detailed in it's getURL command that makes most of those references cumbersome. Pretty much the only use for FSCommand is "FSCommand ("fullscreen",true) which changes to a fullscreen. Not much past that. I'm writing a Gurusnetwork tutorial on actionscripting, and I'll go into more detail on it then... |
Nervous Wreck (II) Inmate From: |
posted 08-31-2000 21:27
The 2 scripts are a lil similar but I tried out la'dsasha's but it gave me an error, I even re-tested it once more from the lil modification you made and I still got an error in IE5. You can try it out yourself and see whether it works perfectly. I modified the one u (tim) posted and pasted it below but changed minor details like the frame and webpage but basically its the same. As u said la'dsasha's would be more versatile of the 2 if it worked coz it would require less code. The other one I found worked with as many links as I gave it but it requires extra lines of code. It works though. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-31-2000 23:19
I don't use frames much so I don't know if this is right. However I think you may need to simply name your frames and then use those to refrence them in the script. |
Nervous Wreck (II) Inmate From: Bern, Switzerland |
posted 09-05-2000 01:54
you have dots in your parameternames, maybe thats the cause of those errors. |