Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-01-2004, 03:38 PM   #1
thebikereview
Registered User
 
Join Date: Sep 2004
Posts: 1
Default attachmovie plus more

Hi all, MY first post here so I hope I make myself clear.

I am working on this flash thing and have a point where I open up another movie with this button:

on (release) {
attachMovie("doit", "doit2", 10);
}
on (press) {
// Pause Button
if (pause != true) {
playing = false;
paused = true;
stopped = false;
myConditionText = "Paused";
myMusicPosition = _root.myMusic.position/1000;
_root.myMusic.stop("green");
}
}


It also pauses the sound file I have playing in the background.

Now my question

The new movie is at at a "stop" point. How do I get another button to appear when they click this button? I've done a "realease" and a "press" on one button, can i do more?

I basically need a big un-pause button to appear to replay the sound.

Thanks
thebikereview is offline   Reply With Quote
Old 09-01-2004, 05:05 PM   #2
Xeef
Off-Line
 
Xeef's Avatar
 
Join Date: Aug 2004
Location: Ibiza/Spain language :Hungarian/German/ abit English
Posts: 6,539
Default

to make new button :
import mx.controls.Button;
createClassObject(Button, "button2", 5, {label:"Test Button"});
"can i do more?" Hmm do you mean on(press){blabla} on(press){bla2bla2)} ?
think so
if you asking what other events you can use look out for the class description in the help
and you also shoud get the HITNS wen you tipe "on("
Xeef is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:02 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.