ActionScript 2.0 :: Movie Not Working After Loading?

Oct 24, 2005

I got this problem, that if i load a movie by ckliking on a button it doesnt work but if it is on its owne it works just fine...

[URL]

button code

PHP Code:
on(release){      if(cont_loaded = !cont_loaded){             _root.insis.loadMovie("tutsisu.swf");      }else{             _root.insis.unloadMovie();      } } 

movie code

PHP Code:

 on(change){if ( this.selectedItem.label == "tut1" ){loadText = new LoadVars();loadText.load("sisu.txt");loadText.onLoad = function() {_root.scroller.text = this.sisutext;};  }else if ( this.selectedItem.label == "web" ){getURL("http://www.kirupa.com","_blank");}} 

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Loading Screen For Movie Not Working?

Feb 28, 2011

I have am trying to make a pre-loader I guess you would call it for a flash movie with a MP3 embedded in it.The total size of the flash movie is 4MB.Below is what I have in frame 1 actionscript:
 
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, Loading);
this.loaderInfo.addEventListener(Event.COMPLETE, FinishedLoading);[code]....

Instead of 10%, 20%, 30%, ......and so on, I get just one dot, then another, then another, .....Once the reach four, the dots disappear and it starts all over again.Until the movie is loaded.

View 2 Replies

Actionscript 3 :: After Loading A Flash Movie The Form Stops Working?

Aug 24, 2011

I'm a total begginer in flash and action script, I do have some knowledge in other programming languages.By trying to help a friend I added a contact form in his company website, that was made by someone else.his site is full flash with a index frame that loads several pages.After I built the new contact.swf and tested locally and also hosted by accessing it straight from the browser and embeded I tried to replace it with the old contact.swf that had no contact form.During the tests, everything was fine but when included in the site the form is not functioning.The form has a few rules that prevent empty fields with a green text warning. when I access it embeded separatelly in a web page it works, when I access it loaded by index.swf it does nothinh even if I press the submit button.So I assume the problem is in the index.swf action script.the button that loads the contact page has this code:

on (rollOver) {
gotoAndPlay(2);
}

[code]......

View 1 Replies

ActionScript 2.0 :: Level - Movie Is Not Working Anymore After Load It Into Other Movie

Aug 23, 2004

Let say A is the main movie and B will be a external swf file that i'm going to load into A movie. The problems is that, some actionscript(AS) in my B movie is not working anymore after i load it into A movie. I believe that the AS in my B movie is not working anymore because it is refer to A as the _root instead of B movie as _root. This can be a common problem. So, i wonder what should i change in the B movie AS in order to make it work in A movie.

View 3 Replies

ActionScript 2.0 :: Loadsound() Not Working When Movie Is Loaded In Other Movie?

Mar 17, 2009

I'm made a flash movie[main movie 1] where another movie is loading using the "loadMovie()"[this is the movie2] command.my probblem is - when I'm trying to loadsound in to the second movie

Code:
var mySound1:Sound = new Sound(this);
mySound1.loadSound("music.mp3",true);

[code]....

View 3 Replies

ActionScript 2.0 :: Loading A External Swf Into A Movie - Its Loading Only A Part Of It?

Mar 16, 2004

I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player

View 3 Replies

ActionScript 2.0 :: [MX] Not Loading The Movie Its Just Loading The Frames

Aug 4, 2003

i am making a site with transitions that loads external .swf files(exactly like the tutorial). after the first part of the transition plays it uses:

[Code]...

So i guess my questions is should i add the load movie code before this code or what. how do i make this apply to loading the actuall external swf files??

View 5 Replies

ActionScript 2.0 :: Loading Movie That Is Also Loading A Movie

Jul 15, 2004

I created a Flash movie (header.swf) that did some animation then at the end, loaded another into it using this command: loadMovie ("scrolling3. swf","_root.dropZone");It loads and plays just fine. Then I created another movie (video2.swf), that loads a movie in the same fashion: loadMovie ("tom2.swf","_root.mcTom");By itself, this movie (video2.swf) runs just fine.But now, when I wanted header.swf to load video2.swf it loads it, but the movie clip tom2.swf does not run. It just shows up as a white square in the corner. What am I doing wrong?I have tried many of the examples from threads that I have read hear and cannot get it to work.

View 1 Replies

Xml :: Loading In Flash Not Working On Facebook?

Jan 25, 2010

I have a flash file which calls up a url say [URL] which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.

The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.

View 1 Replies

ActionScript 3.0 :: FLV Player Loading FLV Only Working In IE

Jan 13, 2010

So what I am trying to do is only working in IE not in Chrome, Firefox, Opera and Safari. I am using the latest browser versions with the latest flash version.[code]but it did not work. It removed the video from IE and still didn't play in any other browser.I have not tried an absolute URL to where it is stored on the web but I would like to keep the paths relative if possible.Also I tried changing the = sign to %3D (ascii representation I think???) as a forum suggested but it also did not work.May I ask if any of you have had this problem before? Why would it work in IE but not any other? I have other flash videos that dont use flash vars that play fine in every browser. It is just the swf that dynamically tries to load the flv that is the problem. This tells me that the flash player in every browser is working so I know it is not that either.

View 3 Replies

ActionScript 2.0 :: Loading MovieClip With XML, Not Working?

Nov 20, 2005

i have a movie clip with an xml menu that i want to load into another movie clip. if i test the scene that contains just the xml menu works fine, but if i test the scene with that contains the movie clip that has the xml menu in it, it dosen't load.this is probably not how you us xml in movie clips but i couldn't find anything on this.

View 4 Replies

ActionScript 3.0 :: Loading XML From Other URL / AllowDomain Not Working?

Jun 3, 2009

I am loading an XML from another server and it's my understanding that I need a crossdomain.xml or use System.allowDomain().I opted for the latter to have more flexibilty, but it doesn't seem to be working.

Code:
import flash.display.*;
import flash.xml.*;
import flash.net.*;

[code]....

View 1 Replies

ActionScript 3.0 :: XML Loading Working In IDE But Not Browser?

Mar 15, 2011

I'm working on a program that calls a php script and then loads an xml. The program works exactly how I want in the IDE but unfortunately when it is on the server it doesn't work correctly (of course ). Anyways so i've been trouble shooting for quite some time and my guess is that the problem arises somewhere before the php call (when i make it, the variable is shown as undefined by the script). I use navigateToURL in order to test this and the script received the variable when in IDE but not from browser.

AS3 code:[

//this method is called everytime user scrolls.
function scroll(e:MouseEvent):void
{[code]......

View 6 Replies

ActionScript 1/2 :: Loading Multiple Movie Clips Inside Another Movie Clip?

Mar 11, 2010

I was wondering about the flexability of loading movies into a movie clip. Currently, I am well able to load one movie into a movie "loader" clip, but thought maybe there is a way to load additional movie clips into that same "loader" clip, as i am starting to accumulate several different graphics that i need to have be inside movie clips so that i can make them change colors on the same frame when needed.
 
i shot from the hip and tried this code, but didnt have any luck:
 
mc_LCD_loader.attachMovie("hilight", "g", 1), ("header", "X", 1); mc_LCD_loader.g._x = 0; mc_LCD_loader.g._y = 1000;
mc_LCD_loader.X._x = 0; mc_LCD_loader.X._y = 1000;

[Code]....

View 9 Replies

ActionScript 2.0 :: Displaying Loading Progress Of A Movie Loaded Into A Movie?

Feb 25, 2003

My _root movie is nothing more than a interface with navigation buttons. When someone clicks a button another swf is loaded into an empty movie clip on _root.

My Problem:I understand loaders and use them all the time, however, I still to this day have never gotten a loader to work with loading an external movie into a currently playing movie. (ie: in my _root movie you press the "Searching" button and searching.swf is loaded into _root.contents --> contents is the empty movie clip)So anyways... where does the loader go? The only results I've ever had is as SOON as the loadMovie method is called the movie hangs until the entire movie clip is loaded. Then the loader runs... thus making it totally useless.

View 1 Replies

ActionScript 2.0 :: Set Height After Loading An External Movie Into A Movie Clip

Jul 2, 2006

I would like to set height after I load an external movie into a movie clip.

For example,

this.body_mc.loadMovie("body_about.swf");
_root._height = this.body_mc._height;

I always get height as 0, because body_mc is an empty movieClip.

how to access the body_about.swf height as soon as loaded the movie into the empty movie clip?

View 2 Replies

ActionScript 3.0 :: External Image Loading Not Working On A Mac?

Oct 6, 2009

So I have this slideshow, meant to just cycle through 50 or so images, loading each up for a few seconds before it goes away. It obtains the information for the images from a database.For all my testing, it works as it should in IE, Firefox, Opera, and Safari on Windows.Yet I'm repeatedly told by someone that it does not work at all on Safari on Mac, but instead just forever shows the loading movieclip I have in.Sadly, I don't have a Mac and I don't know anyone, save for this person, who owns one, thus I'm unsure what is going on, let alone how to solve it.You can view it there. I'm just at a loss for why it's having issues. Is it just a single case, or is it Safari on Mac in general, or perhaps Mac itself in general?

View 2 Replies

ActionScript 3.0 :: XML Loading In Flash Not Working On Facebook

Jan 25, 2010

I have a flash file which calls up a url say [URL] which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.

The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.

View 2 Replies

Media Server :: Loading Flv In Flash From FMS - Not Working

May 12, 2009

We just moved FMS onto a new server and the fms seems to be working fine. But when I go to load a flv in flash using the component inspector i type in the content path for where the flv is located on the fms server and it just keeps saying 'Failed to load flv'. If i type the content path for the location on the old server it loads up fine. I honestly dont know what the problem is as everything is the same as it was on the old server just a different server with different IP address.

View 11 Replies

ActionScript 3.0 :: Flash - Loader Loading Swf Not Working?

Apr 22, 2010

I'm having trouble with a simple loader not loading an external swf file.I have a set of menu buttons (created from a class) that store the swf file name. When these are clicked they run a function that supposed to load the swf file but for some reason it doesn't (but maybe it does load it, just not display it). So here's the code:

Code:
var urlLoader:Loader = new Loader();
var pageHolder:Sprite = new Sprite();

[code].....

View 3 Replies

ActionScript 3.0 :: Loading External Data Not Working?

Feb 7, 2011

I have a listBox and I want to take data from a php file and insert it in my list box. But I am doing something wrong, because it's not working.
 
The php file retrives data in the following format:
 
echo "nrsongs=" . $nr_songs;
$i=0;
foreach($song_ids as $song_id){
$i++;

[Code].....

View 2 Replies

ActionScript 3.0 :: Loading An External SWF Files Not Working

Mar 23, 2012

So I have a project I am working on in which I would like to teach how to cash a scratch off card. I have made the scratch and made it so it will "scratch"

Before: After:

Now I have saved this out and am trying to load this into my "holder" however I am getting an error:
 
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ScratchTicket()

When I use this code:

stop();
import flash.events.MouseEvent;
nextPG_btn.addEventListener(MouseEvent.CLICK, nClick);
lastPG_btn.addEventListener(MouseEvent.CLICK, lClick);

[Code]....

View 1 Replies

ActionScript 2.0 :: Loading .swf With Flash Video In It Not Working?

Oct 7, 2009

I am trying to load a .swf using loadMovie(). The .swf has a Flash video on it. All I get is a flashing FLV icon. Is it because my original file is Actionscript 2 and the swf I'm trying to load is Flash 3? Or what?

View 1 Replies

ActionScript 3.0 :: XML Loading In Flash Not Working On Facebook?

Jan 25, 2010

I have a flash file which calls up a url say which is caught and used up by a python/django code and it creates and redirects to an XML. which is loaded by flash, to get values from the database.The setup works fine when outside facebook, but as soon as I put the setup in facebook, it stops loading the XML completely.

View 4 Replies

ActionScript 3.0 :: Flash Loader Loading Swf Not Working?

Jan 17, 2011

I'm having trouble with a simple loader not loading an external swf file.

I have a set of menu buttons (created from a class) that store the swf file name. When these are clicked they run a function that supposed to load the swf file but for some reason it doesn't (but maybe it does load it, just not display it). So here's the code:


Code:
var urlLoader:Loader = new Loader();
var pageHolder:Sprite = new Sprite();
pageHolder.height = 420;

[Code]....

The "page loaded" trace is being displayed, so must load the swf but not show it.
I can't even see the preloader. I also tried a very simple swf file with just some shapes and 1 frame but still no luck.

View 1 Replies

ActionScript 3.0 :: Loading / Unloading / UnloadAndStop() Not Working?

Feb 12, 2012

I have a presentation that has 3 chapters. I've built functionality so that you can load each individual SWF chapter with a loader called singleLoader. I've also built in functionality so that at any time, you can hit the down arrow and it will unload those movies. I have a separate button that allows you to loop through all 3 chapters. They'll just play one after the other. The problem with this approach is that there are 2 different loaders and if I unload one of the chapters and try to start the looping, I can hear the audio, but I can't see the movie.Here's the first loader:

Code:
var thisLoader:Loader = new Loader();
thisLoader.contentLoaderInfo.addEventListener(Event.INIT, doneLoading);[code].......

View 6 Replies

ActionScript 2.0 :: UNLOAD The CURRENT MOVIE First Before Loading Another MOVIE

Apr 15, 2003

I have a button ( 3 buttons ) and each button is assigned to Load a movie. When you click one of the buttons, the LoadMovie on Level 1 is good. Now here is my problem, how will I unload the current movie before Loading the next one. I want to UNLOAD the CURRENT MOVIE first before loading another MOVIE.

View 2 Replies

ActionScript 3.0 :: Preloader Not Working With External Multiple Swf Loading?

Aug 31, 2010

My preloader works fine only for the first time, then after it not works ? I got 3 buttons on the stage which are calling 3 external swfs. I am getting this Error ?

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display:: DisplayObjectContainer/removeChild()
at Design_fla::MainTimeline/finishLoading()

[Code].....

View 1 Replies

ActionScript 2.0 :: Loading Variable From External File Not Working

Aug 28, 2005

I'm having trouble with this script. I have an external text file, from which all of the text on the page is loaded. I also have a series of thumbnails, but I need to have different numbers on each page, so I figured I'd put the number of thumbnails into the text file too and then run a loop to create the thumbnails and buttons dynamically. The loop works fine, until I try to use the value I have loaded from the text file. I think it is something to do with it being in a separate function, but I have tried making it _global.counter, I have tried putting the whole for() loop inside the myData.onLoad function. Basically, I have tried everything I can think of and still the loop does not run when the counter value is specified externally.

[Code]...

View 3 Replies

ActionScript 2.0 :: LoadMovie Not Working - Loading Doesn't Load At All?

Sep 15, 2006

I have a movieclip called masterloader in my flash project, and I have

[Code]....

when it actually loads in the movie, yet the movie I am loading doesn't load at all. It's only a one framed picture.

View 4 Replies







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