Alessandra:

The goToFrame(sprite whichFlashSprite, labelNameString or frameNumber)
instruction can help you with that.

Flash has its own time line, so you have to name the key frames in Flash.

Example:

I have a flash movie that is called example.swf, this movie plays until the
button skip movie which is in Director is pressed.

FLASH

Frame 1 has an instance of a movie loop, it also has a stop action
Frame 3 I named it "menu" in the Label tag, it has an instance of a movie
loop and a stop action

DIRECTOR

Frame 1 has an instance of the imported movie from flash (Insert =>Media
Element =>Flash Movie) as sprite 1 and I add a simple button, the script of
the button is:

--
on mouseDown
    goToFrame(sprite 1, "menu")
end
--

This script tells the sprite 1 (example.swf) to go to the frame named "menu"
which is inside of it.

If you need another reference try the flash_lingo.dir "how to" which comes
with your Director package or go to:

http://www.macromedia.com/support/director/showme.html

and download it from them

-- 
*--------------------------*
Jose Cueto
[EMAIL PROTECTED]

Director de Multimedia
Oveja Negra
(525) 281-4170 ext.100
-- 
> From: "apellicciari"<[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 21 Nov 2000 17:23:34 -0200
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> controlling flash
> 
> Hi all
> 
> Is it possible to controll the position
> of the flash movie? For example, when
> clicking in one button into director,
> this action would tell the flash movie
> to go to a certain keyframe(inside this
> flash movie) and play.
> 
> thanks in advance
> 
> Alessandra
> 
> 
> 
> 
> __________________________________________________________________________
> Todo brasileiro tem direito a um e-mail gr�tis
> http://www.bol.com.br
> 
> 
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to