PDA

View Full Version : Just wanna control from Dreamweaver!


Huh?
02-10-2003, 12:54 AM
I have a Flash movie in Dreamweaver.

I want to have another item go to a labeled frame within that movie and play.

I try a link with a behavior attached to control the movie. But for some bizzare reason I can only go to a frame number and play it. (that's the way the flash control behavior works in Dreamweaver)

That seems crazy that Dreamweaver has the ability to target the movie and the frame but not the frame label.

What are my options?


Thank you for your time.

CyanBlue
02-10-2003, 01:13 AM
Well... Don't know why that didn't do the job for you...

I'd use LocalConnection() object as an alternative method if I were you... Do some searching on the forum for more information on LocalConnection() object... :)

fgf
02-10-2003, 02:04 AM
i wrote a long post but it died. do this instead.

http://www.macromedia.com/support/flash/ts/documents/set_variables.htm#querystring

fgf

Huh?
02-10-2003, 11:42 AM
I want to jump to a frame label, not a frame number.

And I don't want to go from Flash to HTML.

I just want to have a link, or a graphic, in Dreamweaver, that will make a flash movie within the page play, from a specific frame label.

In Dreamweavers included Flash control behavior I can go to a frame number, but not a frame label.

Any ideas?

fgf
02-10-2003, 01:17 PM
1. link to html page with flash movie embed

2. add query string as technote

3. sample string mymovie.swf?myLabel="main"

4 add frame to begining of movie with this script

if(mylabel!=void(1)){
gotoAndPlay(myLabel);
}

Although i am intrigued by why separate flash movies would'nt work.

Huh?
02-11-2003, 06:28 PM
Sorry, but I'm still dumb as a post.

I'm giving up on Dreamweavers built in Flash control because it makes no sense. (frame numbers instead of names, on mouseover instead of mousedown)

Can someone post a simple LocalConnection() example for a flash movie named "button" (acting as a button) telling a main flash movie named "branchpoint" to go to and play from frame label "superlabel"?

I did read the LocalConnection() tutorial but as is my right as a newbie, can't translate that info into frame control.

In need of rock stupid examples : )


Thank you.

Huh?
02-11-2003, 11:40 PM
It's hard to beleive no one has made a generic button-movie, controllable-movie example.


Then people could just duplicate as many buttons as they wanted, just changing the frame name to go to.

Come on experts!

Spend a few seconds throwing us newbies a bone : )

fgf
02-12-2003, 12:08 PM
What is it you can't follow about the querystring method?

You can set it in dreamweaver in the properties box where you see the file name and path

just type (nameof movie).swf?myLabel=(name of label, no quotes)

and add the following script to frame 1 of your movie

if(myLabel!=void(1)){
gotoAndPlay(myLabel);
}

fgf