all groups > flash (macromedia) > april 2005 >
You're in the

flash (macromedia)

group:

actions within an embedded swf file?


actions within an embedded swf file? cycojp13
4/15/2005 8:55:19 PM
flash (macromedia): Hello- I have a flash file that has another swf file embedded within it (in
the library of the first movie). The embedded movie is a series of images, and
I have it set up to loop continuously so that the graphics scroll by. Here's
what I want to happen- when one of the images is clicked on by the mouse,
another browser window pops up and displays info about that graphic. Where do
I start? Do I put the commands in the embedded swf file? Or edit it in the
base movie that it is embedded into? I just don't know where to start! Thanks
in advance!!!
Re: actions within an embedded swf file? adrianTNT
4/15/2005 9:36:45 PM
I think you should place code in the secundary swf, not in main swf, I dont
know if you can refer to targets inside a dinamically loaded swf file so is
better to place your actions in the loaded swf file than in the main swf file.
In your case this should work just fine.

-Adrian.
Re: actions within an embedded swf file? cycojp13
4/18/2005 3:18:06 PM
Is there some special code to get the action to happen in the main movie when
coded in the secondary .swf? When a graphic is clicked on, a new window pops
up. I have a simple getURL and _blank action coded in the secondary .swf, and
when I test it, it works, but it does not work when the graphic is clicked on
when testing the main movie.
AddThis Social Bookmark Button