Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Listener+gotoAndPlay

Listener+gotoAndPlay

2004-03-10       - By IsK

 Back
Reply:     1     2     3     4     5     6     7     8     9  

Andreas,
Thanks for responding.

> When do you want to open a new Browser window?

Okay I have a blank mc on the stage. This mc has 6 frames after moving
through each frame using the listener on the 6th frame I want it to open the
browser.

Now it could either be the frame it entered that triggers or the last
listener either way I can't seem to make it do what I want.

> If you want to let it happen when the playhead reaches the last frame of a
> timeline you would put
>
> getURL("http://www.google.com","_blank");

Hmmm. Doing this created the same problem of 12 browsers per second opening.

I went off on a tangent doing it this way and now I can't get my head around
it.

Can you point me in the right direction?

IsK

-- -- Original Message -- --
From: "Andreas Weber" <webweber@(protected)>
To: <flashnewbie@(protected)>
Sent: Wednesday, March 10, 2004 9:37 PM
Subject: RE: [Flashnewbie] Listener+gotoAndPlay


> When do you want to open a new Browser window?
>
> The way you have it you do it in a onEnterFrame handler. If the framerate
of
> the movie is 25 fps the code will execute 25 times per second as long as
the
> clip 'this' is referring to is on stage.
>
> If you want it to happen when the user clicks a button you would do
> something like
>
> myButton_mc.onRelease = function(){
> getURL("http://www.google.com","_blank");
> }
>
> If you want to let it happen when the playhead reaches the last frame of a
> timeline you would put
>
> getURL("http://www.google.com","_blank");
>
> on the last frame of this timeline .
>
> It all depends on which event should trigger the action.
>
>
> -- ---- ------
> Andreas Weber
> motiondraw.com


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Supported by Fig Leaf Software
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
Lower Prices for Certified Training! Check out new lower prices for
Certified Macromedia Training from Fig Leaf Software. Expand your
skill set with courses in ColdFusion, Flash, Rich Internet
Applications and .NET in the new year.  Fig Leaf Software provides
the highest caliber instruction at our training centers in Washington  
D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at
your location.

Get the details at http://training.figleaf.com/
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected)
For additional commands, e-mail: flashnewbie-help@(protected)