Professional :: Controlling One Swf With Another
Aug 23, 2010
I have a site I am working on which has a Flash intro. The other pages of the site hold a menu that's created in Flash. For some reason my client wants the ability to go back and view the intro again, which is easily accomplished with navigateToURL. HOWEVER the intro is broken into two distinct parts and I need to target the second part, which would require something along the lines of gotoAndPlay(500); or something to that effect.
What I am having problems with is how do I target a specific frame in a completely different movie, the intro, using a button from the Flash menu within the site. I'll try to explain it a bit easier. The top button on staticMenu.swf, which is placed throughout the site (aboutus.aspx, portfolio.aspx, etc...) needs to target frame 500 of mainIntro.swf which is embedded in default.aspx.
View 1 Replies
Similar Posts:
Feb 1, 2010
I've a number of audio files and six menu items in my presentation.respond with instruction on how to stop the currently running audio when a new menu item is clicked (launching a new audio file)?
View 2 Replies
Mar 29, 2010
Is there a way to control Flash using HTML or JavaScript?
The example in question is to click on a link in a web page that launches a flash .swf and changes scene once loaded.
View 3 Replies
Dec 8, 2010
I have spent 2 1/2 days now looking for a way to make a movie of 16 pictures where the progress of the movie can be controlled by a slider. This is either not a very common use of flash, or a very advanced project to take on. I know nothing of action script, and am trying to learn how to make this happen. I have been able to do this with buttons to go forward and back a frame when pushed, but I can't get the slider component to corelate with frames.
View 2 Replies
Jan 11, 2011
I'm trynig to control an sound of a external SWF but I can't seem to get it right,here is the code i'm using to import the sound
mport flash.media.Sound;import flash.net.URLRequest;import flash.display.Sprite;import flash.media.SoundChannel;import flash.events.Event;import flash.events.MouseEvent;var _som1:Sound;var _channel1:SoundChannel;var _playing1:Boolean = false;var[code]...
View 16 Replies
Aug 25, 2011
I'm loading assets from a swc and I need to loop through every frame of the movieclip and find a certain instance so I can colorize it. Is this possible? It seems that with a swc I loose the ability to control the movieclips playback. It just plays and repeats no matter what I do.
View 4 Replies
Jan 19, 2010
First post here, I am a flash newbie. I have a fully completed player I have created using standard CS4 component, FLVPLayback, PlayButton, PauseButton, MuteButton and Seekbar. Everything works fine. I would now like to add and additional large centered play/pause button a la youTube.
I am completely stumped, I have tried duplicating the play button instance and quite a few other things (copying the actionscript from the original button that works) to the new button. I've investigated 'linkage' all to no avail, I can't get it to work.
View 9 Replies
Apr 13, 2010
There's a site I'm working on I have the alpha on the navigation buttons set to 0.2 the text appears with full alpha as I want I have a nice Old English font I want to use but when I embed the font it takes on the alpha settings of the background.I set the alpha for the text field to 1 but the text remains at 0.2.n how to set the alpha of a container without affecting the embedded text in it or to set the alpha on the embedded text independently?
View 3 Replies
Jul 7, 2010
I'm creating a project that is going to be quite text heavy. I'm putting the text into external text files (HTML formatted), so I can change to text without affecting the rest of my project.The problem is I want to have text link (i.e different colored and underlines words) in the text that takes you to other parts of the resource (similar to a hyperlink in a web site). I want the text links to move the movie to a different area of the timeline.
View 3 Replies
Apr 13, 2011
I am trying to change information on my site using cue points in my video. My video is in a flash quiz and I am trying to change my objects such as an ad or photo with these cue points. In otherwords, when a video begins, or when a cue point is reached the photo outside the video would change. I am currently using cue points to go to the next frame after the video completes, but I don't know how to make it change things outside the video.
View 2 Replies
Oct 4, 2011
I am wanting to create a button that, when pressed, will make an image move along the X axis. However, I want several other buttons to move that object along the X-axis to other locations regardless of where it is currently.
I want the object to move from one spot to a second spot, stop, and then move from that new location to either its previous spot or a new spot.
Basically having multiple buttons controlling where 1 or more image goes. I have seen banners that will scroll horizontally when you click different Menu buttons. The banner slides along the X-axis and stops to reveal the name of the new page on the banner (i.e. Home, About Us, Contact Us, etc.). When another menu button is pressed, the banner slides again to reveal the new title page name (ie. Home, etc).
View 4 Replies
Apr 4, 2011
I just joined this Adobe Forums, and I am new to action script 3.0, I am working on a couple of lessons and I would like to be able to shorten the number of frames they take up on the timeline by setting the time the transition takes in seconds in my action script, and limiting each to a single frame so that my timeline can be organized and easy to work with.SO I set the seconds to 10 seconds, and kept each on a single key frame BUT THE PROBLEM is that the transition only plays as a single frame and cuts off and then moves to the next frame and so on
[Code]...
View 1 Replies
Sep 5, 2011
I have just recently purchased Adobe Flash CS5 and have read through the entire "Classroom In A Book" for Adobe Flash CS4 Professional. However, the book never went into much detail into what I am trying to do. I'm creating a website for me and my fiance because we have formed a classical guitar and flute duo and want to exhibit some of our recordings. I have the buttons for the recordings created with their corresponding sound file. However, I cannot figure out how to stop the file when I click on another button recording; if I click all buttons, all sound files just keep playing simultaneously.
View 3 Replies
May 7, 2010
I have this site I'm doing in Flash with an embedded video.The site has background music that is loading automatically, but when the embedded movie loads, the volume on that is mixed in witht he sites music.If you mute the sites background music, it mutes the video sound as well. Make sense?How can I seperate them out or make the sites background music not load on that particular page.
View 1 Replies
Oct 25, 2010
I'm trying to control the behavior of components in my Flash Library using a .as file class, but it doesn't seem to be working.
For example, if I have a Button in my library called exampleBtn and attempt to do this in the .as file:
exampleBtn.visible = false;
... nothing happens. The button is still visible in my application when I run it.
Can anyone explain the workflow to make a Flash library component accessible in a .as class file using Flash CS5?
View 1 Replies
Mar 10, 2010
I have a movie clip on the main stage- inside that movie clip is a button- I want that button to contol a function on the main timeline-
example: Button Script
closeAll_btn.addEventListener(MouseEvent.MOUSE_DOWN, goCloseAll);
function goCloseAll(e:MouseEvent):void {
****don't know what to put here to activate "closeAllOpenMovieClips" function on main stage****
}
example: Main Stage Timeline Script
function closeAllOpenMovieClips():void { trek_mc.gotoAndStop(1); lost_arts_mc.gotoAndStop(1); rain_mc.gotoAndStop(1); vintage_mc.gotoAndStop(1);}
***don't know if I need more script on Main Stage Timeline that just "function" ***
View 5 Replies
Mar 3, 2010
Can one.swf file control the actions of another .swf file contained in the same HTML page?ample:FloatingMenu.swf would control the timeline in MainStage.swf
View 1 Replies
Jun 23, 2009
i have two MC with two swf files loading into them on my main file. what i am trying to do is have buttons in one MC move something in the my 2nd mc. i know that the _root. will work for controlling my main file but I'm don't know how to go about controlling anything inside of other movie clips.
View 5 Replies
Apr 30, 2009
I have 4 buttons in a mc (go to frames and then call up individual swfs (one, two etc)) and play within mc eg.
[Code]...
A person can start any swf by clicking a button and then change the swf by clicking another button.
Is there a way to check if a .swf is running and only work when none are running?
View 4 Replies
Feb 23, 2011
I'm mostly a point-and-click user of flash. I'm in CS5 and have built a simple flash website (with A/S1-2) having a primary swf (content.swf) and other transparent swf (home.swf, contact.swf, etc.) that load in for each menu button. When another menu button is clicked, my A/S instructs to unload all mc's from level 1 and load in the next swf in that same level.My challenge. I need to have a button in "home.swf" go to, say, "contact.swf". How can this be done?
View 3 Replies
Sep 29, 2009
I have to control one swf file with anoter. The situation is as it follows: there are two swf files in my HTML page. One of them contains a movie clip, and the other - buttons, which must control the first one - for example play this movie clip, go to a frame in this movie clip and so on. Is this possible? Maybe there is a way to connect both swf files with AS and after that use the inner instance names.
View 2 Replies
Nov 17, 2009
I have 2 swf's on one HTML page in 2 sperate cells of a table. Each one is a file-o-fax style tab menu. I want to be able to make the tabs in the unselected swf retract to their original position, when using the other swf.
Not sure what I mean? Check out [URL]
View 5 Replies
Feb 1, 2004
Is there a tut kirupa or other on controlling one swf from another.so clsic example having a loaded playback bar then loading vid or mucis and the universal playback bar can control it.Could this be done either way of loading swfs (Into a movie on the main swf or loaded by levels?)
View 3 Replies
Aug 5, 2008
I've got two Movie Clips "MC1" & "MC2" on my main timeline with buttons that give them life so if i click on "MC1" then it plays the open and stops on the "up" frame the next frame in the movie is the "out" which plays the Movie Clip out. but when "MC1" is up and you click on "MC2" i want "MC1" to play the out frame. I'm guessing at this but is this anywhere close?his is the code attached to the button inside of "MC2"
Code:
on (release) {
if ( _root.MC1 = ("up"))
[code].....
View 6 Replies
Jun 12, 2009
I have a external .flv movie, that loads as a full screen background movie on the main stage. Using the Netstream class and the instance name of 'netStream' I just want to be able to pause/play this movie when the user click on a button. The button is inside a movieclip.
I thought something like this:
on (press) {
netStream.pause("http://www.website.com/background.flv");
}
View 1 Replies
Jul 6, 2009
I'm attempting to create a website that uses externally loaded swf files into a shell animation like in Creating A Full Flash Site, only I'm trying to give each swf its own website url (ie. site.com/home, site.com/page2) while still using a single shell animation.
View 1 Replies
Aug 6, 2010
I have three buttons I have built as MC's. In each on the MC's timeline I have another MC's with instance name voted01_mc, votecd02_mc, and voted03_mc, respectively. And each of the MC Buttons have instance names Q01_btn, Q02_btn and Q03_btn.
I would like to find a way to control the "visibility" of a movie clip inside one movie clip from inside another MC. I am sure there is a way to do this such as:
Q02_btn.voted02_mc._visible = false;
Q03_btn.voted03_mc._visible = false;
if the MC I wanted to make invisible was on main timeline I would do something like:
root.voted02_mc._visible = false;
root.voted03_mc._visible = false;
SO this would be inside Button MC 01 making the MC inside 02 and 03 invisible.
View 3 Replies
Mar 19, 2011
i am trying to control 30 instances of a movie clip dynamically. the instances are as follows
ship1
ship2
ship3
[code]....
coming from php i would just set up an associative array like list array('speed'=>array(false,false,true,...),'weapon '=>array(true,false,....and so on I can not for the life of me figure out how to store this information and then use it as a variable name later.my end result should look something like this .. i just don't understand how to do this in as3 .. it seems unnecessarily convoluted.
Code:
foreach($upgrades['speed'] as $key => $val)
{
UpgradeScreen.'speed'.$key.visible = $val);
this would dynamically call
[code]....
i know the above is incorrect.I want to create this so that it is completely dynamic and the instance names can be feed in dynamically as the array or whatever is being looped.
View 9 Replies
Oct 20, 2008
I dont really know if I can put this into words correcly so I'm including enough code(AS3) to show what I mean. I can see the results from my trace statement so I know my function is ok, but I'm seeing an error once I try to make my MC disappear. Need something inplace of "this.lowerThird_mc.visible = false;". Also, I should note that this code is in a MC that is on the stage where the other MC is.
function onCuePoint(infoObject:Object):void
{
if (infoObject.name == 'CuePoint5')
{
[Code]....
View 3 Replies
Aug 19, 2009
I was wondering if I could assign seperate buttons to play, rewind, stop or pause an FLV in my timeline from a seperate area of the page like a remote control as opposed to using a skin in which the buttons would have to sit under the flv. Do I have to use an events listener? Does anybody have an example of the action script I could use. I am using version 2.0 PS. The flv is a progressive download.
View 1 Replies