ActionScript 2.0 :: Loading Swfs From Inside Two Differnt Mcs?

May 20, 2004

Ok, I thought this site was done, but turns out that some people are having troubles viewing the images (nothing happens when you click on the thumbnails). At first I thought it was compatibility issues, but then I noticed it happened on my computer too!!! This is very strange because it works sometimes, and other times it doesn't. Before I try exporting everything to flash 6 II having a feeling that it has something to do with the code loading swf's from inside of two different movie clips. The code was originally made for the main timeline, but because of the style of navigation I ended up splitting it in two - and now the same code lies in two different mcs. *still with me?Each MC holds 30 thumbnails that call on the swfs. Check out the site link above to see how it works... or doesn't work. Keep refreshing and trying to load the images again if you want to see how it messes up (it just doesn't do anything)Here's the code that is in the two mcs:

Code:
//
// your button is in fact a movie clip with 3 frames

[code].....

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Loading Swfs From Inside Two Different Mcs

May 20, 2004

I felt this was game for the actionscript forum as well. The site: [URL] Ok, I thought this site was done, but turns out that some people are having troubles viewing the images (nothing happens when you click on the thumbnails). At first I thought it was compatibility issues, but then I noticed it happened on my computer too! This is very strange because it works sometimes, and other times it doesn't.

I having a feeling that it has something to do with the code loading swf's from inside of two different movie clips. The code was originally made for the main timeline, but because of the style of navigation I ended up splitting it in two - and now the same code lies in two different mcs. *still with me? Each MC holds 30 thumbnails that call on the swfs. Check out the site link above to see how it works... or doesn't work. Keep refreshing and trying to load the images again if you want to see how it messes up (it just doesn't do anything)Here's the code that is in the two mcs:

[Code]...

View 4 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 :: Assigning Differnt Values To Slider Bar?

May 18, 2011

i have a slider bar taken from the compnents in flash. What i want is to duplicate a movie clip i have on the stage randomly with in a nother movie clip called  square_mc. I have the movie clip spawning accoring to the slider value.But what i want to happen is to sapwn the movie to a custom number assignd to certian incraments of the slider, instead of it spawn 1-11, which are my slider values. And each interval i go up the slider i want it to reset, so for e.g. the first incrament of the slider value is 2 and the second is 5, when i slide to the second one i only want 5 movie clips not 7.This is the code i currently have.

timeline_slider.addEventListener(SliderEvent.CHANGE, dotspawn)[code]........

View 5 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

Reloading Swfs Inside Movieclip In IE?

May 19, 2009

I have a website i'm working onnd it works fine in safari and firefox, but when I run it in explorer it doesn't  Whats going on is that when you go to the homes section of the site, each home's section is a swf that is loaded into the main movieclip.In explorer these swfs load fine the first time around, but when you return and want to load the swf/section and see it again, they get stuck and although they appear to load, i'm not sure if they have and are getting stuck on the first frame or they are not loading, or there is something going on with the cache.I am loading from the main movieclip using a container with the following code:

var homeLdr:Loader = new Loader();var homeURL:String = (MovieClip(root).gotoArea)+"Eng.swf";
//gotoArea names the swf to loadvar homeURLReq:URLRequest = new

[code].....

View 6 Replies

Professional :: Variety Of Differnt Display "players" On Various Webpages?

Mar 16, 2010

I appologize if this is an overly simple question, but I am unable to find a clear answer elsewhere.
 
I have a movie created in Premiere Pro 1.5 and plan on exporting it in Flash format.  The flash video will be stored on my server and linked from other web pages.  The idea is to have the video open up in it's own window and not a full sized window.  I have seen a variety of differnt display "players" on various web pages.
 
Do I have to use software outside of Premiere Pro to do this (Such as Flash CS4 Pro) or is this a matter of link coding with reference to the file location? 

View 5 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 :: Load External Swfs Inside A Movie Clips?

Sep 18, 2011

This is my first time working with As3 and im a bit lost, everything is so different from the old good As2... what im trying to achieve is to create a simple virtual tour, i have a map with a few buttons on it that when clicked should lead to a panoramic swf that contains a picture of that particular place in the map. I already have the map and the panoramic swfs. But im clueless as to how to actually put them all together in one document. I tried by using this method but for some reason that loads just the panorama swf and not the picture inside it.

[Code]...

View 0 Replies

ActionScript 2.0 :: Build A Presentation By Calling External .swfs Inside The .fla Document?

Feb 24, 2005

loadMovieNum("icon1.swf", target1_mc);

I am trying to build a presentation by calling external .swfs inside the .fla document.

By clicking a button I want to load an .swf (800 x 600) from the desktop into a target_mc inside a new flash document.

The problem is that once I press the button to load the .swf, instead of loading it into the target_mc, Internet Explorer pos up with a statement saying " To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..." Once I click the options link, a new link appears "Allow Blocked Content". once I press it the .swf file loads into the Internet Explorer window full screen.

I want the .swf to load into the mc I am specifying INSIDE the flash document, not on the browser.

View 11 Replies

ActionScript 2.0 :: Flash8 - Buttons Inside Multiple Random External Swfs

May 23, 2008

detailed as possible. Took basic Flash classes, but no AS other than searching online, taking a couple Kirupa tutorials, so it's all greek tho recognizably so. I have 10 individual "scenes" currently in one swf file, but would love to break these apart individually, and load each into a "container" swf with a "random" code (so each visit to my site starts differently) which I've located and tested with Kirupa's super "Loading random movies" tutorial. Question is: currently I have active buttons in each scene which advance playhead to the next scene. How can I code these to load another swf into the main "container" file and kill/replace the current swf?

Another tutorial "Transitions between external swfs" suggests "if your buttons are not located on the main timeline, you will have to change the path to the container movieclip" - but doesn't show exactly how to do this, and I have to say I can't figure the "path" out! Another issue I foresee is that I'll need the script to automatically pull in the next swf file when the current one finishes, if the visitor doesn't click the button first... Haven't been able to find this with a few hours searching, though some threads come close.

View 1 Replies

ActionScript 3.0 :: Dynamic Textfield - Load Swfs Inside A Movieclip With Preloader

May 28, 2010

I need to load some swfs inside a movieclip with preloader.So on the stage I have some movieclips (linked to "product1" class) which will act as buttons to load particular swf, a holder mc and a dynamic textfield(named-"percent") for preloading stuff.My problem is how to reffer "percent" text field from the "product1" class? my code is like this.

[Code]...

View 1 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

Professional :: Swfs Are Not Loading From Server?

Dec 11, 2010

I have a problem. We have a website www.onlinerealgames.com which hosts the game developed by our company. Recently we wanted to change the template. We are testing the new template in a subdomain of ours which is www.onlinerealgames.in . Everything is fine except that the swfs in the server are not loading. Instead they are showing Movie Not Loaded. If I directly access the swf with the URL it showing the download option window.
 
We are having seperate database for both sites. Both have same swfs. If we change the source from .in to .com then the swfs are loading properly (in the src property of embed tag)

View 3 Replies

AS3 :: Flash - Loading SWFs In A For Loop?

Feb 1, 2010

I'm trying to load external SWFs in a for loop, and I have this problem that is really eating me: In the event handler I need to know the filename of the SWF that was loaded, but I can't obtain this.

function loadManySWFs(arrayOfFileNames:Array)
{
for(var i=0; i<arrayOfFileNames; i++)
{

[code]....

View 1 Replies

ActionScript 3.0 :: Loading External Swfs Into Mc?

Jan 12, 2010

how can i load 3 external swfs into one movieclip at the moment i can only get it to load one or it may be loading each clip over the previous one.

View 3 Replies

ActionScript 3.0 :: Loading 6 SWFs On 6 Frames?

Apr 27, 2011

A little while ago, I made a movie that toggles between 2 SWFs on 2 frames. You can see that here -- [URL]

Here's the code I used to make that happen:

ActionScript Code:
var swfholder:Loader=new Loader();
a_mc.addEventListener(MouseEvent.CLICK, loadLeg);
b_mc.addEventListener(MouseEvent.CLICK, loadHouse);

[Code]....

For just two SWFs, that is a TON of code. What's a technique I can use to shorten my coding process now that I have 6 SWFs to switch between?

View 2 Replies

Actionscript 2.0 :: Loading Multiple Swfs?

Aug 13, 2009

how to load external swf files(9) into my master.swf file one after the other. This is the Actionscript i have written so far.....(AS2)

var myItems:Array = new Array("swf01.swf", "swf02.swf", "swf03.swf", "swf04.swf", "swf05.swf", "swf06.swf", "swf07.swf", "swf08.swf", "swf09.swf");

var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();[code].......

The first swf loads alright into my master swf but i can't for the life of me work out how to load the rest after each one has finished loading. Don't know if i need a for loop or what?

View 3 Replies

ActionScript 2.0 :: Possible To Loading External SWFs?

Apr 27, 2006

I'm doing the tutorial for "transitions between external SWFs", but I'm having a problem because in the tutorial all of the buttons are on the main timeline, but in my site the buttons are on a different timeline. This is the actionscript that the tutorial tells me to use....

on (release) { if (_root.currMovie == undefined) { _root.currMovie = "work"; container.loadMovie("work.swf"); } else if (_root.currMovie != "work") { if (container._currentframe >= container.midframe) { _root.currMovie = "work";

[code].....

View 5 Replies

ActionScript 2.0 :: Loading .swfs Randomly?

Dec 23, 2006

My site loads a .swf into a blank movie clip when the site loads.target.loadMovie("coachGameDay.swf");

When a viewer loads the site again, I want a different .swf to load. Or if I hit the refresh button on the browser, I want different .swf to load. Giving it the appearance of .swfs loading randomly.

View 6 Replies

ActionScript 3.0 :: Loading Different SWFs In The Same Container?

Mar 1, 2009

i have main swf that loads external swf, here is the main FLA. the animation begins and stop at frame 71:

frame 71: there is empty movie clip with instance name container, this code in frame 1:
ActionScript Code:
var currMovie:String = "section1";

[Code].....

at this point, it loads sec1.swf, but when i click to load other swf, it will not respond.

View 3 Replies

ActionScript 3.0 :: Loading External Swfs?

Feb 22, 2009

iv made a flash site using as3 using the actionscript on thefirst frame, this by itself works fine.iv also used an online tutorial tocreate a dynamicslideshow/photo gallery which again works fine, but this time usingan external .as file.When i try to load the external slideshow/gallery into amovieclip in the site it dosnt work and i get this error:TypeError: Error #1009: Cannot access a property or method ofa null object reference.im pretty sure its because the code used in the main flashfile is on the timeline and the code in the external file to beloaded in is in an external as file.

the code im using to load the external flash file is:
var toload =new Loader();
toload.load(new URLRequest("newfile.swf"));

[code]....

View 2 Replies

ActionScript 3.0 :: Loading And Unloading SWFs?

Jul 2, 2009

I'm trying to create a site which loads external SWFs into a Moviefor its content, and the entire site is contained in a Movie Clip located on the main timeline.

I keep getting a 1009 error, so I'm assuming that AS isn't drawing the loader where I want it to be, so I'm fairly certain I'm doing something wrong..haha.

Here's a link to my Files: [URL]

View 2 Replies

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







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