Ask a Question related to Macromedia Director Basics, Design and Development.
-
Mark Gibson #1
director layers and flash
hi guys,
this is probably really easy but I have a little problem.
I have a director mx movie with a flash movie on layer 1. I have put some
script on a director button to tell flash to go to a particular place, thus:
on mouseUp me
sprite("speakers_note").goToFrame("help03")
end
This works fine, but I want to move it to another layer so it appears
between different elements of the director file, but if it's on any other
layer than 1, I doesn't work and throws up the error:
script error: Handler not found in object
sprite("speakers_notes").goToFrame("Help03")
#goToFrame
Please can someone help as it's driving me mad!! all suggestions
appreciated.
Cheers,
Mark.
Mark Gibson Guest
-
Layers: Overlapping Layer with Flash over Flash, HELP!
I am having a bit of a problem trying to overlap flash over flash with layers in dreamweaver. With layers, I can easily overlap html and images with... -
Flash and Layers
Hi, I have a Flash movie in my page which is just below a scrolling layer on my page. This works fine until I go to edit the page in Contribute... -
Div layers and flash movies
Hi on my html page i have a flash movie in a div layer, with its z-index set to 1, i have another div layer with a higher z-index value, but with... -
trying to open psd in director and keep layers ??
hi. i am trying to open a photoshop file in director while preserving the layers as cast members. i cant afford photocaster but i found a solution... -
Layers and Flash
Okay I need help bad. I have a site created with layers to organize the different areas. The top layer is the title of the page, and its 760x180.... -
EdMX #2
Re: director layers and flash
I'm surprised your line:
sprite("speakers_note").goToFrame("help03")
works at all, as the goToFrame method is listed as working with sprite
numbers, and neither sprite layers nor sprites themselves have names in
Director (The cast member does). You should use:
sprite(gFlashSpriteNum).goToFrame("help03")
and make sure you set the gFlashSpriteNum variable to the layer number your
flash movie is on - and then set it every time you change the sprite layer
where your flash is.
EdMX Guest
-
Doug Golenski #3
Re: director layers and flash
Mark,
Do you mean you are using Director MX 2K4? Director MX doesn't support
sprite naming. You could put the sprite number for the flash sprite into a
variable if you are using MX. Like:
global myFlashSpriteNum=4
on mouseUp me
Sprite(myflashSpriteNum).goToFrame("help03")
end mouseUp me
hth,
Doug
"Mark Gibson" <mail@frontside-nm.com> wrote in message
news:c78d51$gbq$1@forums.macromedia.com...thus:> hi guys,
>
> this is probably really easy but I have a little problem.
>
> I have a director mx movie with a flash movie on layer 1. I have put some
> script on a director button to tell flash to go to a particular place,>
> on mouseUp me
> sprite("speakers_note").goToFrame("help03")
> end
>
> This works fine, but I want to move it to another layer so it appears
> between different elements of the director file, but if it's on any other
> layer than 1, I doesn't work and throws up the error:
>
> script error: Handler not found in object
>
> sprite("speakers_notes").goToFrame("Help03")
>
> #goToFrame
>
> Please can someone help as it's driving me mad!! all suggestions
> appreciated.
>
> Cheers,
>
> Mark.
>
>
Doug Golenski Guest



Reply With Quote

