Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Hunble webforumsuser@macromedia.com #1
Flash movie in Director
Hi All, I am new to this user group.
I am facing a problem in Director MX. I have imported a Flash Movie ( SWF ) in Director. What I require is when the Flash Movie is done playing the control jumps to the next frame...
My flash movie has 600 frames and in the last frame. I have added a label END.... I am trying to use the FINDLABEL() command of director by means of which I can check if my movie has reached the LAST FRAME / Label so I can jump to the other Marker in the director Movie.
Can you please please tell me how to code it..... how to create a simple IF statement which checks the last LABEL and if found & Reached... it should jump to the next marker in director.
Thanks in advance...
HUMBLE
Hunble webforumsuser@macromedia.com Guest
-
Help with flash movie in director
Im having trouble importing my flash movie into director 8. I created the movie in flash mx and iv imported the swf file into director, but all... -
controlling Director movie with Flash
I have a Director file that has to react to a Flash file. Specifically, I have a director file that includes a Flash file. When the swf reaches a... -
possible to import director movie into flash?
I have a silly little program that i wish to import into a flash movie and I don't really know if its possible. Flash refuses to touch dcr files at... -
Working with a Flash Movie into Director
Hi all ! I'm a newbie ( FRENCH newbie lol ). I imported a flash movie into Director. Everything is fine. But here is my problem: At the end... -
Is there something like a flash movie clip in Director
Hi, In flash we can make movie clips, put inside them code and movement and place them wherever we want on our flash movie. Is there something like... -
Michael Hamstra #2
Re: Flash movie in Director
You could do something like:
on exitFrame me
if sprite(3).playing=0 then
go to next -- goes to the next marker
else
go to the frame
end if
end
This will keep the playback head on that frame until the Flash finishes (the
above assumes the flash is in sprite #3)
Michael Hamstra
"Hunble" <webforumsuser@macromedia.com> wrote in message
news:blu7r6$t1$1@forums.macromedia.com...SWF ) in Director. What I require is when the Flash Movie is done playing> Hi All, I am new to this user group.
>
> I am facing a problem in Director MX. I have imported a Flash Movie (
the control jumps to the next frame...END.... I am trying to use the FINDLABEL() command of director by means of>
> My flash movie has 600 frames and in the last frame. I have added a label
which I can check if my movie has reached the LAST FRAME / Label so I can
jump to the other Marker in the director Movie.IF statement which checks the last LABEL and if found & Reached... it should>
> Can you please please tell me how to code it..... how to create a simple
jump to the next marker in director.>
> Thanks in advance...
>
> HUMBLE
>
>
Michael Hamstra Guest
-
Rob Dillon #3
Re: Flash movie in Director
You don't need to use the frame label, since your Flash movie is
linear, you can just use the duration of the movie to trigger the
event.
Something like this attached to the Flash sprite will work:
--------
property thisSprite
property thisDuration
on beginSprite me
thisSprite = me.spriteNum
thisDuration = sprite(thiSprite).member.frameCount
end
on exitFrame me
go to the frame
if sprite(thisSprite).frame >= thisDuration then go to the frame + 1
end
--------
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
JKLea webforumsuser@macromedia.com #4
Re: Flash movie in Director
You could also use:
on exitFrame me
if sprite(x).frame < member("x").frameCount then go to the frame
else go to the frame +1 -- or use a marker of some sort
end
JKLea
JKLea webforumsuser@macromedia.com Guest
-
Rob Dillon #5
Re: Flash movie in Director
In article <blu9le$4d7$1@forums.macromedia.com>, Michael Hamstra
<hamstra@bellsouth.net> wrote:
On slower computers this method can fail, the first test for that> You could do something like:
>
> on exitFrame me
> if sprite(3).playing=0 then
> go to next -- goes to the next marker
> else
> go to the frame
> end if
> end
>
sprite's playing property can return 0 as it hasn't started playing
yet. The same problem exists when checking a digital video file.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
Rob Dillon #6
Re: Flash movie in Director
In article <blukc6$qo4$1@forums.macromedia.com>, <
[email]webforumsuser@macromedia.com[/email]> wrote:
This method causes Director to have to test for the frameCount value at> You could also use:
>
> on exitFrame me
> if sprite(x).frame < member("x").frameCount then go to the frame
> else go to the frame +1 -- or use a marker of some sort
> end
>
>
every frame loop. Since it never changes, it's better to get the value
once and then store it in a property variable.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
JKLea webforumsuser@macromedia.com #7
Re: Flash movie in Director
I think that's called "memory management," right?
I always forget about that. :/
Thanks Rob.
JKLea
JKLea webforumsuser@macromedia.com Guest
-
Hunble webforumsuser@macromedia.com #8
Re: Flash movie in Director
Thanks to everybody who have taken out time to respond to my query, I am really obliged.
ROB thanks a bundle, your solution really works. I also agree with you upon that slow machine problem with sprite(3)= 0 code. Also it will skips to next marker if I have paused my flash movie through lingo.
Now I am submitting another problem :)
I want to know how can I control flash movie audio / sounds through director. E.g.,
I have this flash movie which has a background voice over / narration playin in it. I have made a volume slider but I don't know how to control the sound in flash movie through this slider in director.....
Can you help me with this. Thanks in advance again.
Regards
Humble
Hunble webforumsuser@macromedia.com Guest
-
Rob Dillon #9
Re: Flash movie in Director
See your other message on this subject...
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest



Reply With Quote

