Link to home
Start Free TrialLog in
Avatar of sirquykhoa
sirquykhoa

asked on

Integrate Flash CS3 and Director CS3

Hi,

I make a flash movie from Adobe Flash CS3, then I import it into Director. In the flash movie, there some button. Now I want do this action : when I click on the button (in the flash) it will go to the special marker (in the Director), but i don't know how to do it.

Somebody can't help me solve this problem ?

Thank you so much !
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

If you have marker with name 'markerOne' in Director,

then following actionscript code in flash will move do the work:

getURL('event:_movie.go("markerOne")');
Avatar of sirquykhoa
sirquykhoa

ASKER

I already try it, but i still can't go to the markerOne marker
ASKER CERTIFIED SOLUTION
Avatar of Chris-Chambers
Chris-Chambers
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
to Chris-Chambers:

Thank you, It worked. But I don't understand why it don't work if i put directly lingo code in the flash instead call a function like your way

getURL("lingo: go ("markerName")");

my provide code also works if you use it as I provided.
I found that your following code syntax is not correct

// incorrect, can't use double quotes inside double quotes asyou have used..
getURL("lingo: go ("markerName")");

Just copy paste my code and check ifit works:

getURL('event:_movie.go("markerOne")');

or

getURL('go("markerOne")');
Hi aneeshchopra,

Both of your solutions don't work. The best 2 ways to do this are using my method with a function in a Director movie script, or like this in your actionscript:

getURL('lingo:go("markerOne")');

Thanks,

Chris.