Professional :: Controlling One .swf File With A Different .swf File?
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
Similar Posts:
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
May 10, 2002
I have one window for my navigation(N). The links open in another window(A)How can I tell window (A) to start playing the .swf on frame 2, from window (N)?
View 5 Replies
Jan 23, 2005
I load a movieclip via:
on(release){
loadMovieNum("detection.swf", 1);
}
So I load it in my current timeline on level 1. Now in the detection.swf is a button that has to controll the first movie. (that loaded the swf)
[Code]...
View 1 Replies
Sep 23, 2010
I have created a booklet in InDesign cs4 that includes page turn transitions. I have saved it as a SWF file and it works perfectly on my PC with the ability to sweep through the page turns. My issue is now, what type of file can I export the SWF file to so that I can view it on an iPad and am still able to have the page curls?
View 3 Replies
Jul 22, 2011
I have a problem with SharedObject. I created SharedObject using AS2.0 it's working fine.... my question is can it possible to store the variable values in an .txt file where the flash file is saved... basically the SharedObject will store the vallues in localdrive with file extention. not only using SharedObject if any other way to store the vaules in .txt file will be helpfull for me... my requirement is to store the the position of the swf file and when the time it reopen, it should start from previous position.
View 2 Replies
Mar 7, 2012
I changed a layer entry of my Flash file by moving around various elements within the layer. I sitll have the original file, too. I'd like to put it back exactly like it was in the original file. How do I replace the changed sprite element from the new file with the original from the old file?
View 5 Replies
Apr 6, 2012
When I put dreamweaver file in a zip file for viewing on another computer, images and format are not the same when viewing in dreaweaver.
View 1 Replies
May 22, 2010
Is it possible to publish my .fla file to .exe without the File menu and the default Flash icon and Flash tile appearing.
View 1 Replies
Dec 28, 2011
For some reason I am unable to create a FLV file from a MP4 file with high bitrate. I even created a custom setting and specified bitrate as 2500 but the output file is always around 775.
View 9 Replies
Aug 17, 2010
i want to know how i can put a flash file inside a flash wbsite. i have found a tutorial [URL] that says something like that but in this tutorial if i understand correctly it creates a new flash project and add another swf inside. i have my website created and i just want to add video gallery, image gallery etc that are already swf. how i can do that?
View 1 Replies
Apr 15, 2011
When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.
View 1 Replies
Jun 1, 2011
I have been working on a project for a week and suddenly it crashed during save (nothing strange had been imported or anything i just saved after moving content around) and now i cant open my file again. I contacted adobe support who claim that since the problem is related to the file this is not their problem, what a load of HORSE ****, who should i contact about this dell if its an FLA FILE!? I have already renamed the file to flash.zip then opened with WinRar and repaired as a new zip file to a different folder (which removes the corrupt content which is document something.xml) then i tried renaming this folder back to flash.fla however the file still does not open.
View 4 Replies
Jan 9, 2007
How to control the scalability of certain objects in a flash file. I'm trying to create a full page flash site where the scale of the certain objects stays the same, but a background image scales to how large a user's screen is. A great example of this is at "[URL]."
View 7 Replies
Jan 8, 2010
Another question regarding externally loaded .swf's!
In my externally loaded swf.s are a pause and play button which work perfectly using only:
on(release){yanm.play();}
(yanm being the name of my movie file containing my movie!!) and obviosuly the stop is with a stop!
Now I want to add a 'Mute' button so that the user can turn off the audio. What script would I use for this?
I also want to use a 'Rewind' or 'Restart' button to return to the beginning of my movie and begin playback again. What script would be used instead of .play?
View 3 Replies
Jan 24, 2010
If I import pgming from one AS into an overall one like this:
import asFiles.slideshow.*;
public var slideshowAS:Slideshow;
//then later:
[code]...
how do I control one object that is within that child .as file from the parent .as file?so for instance if in the slideshowAS there is an item called "nextBtn" and I want to be able to do something with it in the parent main menu .as file.
View 15 Replies
Jul 21, 2010
I have a loaded swf file that is a short animated intro I am using he addChild method. I wold like it to simply move the timeline to a label "menu" after it has played. This is the cde on my main Timeline:
stop();import flash.display.*;import flash.events.Event;import flash.media.SoundMixer;
var Xpos:Number=0;
[Code]....
View 7 Replies
Jan 23, 2005
I load a movieclip via:
on(release){
loadMovieNum("detection.swf", 1);
}
So I load it in my current timeline on level 1. Now in the detection.swf is a button that has to control the first movie. (that loaded the swf)
I tried:
on(release){
_level0_root.nextScene();
}
Which did not work. Referencing via _root.nextScene() also, because the loaded swf has its own _root. So how can I control the first movie out of the loaded one?
View 1 Replies
Jan 24, 2010
If I import pgming from one AS into an overall one like this:
[Code]...
how do I control one object that is within that child .as file from the parent .as file? so for instance if in the slideshowAS there is an item called "nextBtn" and I want to be able to do something with it in the parent main menu .as file. If you could even direct me on what to search under I that would be very helpful! I tried googling it but did not know how to search for it.
View 2 Replies
Oct 27, 2010
I have a flash file using xml to link to html pages all within SharePoint. When I click on a link from inside flash, it opens up a new browser window with the html content.Is there a way to open the html content in the same browser that the flash file is in?
View 6 Replies
Apr 18, 2011
I'm trying to find out if it's possible to use a .ICO file instead of a .PNG or .JPEG file in my Flash project. Is this even possible? The reason I'm asking is that the project I'm putting together uses ActionScript 2.0 code (not sure if that makes a difference or not) and displays a bunch of images for a bunch of different applications. So instead of creating a .PNG file for each application, since I've already got .ICO files on hand, I'd rather use those (saving me a ton of time).
View 4 Replies
Jul 15, 2011
is it possible to hide your .swf file so that it can not be taken.Is there a way to protect it?
View 2 Replies
Aug 9, 2011
I have a task to upgrade a web site. I have a map of ND with some cities on it. I needed to add a new city to the SWF which did not seem to be hard (asuming I did it correct). The action on all the buttons for each city look like this except the name after the # is the city selected.
on (release){ getURL("locations_info.html#minot", "location_content");}
In HTML code snip that controls this looked like this :
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
[Code]....
View 1 Replies
Oct 11, 2011
trying to work out why Flash is publishing an unexpected swz file with one recent project. From what I can tell this is an optional run-time library used to reduce file size. My problem is that it is causing all sorts of text formatting grief when I try to import my swf into Adobe Captivate. how I can publish a swf without generating a swz? Why on earth has Flash opted to generate this unexpected file in the first place (assuming user error, but can't work out what I've done)?
View 3 Replies
Aug 4, 2010
I've got a project that has an FLV with cue points controlling when graphics appear in the swf file. The graphics are being loaded into empty movie clips via AS on the stage (everything is being loaded and unloaded into the first frame of the main stage). What the client wants is a pause button that will pause/play both the FLV and graphics being loaded in the swf.
View 1 Replies
Mar 11, 2010
I have a movie where on the main timeline stage I have placed a movie clip (Clip1) and a dynamic text field. I have a .txt document that contains a variable that will always be a number (Var1).
Currently, the dynamic text field reads Var1 and displays that number. This is great, but I want Var1 to be used in 2 places:
How can I get Clip1 to also read Var1 and, based on the number that is Var1, play a certain frame of Clip1?
I'd like it to go like this: If Var1 is <1000 then play frame1, If Var1 is =1000 and <2000 then play frame2, If Var1 is =2000 and <3000 then play frame3, and so on...
View 17 Replies
Dec 4, 2010
I am trying to create a global function to reuse repetitively. It worked until I moved the function to the external .as file. The problem is with MovieClip(root) and MovieClip(parent). They do not work and cause errors.
[Code]...
View 0 Replies
Oct 23, 2006
how to control the visibility of certain buttons from an external file (like scroll bars). I have been able to do this with button function using a loaded variable and if statements on button release, but I have been unable to replicate this with visibility. I really need the button to be visible or not from the initial load of the .swf file. Any suggestions? I currently have to open flash and change the action script within the flash file and export a new .swf, and I want to be able to do it by changing a .txt file.
View 1 Replies
Jun 20, 2009
I have an FLA file with a movieclip on the stage which is labelled "blok", and a button on the stage labelled "button1". This FLA is attached to a file called main.as through the document class.
In the same folder where I am storing main.as I have a second .as file called secondFile.as. I have imported this class into main.as using: import com.tests.secondFile;
and in the constructor of main.as I have put:
loadB=new secondFile(button1);
addChild(loadB);
Within secondFile.as my constructor looks like this:
public function secondFile(button1:SimpleButton){
button1=button1;
button1.addEventListener(MouseEvent.MOUSE_DOWN, buttonPushed);
}
[Code]....
Basically I'm trying to get the MovieClip labelled "blok" to move by 50 pixels on the stage when button1 is pressed, but when I test my FLA I get the following error:
1119: Access of possibly undefined property blok through a reference with static type flash.displayisplayObjectContainer.
I would have thought that this.parent.blok would control my movieclip labelled blok on the stage of my FLA from within secondFile.as since secondFile.as is a child of main.as which is the document class of my FLA, but obviously this is not right.
how to access labelled items on the stage from within a child object.
View 6 Replies
Aug 1, 2005
I have an externally loaded .txt file, which has its font style set by the dynamic text object I created. But I was wondering if its possible to control the font style from within the .txt file? I've tried setting the dynamic text object to render as HTML and added some HTML code in the .txt file, but that doesn't work.
View 2 Replies