ActionScript 1/2 :: LoadMovie Not Working At All (nothing Appears)?

Aug 26, 2009

i know this is a basic procedure but im having problems with loadMovie. Heres my code
 
import mx.transitions.Tween;
import mx.transitions.easing.*; 
this.createEmptyMovieClip("holder_mc", "holder",0);
holder_mc._x = (Stage.width)/2;
holder_mc._y = (Stage.height)/2;

[Code]...
 
Im geussing its a problem with nesting movieclips with code and the solution is to do with something im un aware of because of my lack of experience,

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Lock Menu From Working When A Mc Appears Over Them?

Nov 18, 2008

How do I lock my menu from working when a mc appears over them? They can't be seen at all, though Im still able to click on them which is not good.

View 1 Replies

ActionScript 3.0 :: Point Burst - Mc That Appears In Games When Click And +100 Appears?

Aug 10, 2011

Maybe the title is not self explanatory but in most  iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.

[Code]...

It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.

View 2 Replies

ActionScript 2.0 :: Preloader Not Working But LoadMovie Is?

Sep 19, 2009

I've got a strange problem with my new flash website. I've been able to code a preloader for loading in different .swfs into my main .swf file. This works fine locally and even when I simulate the download in Flash. But when I've uploaded it to my website the preloader no longer works. Basicly the swf file does load into the current swf but without the loading bar and percentage reading.

stop();
_root.homecontent.loadshowreel._xscale = 1;
_root.homecontent.onEnterFrame = function() {

[code]....

View 4 Replies

ActionScript 2.0 :: Loadmovie Preloader Is Not Working

Nov 15, 2009

i tried to load an image into my stage. with clicking a button so i put actionscript for the button as such :on (release)[code]but the loader is not working the % which has to count to 100 then show the picture doesnt work and the picture appears with out loading..

View 5 Replies

ActionScript 2.0 :: LoadMovie Not Working On Server?

Nov 2, 2007

why doesn't loadMovie("folder\file.jp",this); work? Could it be something with folder/file permissions on the server? It works in my computer but when I upload it to the server..it doesn't!I have the folder and the needed file already in the server.

View 1 Replies

ActionScript 2.0 :: Flash8 Suddenly Not Working In IE - Won't LoadMovie

Nov 10, 2009

I have a photo gallery I developed using AS2 in Flash 8 Pro. You can find it at [URL]. I used a loadMovie to import different swf files into the main swf file when a button is clicked. It works great in Firefox and Safari but suddenly stopped working yesterday in IE. It worked in IE (6, 7 and 8) since last Friday when I uploaded it but stopped yesterday. I am using IE on Windows XP. I did try IE on Vista yesterday when I started having trouble with my XP IE and it seemed to work...however, this morning I can't even get my IE Vista to come up so am not sure it is still working on that version. I removed the preloaders that are in the imported swf files but it didn't help so I put them back in. I am using the following code in my html to embed the flash:

[Code]....

View 8 Replies

ActionScript 2.0 :: LoadMovie, Stop/play Not Working?

Jan 16, 2009

Anyway I am having problems with my flash file. I am calling a movie through actionscript using the loadMovie command into a container (movieclip) on stage. The code i have used is below;

Code:
var MoviePath =Path[slide_count];
loadMovie(MoviePath, loader_mc);;

The movie files are stored externally, and i have set the paths into an array as there is multple movies.

The problem I am having is pausing the actual movie and resuming it when they clicked on a particulr button on stage.

I have used this two codes when they click the pause button. But am not sure why it is not working.

Code:
this.loader_mc.stop();
this.loader_mc.play();

I have traced to see whether the button is working or not and it seems to be responding when i click on the button. Just that the movie is not pausing.

The whole flash file is set on one scene with buttons on the one layer, the actionscript on another, and the movie container (loader_mc) is on its own layer as well.

Any support will be well recieved, as I have wrapped my brain around this and cant seem to solve it. I have tried various combination as well. being,

_root.stop();
_root.loader_mc.stop();
_this.loader_mc.stop();

View 9 Replies

ActionScript 2.0 :: Loadmovie To Target Not Totally Working?

Mar 11, 2003

So I am tring to load a movie into a target. It is loading but all of the scripts are not working (some of the scripts are working). All the scripts work if I load the movie to a level instead of a target. But I need the movies to be in a target because of the motion that I want to apply to the loaded movie

View 1 Replies

ActionScript 2.0 :: Loadmovie - Random Variable Not Working

May 16, 2002

The tutorial in The Best of Kirupa isn't working for me! When I try doing this:

rn = Math.round(Math.random()*1000000);
loadVariablesNum ("flashdata.txt?reload="+rn,0);

I get a debug error: Error opening URL "file:///C|/pathtofolder/flashdata.txt?reload=263757" Where the reload variable is the random number and flashdata.txt is the file that contains the variable I need.

View 9 Replies

ActionScript 2.0 :: LoadMovie With SetTimeout Delay Function Not Working

Aug 16, 2009

I'm trying to load a .swf into a containerMC with a button action. I want it to delay the loadMovie action for 1 second to allow an out animation to finish playing. The buttons (next and back) are in a MC on the main timeline of the swf.

I have this code in 1st frame of main timeline:

_global.nextMC = function() {
_root.containerMC.loadMovie("images/folio/chevron.swf");
};

[Code].....

I feel like I'm close, but probably just am missing something here in my setTimeout syntax.

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

ActionScript 2.0 :: Load An JPG Dynamically - Method LoadMovie Isn't Working?

Mar 2, 2004

I need do load an JPG dynamically. The URL is variable pase by Javascript.So... I have do create de variable in the JS e send it fo Flash.I'm getting this variable already. Using swfLiveconnect, and in the javascript the method SetVariable(var,value); I'm changing de value of the var. I can chage textfields, but the method loadMovie isn't working, by putting de URL param as the variable I get from javascript.Here goes the code I'm using:

HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>[code].....

View 3 Replies

ActionScript 2.0 :: LoadMovie Command Not Working In Loop Statement?

Oct 28, 2002

I have the following which works fine just out side of the loop statement:

loadMovie("icons/test.jpg", "pIcon0.Icon");

But inside the loop statement no image shows up.

I need it in the loop statement because eventually the code will call the jpgs out of an array based on the loop variable. And put them in a movieclip number by the variable also.

View 1 Replies

ActionScript 2.0 :: Not Working Contact Form Inside Another Movie (loadMovie)

Jan 24, 2007

I have a working contact form (.swf) that doesnt work inside another movie. Alone it works, but when I call it in main movie with loadMovie it doesn't.

[URL]

I used files from Kirupa's tutorials, made by claudio and senocular.

View 3 Replies

ActionScript 2.0 :: _root - Load Swf Into Another With "loadmovie" With An Empty MC The Pages Stop Working

Nov 14, 2004

Im new in actionsript and I have a problem with _root. I have a swf. with two MC en the main stage: Mc_menu and Mc_pages. The Mc_menu has several buttons with the code "_root.pages=2" which moves the different pages that are in the Mc_pages. If I publish the fla. it works perfectly. Now, when I wanted to load this swf into another with "loadmovie" with an empty MC the pages stop working... I guess is because of the rutes, but i don�t know how to refer them correctly. What I have right now is: in the main stage an empty MC and a button with the code:

[Code]...

View 2 Replies

ActionScript 2.0 :: Loadmovie : First Time Not Working, Second Time Does?

Apr 5, 2004

I want to load a external movie (swf) into my current movie. My syntax:

loadMovie("movies/"+itemName+".swf","_root.popup.popup_bg.movieName" );
loadVariables("content/"+itemName+".txt","_root");[code]....

First line: Loading the movie into the instance

Second line: Loading some vars into my scene

third line: make the popup appear with an alpha tween

fourth line: proving the itemName is correct.

Problem: First time running this script results in not showing my movieclip

Second time running this script everything works perfect.why my movie is not loading?

View 3 Replies

ActionScript 2.0 :: Loadmovie: First Time Not Working, Second Time Does

Apr 5, 2004

I want to load a external movie (swf) into my current movie. My syntax:

loadMovie("movies/"+itemName+".swf","_root.popup.popup_bg.movieName" );
loadVariables("content/"+itemName+".txt","_root");
_root.popup.gotoAndPlay(2);
trace(_root.popup.popup_bg.movieName._y);

First line: Loading the movie into the instance Second line: Loading some vars into my scene third line: make the popup appear with an alpha tween fourth line: proving the itemName is correct.

Problem: First time running this script results in not showing my movieclip Second time running this script everything works perfect.

View 3 Replies

Xml :: Record All Appears In Swf?

Jul 25, 2011

I am creating a card game and want to record all the movements of cards after login and choosing the seat.

this that how could i record all appears in swf??

View 2 Replies

Preloader Only Appears After 60%

Apr 3, 2009

I made a photo gallery website. Now I built a simple preloader in the first frame. When getBytesTotal=getBytesLoaded, then gotoAndPlay(2). There are NO library items exported in first frame (but there are items exported for Actionscript), BUT the preloader only appears when already 60% is loaded!Anyone any ideas what the MC does load before entering the first frame?

View 7 Replies

IDE :: Preloader Only Appears After 60%?

Apr 3, 2009

I added a simple preloader to my website in the 1st frame. When all is loaded, the movie continues to the 2nd frame. I had a few library items exported as actionscript and exported in first frame. I unchecked ALL export in first frame checkboxes. BUT (although my movie now misses a few MCs), my preloader still only appears when already over 60% of the movie is loaded. What is still being loaded before the movie enters 1st frame?

View 4 Replies

Flash - One Loader Appears In Two MC?

Jan 7, 2012

I've concluded that I have to use several Loaders. At first I was thinking "oh well I just use sixteen loaders", but do I have to? Maybe I should create only eigth of them? Then I found this tutorial. If I'm correct I just have to create eight Loaders, then addChild to correct img1/img2?

View 1 Replies

ActionScript 3.0 :: Error Appears In CS4 But Not CS5

Oct 17, 2011

So I created an animation with a preloader and a button. Whenever I view the animation in CS4, I get some null object reference errors- however, I couldn't for the life of me figure out why.

I decided to open the document in CS5.5 on my school computer- the animation worked perfectly! No errors anywhere. I exported the .swf file and opened it again on my laptop with CS4.

View 1 Replies

ActionScript 2.0 :: Why Its Only Appears 9 Images

Oct 27, 2004

I have a project of slideshow of images, it this with some defects, example, I have 10 pulled images being, but in the first time that I bring up to date one f5 in the HTML or Ctrl+enter in the flash, it alone he shows to 9 images it to me does not show the second image, and he finishes it is blank, does not appear nothing, but if I to leave it twirling, in the second time it shows the second image but he finishes it continues blank, acontence always, exactly if in param of the HTML I to only place 3 images, happens the same thing, follows the action.

imagem = new Array (_root.i1, _root.i2, _root.i3, _root.i4, _root.i5, _root.i6, _root.i7, _root.i8, _root.i9, _root.i10);
var QtdImagens = 0;

[Code]....

View 6 Replies

Text Appears As Mouse Is Dragged Around?

Jul 2, 2009

I'm just wondering if it's possible to have a page of text that is 'invisible' (for want of a better word) and when you move your mouse over the page, the text appears in a circle (of whatever radius) around the mouse point.The text would be clearest and darkest at the mouse point, and fade out towards the outer circle, and 'appear' smoothly as the mouse is dragged around the white page.

View 3 Replies

What Appears To Be A Bogus Error Message

Sep 2, 2009

Any work-arounds to what appears to be a bogus error message?Multiple buttons to control a movie and one (defined with the exact same process/steps as the others) results in the 1120 error.[code]No syntax error, but test run results in 1120 error on the P_button event.Instances are established for both and the names are spelled correctly.  Is there some undocumented feature about what characters can't be used in instances and button/movie definitions?

View 2 Replies

ActionScript 1/2 :: Load Something When The Frame Appears?

Sep 6, 2010

i have a button load_swf that does that:

swf_path="sample.swf"
load_swf.onRelease = function() {
loadListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number,

[code]....

View 1 Replies

ActionScript 2.0 :: Navigation Bar Appears Behind Empty Mc?

Jun 26, 2009

Im really stumped here the test site is at[URL]..where when you go to services, then the second button in the dropdown when you click on it loads an empty movie clip, but then for the "services" dropdown its behind the empty clip now and I cannot access anything else within that dropdown.

I have everything on my index in layers with the navigation bar section on layer 3 then the picture with the bird on layer 2. The navigation bar(layer 3) is a set of dropdowns which are movie clips, "services, logistics, etc" with buttons within each for the dropdown selections. I have the actionscript for each dropdown on the 20th fram of the movie clip(it goes from frame 1 to frame 20 on rollover of each movie clip). The script then is this on frame 20

[Code]...

View 5 Replies

Actionscript 3.0 :: When Define A Width, Nothing Appears

Dec 3, 2010

This works....

Code: Select allvar imgLd:Loader = new Loader();
imgLd.load(new URLRequest("multiply.jpg"));

[Code]....

but when I try do define a width, nothing appears

Code: Select allvar imgLd:Loader = new Loader();
imgLd.load(new URLRequest("multiply.jpg"));
imgLd.blendMode = "multiply";

[Code].....

View 1 Replies

ActionScript 2.0 :: XML Loads But Appears To Be Empty?

Nov 14, 2007

I'm building a portfolio section of our website where we have several sections for example: TVC, DigiFX, Audio, etc.I have one xml file controlling that part which works a treat. The script reads the xml and places (depending on how many nodes are in the xml) x number of tv screens in a carousel style layout where the user can select a category. Now this is where things go pearshaped... When a user selects a 'TV' a variable is set to tell which category was selected and loads the appropate xml for that section.

I have a few traces which gives me this output:

SelectedTV = _level0.TV0
Current XML playlist= portfolio/TVC_playlist.xml
videos Array =
videos Array 0 = undefined
flvTitle 0 = undefined

[code]....

...and I have 7 <video url="" flvtitle="" desc="" client=""/>

P.S. This was done with CS3 but using AS2, since i first started the project with F8 and don't have the time at the moment to convert it to AS3.

View 5 Replies







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