Actionscript 3.0 :: Scrubber Bar To Control External SWF?
Feb 3, 2010
how to build a scrubber bar to control an external SWF. I have a template built that will load external SWF files into a content area. I already built a play/pause button into it but cannot figure out how to make it so the progress bar moves and is scrubbable. I know it has something to do with the total frames/length of the loaded SWF, the width of the progress bar and making the progress bar's tab draggable/constrained but not sure how to put it all together to make it work. I've tried a few things but none of them worked (I'd attach the code I tried, but I trashed it and reverted back to what worked last time).
View 1 Replies
Similar Posts:
Jan 20, 2009
I am making a player that adds an advertisement before a video but don't want the user to be able to skip though the ad. I am using the progress component and an FLV Playback component for my player. I had tried to just hide the progress bar but it looks unbalanced. If anyone has an idea on how to make it so a user can not fast forward though the ad by dragging the scrubber that would be great.
View 2 Replies
Nov 17, 2010
as3 is new for me, but i would like to write a script using loader to load an external swf, and control the external swf. But I find I can't control the swf, because there are no fixed instance name. here is my script.
[Code]...
View 3 Replies
Jun 20, 2011
I usually wouldn't post on here as I like to find the answer myself, but after looking through Google literally all day I'm at the end of my tether, so I'm going to impose on you all and ask. This is the situation;
[Code]...
View 7 Replies
Mar 21, 2010
Is it possible to load an external SWF and control is with play/pause buttons, seekbar, and volume bar?Basically it would be something like this:controller.swf - this would load the external swf file and control itmovie.swf - this is the actual content that I'd like to control
View 1 Replies
Jul 3, 2009
In SWF 1, I have a movie clip.
The movie clip in SWF 1 loads in an external SWF 2 file.
Is it possible for me to have something (like a button) inside the external SWF 2 with the ability to control something (like a movie clip) in SWF 1?
View 3 Replies
Aug 31, 2009
I am trying to learn how to import external swf to my projects to make them more lightweight
I have succeeded in importing an external swf to a specific movie clip in the scene (Using actions in the timeline, not an as file). However, I cannot seem to get control over the loaded swf using gotoAndPlay or gotoAndStop.[code]...
View 3 Replies
Jun 22, 2006
how would i go about doing this... on the main timeline when the playhead gets to 50 it tells an external swf to gotoAndPlay ("framelabel");
View 14 Replies
Dec 22, 2009
I am studying yet. so I am using Macromedia Flash 8. I've created a swf file as (main project.swf) and Loaded a external swf using loader component. the file is main_slide. Now I want send a command or data to project file, from loaded main_slide.
View 1 Replies
Nov 10, 2009
I want to create the following: Suppose I have 2 swfs open in an HTML doc. The first sfw has 3 buttons: red, green, blue. When I hover over these buttons, I want the words "red", "green", "blue" to appear respectively in the second swf.
I found out that I can use "local connection" to to this, but it's too advanced for me.
View 1 Replies
Nov 17, 2009
[code]...
which controls a component instance, i want to use this code in a button on another swf file, how can i do this?, is posible to use a statement, i do not understand the concept of target path yet.
View 6 Replies
May 9, 2010
ive figured out timeline transitions, and timeline based preloaders......so now i have a problem.....i have my MAIN swf file that i load all my pages in externally ( external swf files )....when i click a button ( for example ) my "about us" button - the transition begins....i have a keyframe with the following code on frame 40 ( inside a movie clip named "pages" in my main SWF where all the buttons/transitions are ):
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;
[code].....
View 9 Replies
Oct 31, 2009
I'm creating a gallery for my swf files. Now I can open the external swf files in the gallery. But a lot of my swffiles use stage.stagewidth for dimensions, so they get streched across my screen.
Is there any way i can control the size? Make a virtual stage or something and load them into there? Any workarounds cause I really dont have time to rewrite all my swf's
View 2 Replies
Nov 11, 2010
I am trying to control external swf sound and I have created volume slider. But when I am running the code I am getting following error..
ArgumentError: Error #2068: Invalid sound.
at flash.media::Sound/play()
at volumeControl_fla::MainTimeline/volumeControl_fla::frame1()
[Code]....
i.e. when I load theexternal swf..how to catch the sound embedded in that swf
View 5 Replies
Feb 7, 2011
Can i control the animation(i.e. play/stop) of an external swf that was created in macromedia flash professional 9 or older version using actionscipt 3.
I have earlier loaded swf files created in flash CS3 and controlled their animation in the parent swf by calling the play() and stop() methods.
But when i use the same code in case the loaded content was created in flash professional 9 or earlier version, the play() and stop() methods dont work.
View 1 Replies
Apr 26, 2010
I will try to explain this as easily as i can.
I have a holder swf called holder.swf
Within this i am loading in external swf files. Each externally loaded swf is put into each frame of the loader page.
I have created a string to navigate through the timeline when either next_btn or prev_btn is pressed.
The probelm im having is that in one swf file there are two buttons which determin which way the story goes (eg. with pressing yes_btn goes to section2 with no_btn go to section2a)
How do i communicate from this externally loaded swf to affect the main timeline of my holder swf.
View 3 Replies
Mar 25, 2004
I'm currently building a demo tour in flash, I created a main swf that has an intro and navigation. Each link on the main.swf calls a loadMovie and loads each section with external swf's in an empty movie clip. What I'd like to add is 2 buttons, which are next and back, giving the user the flexibility of going through each section, using these 2 buttons. Its just that since each section is an external swf file, I'm not sure how to script the 2 back and next buttons..
View 4 Replies
Jul 21, 2004
I need a function to load and play external swf�s.
I need it to load and play intro.swf into movieclip clip1 , when it is finished load and play about.swf into movieclip clip 2. when this swf has finished load and play outro.swf into clip3. the swfs contains proggressive flv. The function should be as dynamic as possible, cause i need it to control other videoclips in swfs as well.
View 1 Replies
Jul 24, 2004
I have a dynamic txt frame in my main swf.When buttons are selected,text from an external txt file loads into the text frame.This all works fine.What I would like to do is be able to load an external swf into an empty MC and then be able to dictate what the buttons on the external swf do (such as load text).The last line of the below AS is my attempt to path to a button that is on an external swf
//_root.1.noiseaudio.easing.theText.sad.onPress = function () {
loadTxt(path+"sad")
}//
but that didn't work.start here. This is on a frame on the _root swf.
System.useCodepage = true
path = "text/";
loadTxt=function(path){[code]...........
View 3 Replies
Oct 19, 2004
I have a loadMovie function in my timeline that is loading a external swf file. I want a button to control the tim line of the swf file that is loading externally.I know this is wrong, but kind show what i want to do:
Code:
loadMovie("g2.swf", empty_mc)
//button
[code].....
View 1 Replies
Jun 1, 2007
i have loaded so many swf files to the Movie clips. this works fine. But when i am trying to access those dynamic swf, i am not able to do that.
Like i wanna control the external swf from the main swf(_root) swf. which i am not able to that.
what i did is. i made an array where i've added all the swf Movie clip.
from that array i am trying to control the external swf files.
command are like this array
Code:
pageClips = new Array();
pageClips[1] = pages.p1.page.pf.ph.pic;
pageClips[2] = pages.flip.p2.page.pf.ph.pic;
[Code].....
View 14 Replies
Nov 15, 2007
I'm a noob (someone has to be) and i've got a bit of a prob, I don't use Flash all the time so my grasp of AS aint so hot sorry, here it is: I have a mainmovie.swf and am loading in external.swf into a blank movieclip with loadmovie, on the external.swf I have this:
[Code]...
which works fine. My question is, how could I get this to work the same in the main.swf? Also please note that the main.swf is stopped at this point and the external.swf has a number of different actions on different frames, so I am looking for someway to maintain the external.swf's actions and somehow make them just work through the toplevel if you know what I mean??? Sorry if thats a bit confusing!!!
View 2 Replies
Jan 15, 2008
I have one PARENT swf and one EXTERNAL swf. on PARENT i have one movie clip called PARENT_MC. on EXTERNAL swf i have one button with the following action:
myButton.onRelease = function() {
_level0.PARENT_MC._visible=0;
};
all i need to do is control a movie clip on parent swf from an external swf file.
View 1 Replies
Aug 6, 2009
I need to contro the timeline of an external swf that i'm loading in a movieclip that is in the main timeline.I have a button inside a MC that is on the Main swf that button has to say to the external swf something like "gotoAndStop(5)" i tried a lot of thinks but nothing works the last think i tried was this.[code]
View 2 Replies
May 1, 2011
I can't understand what i did wrong.i loaded an external SWF, and i want to control it's current frames.
View 2 Replies
Mar 25, 2004
I'm currently building a demo tour in flash, I createda main swf that has an intro and navigation. Eachlink on the main.swf calls a loadMovie and loads eachsection with external swf's in an empty movie clip.What I'd like to add is 2 buttons, which are next andback, giving the user the flexibility of going througheach section, using these 2 buttons. Its just thatsince each section is an external swf file,
View 4 Replies
Jul 21, 2004
I need a function to load and play external swf's.I need it to load and play intro.swf into movieclip clip1 , when it is finished load and play about.swf into movieclip clip 2. when this swf has finished load and play outro.swf into clip3. the swfs contains proggressive flv. The function should be as dynamic as possible, cause i need it to control other videoclips in swfs as well.
View 1 Replies
Oct 19, 2004
I have a loadMovie function in my timeline that is loading a external swf file. I want a button to control the tim line of the swf file that is loading externally. I know this is wrong, but kind show what i want to do:
[Code]....
View 1 Replies
Apr 4, 2005
i am trying to control sound on an external swf.
the sounds that i have is on a swf file that has my "container" MC that loads up all of my external swfs.
the sound controller is on my external swfs.
View 1 Replies
Dec 29, 2008
I am planning to build a web page where external buttons using javascript commands like this <a onClick="javascript:LoadSWF( 1 ) ...>< img ... > and their code would instruct a SWF parent object ( embedded in the html code ) to load the desired interactive SWF child ( and replace a previous SWF child ) within it, where the user then could play with it.
My doubt however is, can a SWF embedded object receive external instructions from javascript code ? If so, how ?
View 7 Replies