Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Flash functions not working in Director


Vimpact
2/10/2004 8:11:49 PM
I have a flash movie in a director file. The flash movie is three frames long.
The flash movie has a function on frame one. It basiclly moves three circles
across the stage. The problem is when I play the swf outside director this all
works fine and dandy. But, when I bring the swf into director my little circles
just sit there looking at me as I bang on the keyboard. Is there something I'm
missing? Any help would be great. Below is the code I'm using

Frame 1
movement=2
function moveMe()
for(i=1;i<=3;i++)
_root["circle"+i]._x=_root["circle"+i]._x+movement


Frame 2

moveMe()

Frame 3

gotoAndPlay(2)

Thanks
Bryan



Peter Blumenthal
2/11/2004 11:36:15 AM
Which release of Flash and Director are you using?



--
---------------------------------------
http://www.phageinteractive.com
PhageInteractive Ltd.
remove mm_ to mail
---------------------------------------
'I wish we lived in a world where it was possible to be religious and think
at the same time.' - Jonh Graves


Vimpact
2/11/2004 12:22:53 PM
Vimpact
2/11/2004 12:27:25 PM
AddThis Social Bookmark Button