Solved

Integrate Flash CS3 and Director CS3

Posted on 2008-06-23
6
598 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The advancements in today's technology are unparalleled. Much of the technology that we have could not have been imagined twenty years ago. One of the latest additions to the list of technological advances is virtual reality. Virtual reality has an …
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …

615 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