Solved

Integrate Flash CS3 and Director CS3

Posted on 2008-06-23
6
594 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Youtube.com 3 116
2012 Domain With 350 Machines All Running Windows 7 7 126
Slingplayer not displaying video from Slingbox 1 60
Music CD's vs. CD's 2 30
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

863 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

21 Experts available now in Live!

Get 1:1 Help Now