IDE :: Loading Swfs Into Another From Home Menu?

Feb 2, 2010

I have several swfs that now need to be brought together from one navigation menu/home screen that I need to create. This was easily done in as2 (replacing one swf with another when loading). Is this at all possible with as3? and if so what's the best approach?further info:the navigation screen will be an arial shot of a cartoon village, when you click on a house it should open up the swf activities than i've already created.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Flash Xml Menu And Loading External Swfs?

Jul 29, 2011

I found some handy script on xml flash menu, in which I've modified the code to how I would like everything to look and behave. Only, because I am new to this business of not having anything on the timeline, I do not know how to set the menu buttons as links to external swfs. I would like the buttons (menu items) to load an external swf into a holder on click. Then I would like the menu to collapse as it does when another main menu is clicked.

View 2 Replies

ActionScript 3.0 :: Doors That Open Up To A Home Page Menu?

Mar 5, 2011

I'm having trouble creating code logic for 2 doors that open up to a business and personal section. I want them to be coded for all these scenarios:

1. when user's mouse is over the door (or section), the door opens up. the other stays put where it is. (done)

2. when the user exits the zone, the door closes shut (but slower than the opening)

3. if the user's mouse exits and reenters very quickly, i need to detect that somehow and rewind the easing function? example

if (user left and reentered in 2 sec){
trace(personalDoor.rewind());
}

what kind of method or class gives access to a rewind function.

[URL] put an http: before that and the whole link will work.

View 3 Replies

ActionScript 2.0 :: Create A Dropdown Menu From The Top Of Home Page For Navigation?

Apr 30, 2009

I am trying to create a dropdown menu from the top of my home page for navigation similar to this site.I'm just having a little difficulty on the correct process.Not sure if I make a movie clip for the bar to drop down when rolled over and how to place the text buttons so they appear when the bar drops down.

View 1 Replies

Professional :: Click Onto Another Menu Tab And Then Switch Back To Home The Swf Has Dissapeared

May 11, 2010

I've created an swf file in After Effects and uploaded it to my website. It works fine, HOWEVER. when you click onto another menu tab and then switch back to Home the swf has dissapeared.To see for yourself look at [URL]

View 9 Replies

ActionScript 3.0 :: Handle Back, Menu And Home Button On Android?

Aug 15, 2011

I'm developing an Adobe Air 2.6 app for android tablets (using ActionScript 3.0 and Flash Builder 4.5).I want to know how can I handle user back key press.

View 1 Replies

ActionScript 3.0 :: Auto Return To Menu/home At End Of Audio Or Video?

Nov 18, 2009

Basically I'm building CD extras for a band, and they have a bunch of videos that are embedded in the timeline that need to automatically return the menu when they finish playing.I have the menu working fine, and all the videos are linked and playing; is it just a simple matter of replacing the "gotoAndStop" command or is it more complicated?

View 2 Replies

ActionScript 2.0 :: CS3 Buttons In Loaded Swfs Loading Other External Swfs Into The Main Timeline?

Sep 11, 2009

I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf

View 3 Replies

ActionScript 3.0 :: Unload Self (swf) When Loading Home Swf?

May 16, 2010

I use this code on external swf's (launched from Home swf). Home swf is already playing in the background...so maybe I don't even need a "get URL", maybe I need to just bring to front (and play from certain frame)?

this code works to get Home swf but I think the child swf is still running in the background? How can I A:unload the swf this button is in when this button's clicked OR B: just unload this swf without reloading home swf.

[Code]...

View 0 Replies

ActionScript 1/2 :: Home.swf That Is Inside Home.html?

Jul 27, 2009

I have a home.swf that is inside home.html.inside home.swf there is a btn with the following
 
cinema_btn.onRelease = function() {loadMovieNum("video_main.swf", 0); 
inside video_main.swf  is the following 
loadMovieNum("video1/reels.swf",1);
 
the idea is to load reels.swf in level1 on top of video_main.swf in level 0 why reels.swf size looks much larger even though all swf's are 900 x 800?

[Code]...

View 2 Replies

ActionScript 2.0 :: Loading Other Swfs From Loaded Swfs?

Aug 2, 2006

Flash - 8 : Above is an example of what I would like to do/have done. I've gotten as far as loading the "loaded.swf" into the "start.swf" but my problem is I'd love to use that little loading action I made earlier without copying and pasting into the new movie the same actions for a different link. So, how do I load "loaded2.swf" into "loaded.swf" via the link in "loaded.swf"?

View 1 Replies

ActionScript 3.0 :: Loading Home Page Automatically Or Removing Children?

Nov 5, 2009

I am making my portfolio and trying to learn working with as3 at the same time. I have hit a rock now and I tried very hard to deal on my own but to no result I get this error when I tried make my home page load automatically first.

Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display:isplayObjectContainer/removeChild()

how to make the child to be the child of the caller or figure out another way to load the homepage at the beginning.

import fl.transitions.*;
import fl.transitions.easing.*;
import caurina.transitions.*;

[code]...

View 14 Replies

ActionScript 3.0 :: Preloader.swf Is Loading A Home.swf Error #1009: Cannot Access A Property Or Method Of A Null Object Reference

Jul 26, 2011

I am quite confident i am having no issue with my preloader codes and have managed to identify why i keep getting the Error #1009: Cannot access a property or method of a null object reference. My preloader.swf is loading a home.swf. Within this home.swf i have some codes that makes reference to the stage. EG stage.stageWidth/2 Once i deleted away this line of code there is no error. Is there anyway that i can still reference my stage in home.swf without getting Error #1009?

View 2 Replies

ActionScript 3.0 :: Keep Menu On Top Of Loaded Swfs?

Jan 9, 2011

This may seem a stupid question but I just started learning AS3, Is it possible to keep my menu on top of externally loaded swfs? My menu is sitting on the main timeline as movieclip and the externally loaded swf overlap my main timeline completely completely covering my menu.[code]....

View 5 Replies

ActionScript 2.0 :: Load Swfs From The Menu?

Jul 24, 2008

i'm using hga77's xml menu you can view here.ok, so i'm trying to load swfs from the menu, what i've got so far is:

Code:
function executeAction()
{
loadMovie("NEWS.swf", _root.content);
trace(NEWS.swf);

[code]....

but the menu stops working. is there anything i can stick in this bit "function executeAction()" that will make the loadmovie load a different swf each time, rather than creating loads of loadmovie functions.

View 2 Replies

ActionScript 3.0 :: How To Keep A Menu On Top Of Loaded Swfs

Jan 8, 2011

Is it possible to keep my menu on top of externally loaded swfs? I believe it should be but I just cannot figure out how to do it. I have searched around and I believe I should use something like addChildAt but when I try to use it in the main menu actionscript my external swfs do not load anymore.. My menu is sitting on the main timeline as movieclip and the externally loaded swf overlap my main timeline completely completely covering my menu...

View 3 Replies

ActionScript 2.0 :: Slowly Mute The Sound Gradually Step By Step Up To The Loading Of The Home Page

Nov 7, 2009

I have a flash template in Flash AS - 2 , with a initial sound that triggers at the very beginning in full sound. Now what I want to slowly mute the sound gradually step by step up to the loading of the home page. How can I do that? Worthless. I attached a very simple fla with sound. There is a stop action and at this point the home page is loaded.Now how can I mute the sound slowly upto this point.

View 5 Replies

ActionScript 3.0 :: XML Menu To Load External SWFs?

Sep 25, 2009

currently, I have a XML menu. I followed the tutorial from here: [URL]. It needs more work and tweaking, but that's for later. The menu.swf is from an external SWF and it's loaded into my index.swf using the loader.My question is how can I have the menu load different external SWFs, in other words, different part of the website. Do I create another loader in the index.swf for loading the website's content? Can I use the existing XML file for the loading the SWFs?

Here are the codes I have so far:

Index.swf
ActionScript Code:
import flash.display.*;
import flash.net.URLRequest;

[code]....

View 3 Replies

ActionScript 3.0 :: Have The Menu Load Different External SWFs?

Sep 28, 2009

currently, I have a XML menu. I followed the tutorial from here: http://tutorials.flashmymind.com/200...-menu-via-xml/. It needs more work and tweaking, but that's for later. The menu.swf is from an external SWF and it's loaded into my index.swf using the loader.

how can I have the menu load different external SWFs, in other words, different part of the website. Do I create another loader in the index.swf for loading the website's content? Can I use the existing XML file for the loading the SWFs?Here are the codes I have so far:

Index.swf

Code:
import flash.display.*;
import flash.net.URLRequest;
var menuldr:Loader = new Loader();

[code]....

View 8 Replies

ActionScript 2.0 :: [FMX04] Xml Menu And Transition Between External SWFs?

Jan 21, 2006

I am am loading external SWF files into main file from XML created menu.I want to make TRANSITIONS between loaded files, but this Kiripa tutorial does not work for me since I can not give each button sepparate code. All buttons come from xml.

At the moment If I do all by tutorial all menu buttons start to load same link which and transition works, but yeah I need menu to understand that it must load new swf not that same.I know it is possible, but I do not know how it is made, so if anyone could help me I would be very happy!

Now comes code that needs to be modified :

if (_root.currMovie == undefined) {
_root.currMovie = _root.link[this.i].attributes.url;
_root.Konteiner.loadMovie(link[this.i].attributes.url, "_blank");
} else if (_root.currMovie != link[this.i].attributes.url, "_blank" ) {

[code]....

View 3 Replies

AS2.0 :: IDE - Get The Sub Menu Movies To Load The New Swfs Onto The Root Timeline?

Mar 2, 2009

I have created a menu that loads external swf files using this code:

[Code]....

Check out [URL] to see its operation. I am now testing a sub menu within one of these menu movie clips. When the mouse hovers over the movie clip, the sub menu movie clips appear. The sub menu movie clips have this same code (with the intention of the user being able to click on the sub menu movie clips and the new swf file kicks the current swf out of level 30 and loads the new one) however the swf file fails to load to level 30.

[Code]....

View 1 Replies

ActionScript 3.0 :: [CS4] Dynamically Loads External Swfs When Click The Menu Buttons

Dec 18, 2009

I am currently doing a project that to create a full flash website. The website contains a preloader, an introduction movie, and dynamically loads external swfs when click the menu buttons. I am struggling with the preloader part. My preloader movie does not shown until 50% and disappears at 90%. I have searched for solutions on the internet for days but could not find any. I attached my source file as well as the swf.

View 7 Replies

ActionScript 3.0 :: Loading Multiple .swfs Into Multiple .swfs?

Aug 13, 2010

I am loading multiple .swfs into multiple .swfs, but the .swf are never being properly unloaded. I thought they were unloading until I started monitoring my Page File Usage and seeing it increase everytime I loaded another external swf.
 
In using this function to load my content, what would be the proper way/function to unload the content?

[Code]...

View 2 Replies

ActionScript 3.0 :: SWFs Not Loading After First Try

Nov 23, 2009

Using Flash 9.0 on Mac. Have externally loaded images as slideshow in swfs embedded in dreamweaver. The swfs load time after time in Firefox PC and Safari PC but only on the first try in IE7. Have not been able to test IE8 yet. [code]...

View 6 Replies

ActionScript 3.0 :: Loading SWFs From Another SWF?

Feb 1, 2012

I have a SWF that contains 3 spaces for banners on a 'My Account' page. Initially they all showed the same banners to all customers but now we segment customers and that means each banner can have numerous variations. This has caused the SWF to be massive (over half a meg) for something we aim to have 80-100 Kb.

I believe the solution is to have the current 'main' SWF be a place-holder that decides what segment the customer is in for each banner then pull another SWF file from the server - so only the banner being displayed is the one being downloaded.I cannot find AS to download externally hosted SWFs...

View 6 Replies

ActionScript 3.0 :: SWFs Loading On Top Of Each Other?

Apr 9, 2009

The three buttons on the stage all load remote SWFs into the same location ... Each succesive button that is pressed is supposed to load a movie that takes the place of the one that is currently thereThe problem is, each button click merely loads it's movie underneath the existing one ... so they just keep stacking up on top of one another. I need a way for the code to check if a movie is loaded, and if so, unload that one first before it loads the current one I though an "if" statement could check to see if the "swfLoader" instance is fully loaded, and then if it is, it would know to remove child I know there must be a more efficient way to see if anything is on the stage

stop();
unit13_3br2ba.addEventListener(MouseEvent.CLICK, getUnitSWF);unit21_2bdStudy2ba.addEventListener(MouseEvent.CLICK,

[code]....

View 6 Replies

ActionScript 2.0 :: Loading Swfs That Contain PHP?

Feb 23, 2008

1) I made a german and an english swf-file, each of them containing the entire website. These two you catch from the main index-file, which is only a txt showing "german" and "english". When you click one of them, you load one of these two swfs.It takes some time, because the swfs contains a lot of heavy images which are glued to the swf. Ill get back to that loading swfs later...

2) inside each of these two swfs I made some PHPfunctions. One is a guestbook, the other is a form, where you send personal info (4 boxes, single-line) + a message in multiline to my email through PHP.When I publish the swfs individually and one at the time WITHOUT the main index (english/german) which loads the swfs it works almost fine. The input txt boxes appear on the screen, and you can type in the boxes. When I recieve this email through PHP, it up a bit. There is no space between " message" and "apartment of choice", its all one long line. Apart from that, it works...

However, when I load the swfs using the "main index file" with the german/english choice, the input boxes doesnt even SHOW on the screen. Only the txt telling you where to write what. The txt-curser shows, though, and you are aware, you should write something here, but you write using WHITE txt. When you click "send" in the GuestBook, the email looks good, the message is there, but writing the message on the website, you dont see what you write, because it white!

QUESTION:How do I load external swf-files ( not only images, but entire files, that itself is told to load other swfs) into a main, so that the PHP inside these swfs are working properly? If I am to write some script inside the indexs ASRunActiveContent, where do I write it?

View 1 Replies

ActionScript 3.0 :: Loading Sub SWFs Behind The Scenes Into MC

Apr 18, 2010

I have a site that has one main file and then another five sub swfs that get loaded in when you click on various buttons. I would like to load these sub swfs behind the scenes, even before they click to open them. Is there a way to load them into some mc without adding it to the stage, but making it so that when they do click to actually load that swf in, it will already be cached? I'd prefer not to do a traditional preloader for each and every sub section. I'd rather just load in all the sub swfs, have them cached and ready to go so that when they do click on a section, it will be good to go.

View 1 Replies

Navigation With Keys And Loading SWFs?

Dec 2, 2009

I have been working on a project which has been giving me headaches. I want to be able to navigate through a presentation using the arrow keys - To do everything on the one timeline was going to be too complicated and messy so tried to create separate files but could not get the separate files loading -.My next problem is incorporating the two approaches - here is my code from my test files with my attempt added:

stop();
// create an array to hold the names of the frame labels
var labels:Array = new Array();
// take the name of each label in a MovieClip and put each

[code]....

I can either get the arrow key navigation to work or the previous movie to load but the left arrow key then doesn't navigate back. Although in saying this version doesn't work and I can't get it load again.

View 4 Replies

ActionScript 3.0 :: Linking SWFs Together Without Loading On Top Of Another?

Nov 21, 2010

I have a conundrum in that I have 5 SWF files, I have various buttons in these SWF files linking to one another. Now all I want to do is have these buttons open up the relevant SWF file (and therefore completely replace the current SWF).I have been using a Loader class so far, but have just realised that this simply loads the new SWF into the original one! (Because I am dense), and everytime a button is clicked its loading the SWF on top of the original (slowing down my program quite a lot, as you can imagine!)

Is there no simple way of just linking these SWFs together without loading them on top of another? (I looked up unloadAndStop, but I can't get it to work in my SWFs! I have also read containers being mentioned, but I would rather stay clear of that as well if I can!)

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved