Solved

Integrate Flash CS3 and Director CS3

Posted on 2008-06-23
6
593 Views
Last Modified: 2012-05-05
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 !
0
Comment
Question by:sirquykhoa
  • 2
  • 2
  • 2
6 Comments
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 21853111
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")');
0
 

Author Comment

by:sirquykhoa
ID: 21853183
I already try it, but i still can't go to the markerOne marker
0
 
LVL 7

Accepted Solution

by:
Chris-Chambers earned 500 total points
ID: 21853396
Hi,

Try putting this actionscript on your Flash button:

getURL("lingo:_goMarker()");

and in a MOVIE script in Director:

on _goMarker()
  go ("markerName")
end

(change markerName to the name of your marker)

Hope this helps,

Chris.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:sirquykhoa
ID: 21853520
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")");

0
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 21853640
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")');
0
 
LVL 7

Expert Comment

by:Chris-Chambers
ID: 21854357
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.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now