Solved

Integrate Flash CS3 and Director CS3

Posted on 2008-06-23
6
595 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
conference a person outside 12 100
Interference in wifi 13 119
Virtual CD burner 19 113
File conversion question 5 105
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

778 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