Link Two Separate Flash Files?
Apr 8, 2010If it is possible to link two separate flash files. I am trying to get one flash file to play another file.
View 4 RepliesIf it is possible to link two separate flash files. I am trying to get one flash file to play another file.
View 4 RepliesI've been working on this problem for months, can'f find a viable solution. I can get the main movieclips of the files to p with a mouseover action, but I really need three separate swf files to sync upon load.
View 1 RepliesI have a 5 menu system in my Flash file, and to keep size down each element of the menu is a separate Flash file. So basically if "About" is pressed the about file loads onto the stage... The problem I am having is, when a menu item is pressed, let's say "About", I want whatever file has been loaded previously, I want it to fade out and then load the selected file... How could I do this? Once the menu is pressed I could easily make an as to fade the current movie out, but how would the file know what to load as the next item?
View 1 RepliesIs it possible for (1)php script to write to seperate text files? Clarification; Say something like this partial code,
[Code]....
What I'm attempting to do is "ID" post to "schedule.txt" and "STime" post to "time.txt" is this possible or do I need to write a php script for each text file? Or am I way off base here? Now I have gotten "ID" to post to "schedule.txt" but not the other.
we are a team implementing a game together , there 4 levels in the game. Each of us did our level of the game on a flash file. Now we need to combine the separate flash files together. Pls advise how we can combine the separate files together.
View 4 Repliesi'm kind of beginner/intermediate level (more so beginner i'd say) at AS3, and i'm trying to make a tower defence style game... ATM i'm using internal code, but would it be better to switch to external?Anyway, the problem is, at the moment i'm not sure how to impelment a way of saying, if an enemy spawn hit tests "icearea" then just trace ("in range"); but i get errors no matter where i insert the equivlent code...[code]
View 3 RepliesI'm fairly new to flash so please excuse my lack of knowledge...using AS3 basically I had a situation arranged where when a button was clicked and flash would then display a certain image by jumping to a label on the timeline, and by clicking a different button a different image would be shown. this was working pretty well but for layout reasons I had to split these buttons and the timeline that they relate to up into separate movie clips. obviously the buttons dont do anything now, but what i'm hoping to find out is how I can link these items back up despite them being in separate movie clips. is this possible? i'm just wanting them to do the same thing they did when they were both in the same movieclip.
View 10 RepliesVery new to Flash using CS4, leopard. I made an animation in Flash not using script for an introduction page. I made the sections as another file, following a CS4 tutorial, using actionscript 3 for the buttons etc. How do I stitch these together so that the enter button on the non-script portion accesses the first page of the actionscript file? Also, what is the advantage to remaking the non-script file into action script. The swf file on the non-script file is 376 kb and the ationscript file swf is 404kb.
View 7 RepliesI have got two flash files now, one called intro.swf and the other called egx.swf. I have a button on the intro file with an instance name of b1, which I want to open up the other file (the egx.swf file). I have tried several codes, but when I get it working, it loads up the homepage, but keeps the text and the button on the intro file up, which I need to get off. Basically I need to link the intro file and the egx file together through the button, and then need to get rid of the intro file from the stage.
View 1 RepliesI am making a Flash portfolio. So far so good except for 1 issue that I've run up against. I have linked my separate .swf files together using the following script:[code]The files are linking, but the problem is that the files are opening on top of each other. In other words, the previous .swf file does not disappear as the new .swf file opens. It opens on top of the last one so the result is a messy layered mess. I thought that keeping the level at 2 would remedy this but no success.
View 14 Repliesnew in using the adobe flash.. i have a problem to link my PDF files to my adobe flash slide presentation.
View 3 RepliesI need to load separate SWF files depending on different flash buttons being pressed. The problem is I see a flicker inbetween SWF's being played. I think the flicker is where it goes back one frame - but I do not know how to solve this.
The first bike should scroll along to the left then stop, buttons should then appear that allow you to load the external/separate SWF files.
there a more official name for a 'flash container' ? because very little results come up when i try and search for answers!can you load a container within a container, i'm thinking no but would like to clear that up also! for example i've followed this tutorial htm however when loaded up in a container nothing appears in the mouse over effect.. i've also tried loading jpegs into a swf via an xml which again works fine until i load it up within a container and nothing appears..
View 21 Replies[post deleted]
View 9 Repliesand what i would like yo know is how / if i can communicate between two separate .swf files.. what i want to do is this : i have a soundplayer.. and when i go to a defrente html page (that changes only in the iframe , menu is in another iframe) i want the sound player to play another song! so i need somewhere to put a variable and let the sounplayer read that variable so he knows what song he needs to play
View 4 RepliesI have a menu.exe file that I use to launch 3 separate .exe files (housed in a " Fscommand" folder)
When I publish for Windows and Mac projector..the windows version works great. But when I test it on the Mac......the call to action doesn't work.
[Code]...
Can Flash Player files contain link to internet URL? Please explain.
View 5 RepliesI have a combo box that is loading in separate .swf files when an item is selected. In the file that I'm loading in, there is a TileList component and a media player. Before I added in those items, it was loading in, but now, this is the error that I get:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.containers::BaseScrollPane/drawBackground() at fl.controls::TileList/draw() at fl.core::UIComponent/callLaterDispatcher()
I have movie file named master.swf (main Movie)it loads main_banner.swfmain_banner.swf has few buttons. when you click on one master.swf go to frame and loads product.swf (till this part eavery thing works fine)Now this part is not workingwhen I click on a button in main_banner.swf I want to assign a variable with another movieclip name Eg: _global.pro = "products/perma_core_1.swf";when product.swf loads it should plays above said swf file (perma_core_1.swf) by using this action pro_ct.loadMovie(_global.product);
View 1 RepliesIn flash cs5 can you have AS3 classes in separate files like in flashbuilder. I just want to make games with just actionscript and no flex/authorscript
View 9 RepliesI'm looking for some help with the following script:
Main Class:
Code:
package {
// Flash Classes
import flash.display.MovieClip;
import flash.events.Event;
[code]....
Now, I'd like to move the blue color coded script to the separate package. When I do that, I've got many reference errors. how the code should look like, when it's in separate package, with all the references to variables that work? And how to call this function from Main class?
- in the parent.fla i created a dynamic txt box and var String named 'txt', this initialises the dynamic text box content to say "parent value".
- in the child.fla i tried to assign and send a new string value i.e. "child value" to 'var txt' which in found within parent.fla. At this point if everything was to work fine the dynamic txt box in parent.fla should output "child value".
This is doable in almost every language ive coded in. I would like to place a function in a separate .as file, as to not clutter up my main .as file. Ive already got about 15 classes in separate files and I know there must be some way to do this and its got to be pretty obvious.
View 7 Repliesa code for creating a simple link between files on my computer using flash cs4? Im trying to link sperate swf files within the folder. Im trying to make a cd and i have 5 sperate swf files that need to link to each other and back to the home page which is also a seperate swf file.
View 4 RepliesWe use FMS 3.5 for streaming IPTV. We have a number of channels and currently our mp4 files are all held in the Media subdirectory, below vod
We want to divide them into separate channels for the the stations with their own subdirectories for organised filing but cannot see any way of doing this and then referencing the correct directory with the rtmp: via XML.
In an attempt to organize my code, I'm trying to split up my (lengthy) main controller class into separate files, but my new files must still have access to the variables and functions of the main controller class.I'm trying to cut and paste code from my controller class into a new class/file, allowing the controller class to call the new class, and allowing the new class to have access to the controller class's properties and function.Assuming I'm not totally bludgeoning appropriate design patterns, below is my unsuccessful attempt at accomplishing this task:
package
{
import flash.display.Sprite;
import flash.events.Event;
[code]....
In my project I used main document file, which could load multiple nested animations as a separate files. In the main document I had a global function, for example:
_global.onAnimationEnd(mc:MovieClip){...}
and in animations (could be nested) I just called it like:
onAnimationEnd(this);
on (release) {
_parent._parent.buttonClick("movie name", _parent._name);
}
For the above script, am trying to load a swf file to load into an main movie file. This is for a flash website am working on, and i wanted to know if the above .Since having all the pages (6 pages) in one flash file, it would take long time to load, so am planning to have each of the 6 pages in an separate swf file and load these into main swf file, on click of a button, Also there needs to be a loading bar for each page.
I've created a small application that links various Sound Clips to corresponding Sound variables, and the individual start and stop commands work fine. However, when I try altering the volume, the controls affect all the sounds in the movie. I'd like to refrain from creating separate SWF files to represent each sound, but I will if I have to.
View 1 RepliesHow can I link .swf files together? I'm doing a flash mini game and I have 5 levels with different functions, difficulty etc (so 5 flash files). How can I link these levels together to be like a proper video game with exit - next - restart button, getting the bonus points at each level.
View 1 Replies