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.
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;
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
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]...
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.
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.
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.
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;
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
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.
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).
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.
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..
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.
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.
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:
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!!!
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:
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]
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,
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.
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:
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 ?
I have an external CSS file which defines the style for the Button tag.Button {fontSize 11; blah...}I'm trying to override this style for the buttons of a ToggleButtonBar:<mx:ToggleButtonBar dataProvider="{pm.portalNavigation}" fontSize="16" />Unfortunately, this doesn't seem to work. The fontSize stays at 11. How can I override the external CSS to resize the buttons in my ButtonBar?