ActionScript 3.0 :: Preloader Can't Locate File

Jan 23, 2010

I'm in the process of migrating my 1st flash game from my PC to a web site. I have a preloader that will load a couple of .swf files to start but it stops when requesting the 1st URL.

Here is my code:

var l1:Loader = new Loader();
var l2:Loader = new Loader();
var completeTimer:Timer;

[code]...

This is not the entire preloader file, just the part until it halts.

Is it possible that I need to publish with specific settings? After all, everything was working fine until it was copied on the server.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Target An External File Locate Up One Level?

Feb 25, 2011

I was trying to upload an external .txt file which is located up one level from my .fla file but I couldn't make it work, this is what I have...This code works just fine if I put my external .txt file in the same folder as my .fla

ActionScript Code:
var myRequest:URLRequest = new URLRequest("MaterialRef.txt");

but when I try something like... where the .txt file now is in a folder called "Materials" which is located up one level, it just doesn't work.

ActionScript Code:
var myRequest:URLRequest = new URLRequest("../Materials/MaterialRef.txt");

View 0 Replies

Locate And Check The Date Of An External File (either .exe Or .swf) And Return That Date String To A Variable In Flash

Dec 11, 2009

I'm using flash CS4 and actionscript 2.0. I have a situation where I need to locate and check the date of an external file (either .exe or .swf) and return that date string to a variable in flash. I then need to display that date to a piece of dynamic text within the flash file. Is there a function within action script that will check and retrieve the file date of an external file.

View 4 Replies

ActionScript 3.0 :: Can't Locate Debugger

Mar 10, 2009

I recently started to use flex and I'm having trouble with the debugger. Every time I try to run it in flash player, it says it can't locate my debugger. But I downloaded the flash player debugger from the Adobe website and put it in the library > internet plugins folder. I'm using flash player 9 on flex 3.

View 1 Replies

Locate A Reference To Movie?

May 14, 2009

Using flash CS3, how can I locate a use of a movie on the stage? I know if I can see it, I can click it to ID but that is the problem.

View 1 Replies

Can't Locate The Correct ActionScript

Sep 2, 2009

On my website I go to "movie explorer" and go through all the ActionScript and on the bar tab it does open upa moving vertical options (it shows up when I have it in swf or preview it) but while I am in Flash CS4 I can't find it....there are extra componentsin separate files inside the folders (mx) and (tm). It is not live on my site yet but what I am trying to do is have certain tabs go directly to a different webpage (not all of them to the flash tabs as specified) as you will see by visiting my site: [URL]

View 4 Replies

ActionScript 2.0 :: Can't Locate MoveClip?

Jul 28, 2006

I have loaded an external .swf file on to the stage with multiple movieClips in it. From the main timline of which I load this external .swf file, I am moving the movieclip(s) around the stage (with the commands of the arrow key). On the main timeline I have this:

function this_function() {
trace(mc_holder.village._x);
}[code]....

When I trace the village on the onEnterFrame function, I am successful in viewing the value/position of the village in the in the external .swf file. However, if 'this_occurs' and I tell it to use the function 'this_function', where I tell it to trace the village again, it doesn't recongize the movieClip, or village. Instead of giving me a value, it just gives me 'undefined'. So why is it that the 'this_function' can't locate the external .swf file village?

View 2 Replies

Multi File Preloader - File Start Loading Files But Does Not Loop?

Jan 6, 2010

what I'm trying to do is make a preloader that will preload about 20 external SWF files before it lets you get to my main file. I want to do this because my main file needs the SWFs to be ready to go once its done loading. I have looked around and i found a few ways to do this with the "if (loadedBytes>=totalBytes)" and the code loops back till the files are done loading... this would be just what i need but i cant seem to get it to work. the file just seems to start loading my files but does not loop and just runs the time-line even once i state what frames i want it to loop.

View 6 Replies

ActionScript 2.0 :: Including External Swf File With Preloader In Main Swf File

Apr 21, 2008

I'm creating a flash 3d website for a company. The idea is that there is one overall swf file - this holds the navigation and design. Once the user clicks on a button, it goes to frame 10, I have included the following script to load a swf file

loadMovie("deepbartesting.swf", maincontent);
this.onEnterFrame=function(){
if(movieClipName._currentframe==5){

[Code]....

the preloader works, but instead of going to frame 2 of that swf file, it goes to frame 2 of the overall swf that holds the navigation. Does anyone know how to get around this so that it goes to frame 2 in the same swf file as the preloader?

View 1 Replies

Professional :: Cannot Locate And Change Link

Feb 9, 2011

I have a Flash project created in an earlier version that I'm opening in CS3. I'm trying to change one link, but it appears to be buried in code and I can't locate it and I need to change the link to an outside page.

View 8 Replies

Javascript :: Can't Locate What Char 25 Of Line 1 Might Actually Mean

May 25, 2009

I have a menu screen that for various reasons consists of a number of buttons as separate flash movies. When a button inside these movies is clicked, it is supposed to call a javascript function to move to the appropriate page. It works fine in firefox, but is currently failing in IE7. I don't have an IE6 handy to test on.This is the error I get in IE:[code]I can't locate what char 25 of line 1 might actually mean. I only get the error when I click on the button, and after installing Visual Web Developer to try and get some actual debugging, it doesn't seem to be actually firing the function that is called, so it seems like the error is happening in whatever mechanism actually makes ExternalInterface.call work?[code]

But as i said it doesn't even show up if I put a breakpoint here and debug it. If I put a javascript:gohere('id') link in the html screen and click that it works fine.I have ExternalInterface.call working in other parts of the same project, and can't for the life of me see any differences in the way it has been implemented.

View 2 Replies

Actionscript 3.0 :: Locate The Class Path?

May 11, 2011

I'm trying to load an as3 swf in another as3 swf,but it says it can't find a class that's being used in the swf that I'm trying to load.I want to know if I can specify the path of the class that's being used so that the swf can locate it when loaded to the main swf.Here's the error I get:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ro.fwd.template::Main()

I tried scpecifying the path in the publish settings, but had no luck.

View 1 Replies

Flash :: Can't Locate The Correct ActionScript?

Sep 2, 2009

On my website I go to "movie explorer" and go through all the ActionScript and on the bar tab it does open upa moving vertical options (it shows up when I have it in swf or preview it) but while I am in Flash CS4 I can't find it....there are extra componentsin separate files inside the folders (mx) and (tm) . I am trying to do is have certain tabs go directly to a different webpage (not all of them to the flash tabs as specified) as you will see by visiting my site: http:[url]....

View 3 Replies

ActionScript 3.0 :: Locate Frame Position In A Movie?

Dec 19, 2008

There's a way to know which frame number I'm located in a movie? I fond this 'getCurrentKeyframe () ' but I don't understand how does it work.

View 2 Replies

ActionScript 3.0 :: Locate Runtime Error Trigger?

Feb 24, 2011

I know I should read the manual to deal with the debugger.I'm not there yet. <g>.Anyhow, here's what the debugger is rendering:

at Website_fla::MainTimeline()[Website_fla.MainTimeline::MainTimeline:2]Cannot display source code at this location. What does the 2 signify?How can I locate the line of AS3 code that triggers this error?if it is too complicated to explain Ill wait until I'm into the debugging chapter of the manual.

View 2 Replies

Flex :: Locate And Size Objects Relatively On The Screen?

Jan 7, 2011

I want users to be able to locate objects ,say rectangles, freely on the screen. Each Rectangle will have width, height, x, y.

I want that when users resize browser window, the rectangles change location and size relative to the window while maintaining proportion.

I noticed I could do something width="20%" height="20%" and then object will resize but if the aspect ration is diffenent the rectangles will look distorted. Also I wasn't sure what's the best way to locate object relatively as I noticed I couldn't bind Flexglobals.toplevelapplication.width/Flexglobals.toplevelapplication.height to x/y.

View 1 Replies

Flex :: Mac Flash Builder Cannot Locate Debugger

Jan 20, 2011

I've started getting the following when I try to run FB4 projects:

/Library/Internet Plug-Ins/Flash Player.plugin

Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.

I've installed the debugger version of the Flash Player. Didn't work. I've reinstalled Flash Builder. Didn't work. I tried using Safari instead of Firefox. Didn't work.

When I go to Macintosh HD/Library/Internet Plug-Ins/ in the finder, I can see Flash Player.plugin right there. But when I go to Username/Library/Internet Plug-Ins the entire folder is blank. So I tried copying Flash Player.plugin to the latter folder. Didn't work.

Mac questions (I'm new to mac): Which of these is really the root? Is it normal that there should be duplicate directories like this, with non-duplicate contents??

In FB I opened Windows --> preferences --> Flash Builder --> Profiler --> Player/Browser and browsed to /Applications/Adobe Flash CS5/Players/Debug/Flash Player Debugger.app

What does Flash Player Debugger.app have to do with Flash Player.plugin?

View 1 Replies

ActionScript 2.0 :: Locate Movie Clip Anywere Within Fla

Mar 11, 2005

i am have trouble understanding code, i need a code that can locate my movie clip anywere within my fla. any ideas?

View 2 Replies

ActionScript 2.0 :: Array Search Function To Locate Buttons

Feb 18, 2010

How would I go about making a search function that can locate an array of buttons?

The buttons direct to movieclips. The purpose is to have a search field in the flash project to help find specific movieclips (the buttons that direct to them, anyway) based on criteria using arrays. I am using Flash8, but have access to CS4 if necessary.

View 2 Replies

Unable To Locate Component In The User Interface Library?

Jun 23, 2009

I am unable to locate this component in the user interface library, every other component is listed but this one.
 
Is this a new you must roll your own from the list component and create it?
 
PS I just noticed the Alert component is missing too.

View 3 Replies

ActionScript 3.0 :: Locate Multiple Positions Of A Specified Color In A Bitmap?

Aug 11, 2010

I'm building a game that will be using a bitmap to render the environmental scene. the bitmap is a black image with little green squares to indicate x,y place holders for tree locations as i render the scene. i was thinking of looping thru each pixel to find green pixels but this proves to be a performance hit when the image is 2500x2500. then i found what i thought was a handy little method called BitmapData.getColorBoundsRect() that will locate the position of the green box. It does this but it returns me 1 rectangle of all the green boxes inside.

View 2 Replies

ActionScript 2.0 :: Random Misc Errors Which Popup And Can't Locate?

May 30, 2008

How many people have random misc errors which popup and can't locate why?

I'm trying to downplay my lack of skill to find the source gah.

View 5 Replies

Media Server :: Locate Sample Implementation (sources) For LiveSample.swf In FMS 3.5

Apr 26, 2010

I  am not able to locate sample implementation (sources) for LiveSample.swf in FMS 3.5. Can somebody point it to me?

View 4 Replies

Media Server :: Unable To Locate An Extension Or Even A Legacy Set Of Components?

Oct 17, 2011

Are there an updated set of Flash UI Components for working with FMS 4.5?  I'm not able to locate an extension or even a legacy set of components.
 
The older component set
 
had:
ConnectorChatWhiteboardLoginOthers...

View 4 Replies

Eclipse :: Using Ant With Flex -get An Error " Unable To Locate Tools.jar?

Apr 12, 2011

I'm having problems setting up Ant to use with Flex.I install it fine but I get this error when I try and check the install: Unable to locate tools.jar.From what I've read, I just need to point JAVA_HOME to the directory that contains the jdk. Unfortunately,I'm not sure I know which jre I'm using in Eclipse and also, I do a search for tools.jar on my machine and it's not there???I have a C:Program FilesJava directory and there is this in there:

j2re1.4.2_05
jdk1.6.0_03
jre1.6.0.23

In Eclipse --> Windows --> Preferences --Java --> Installed JREs, it's pointing to here:

eclipse-host-distro, C:Program FilesAdobeAdobe Flash Builder Plug-ineclipse-host-distro

Am I not working with a full JRE?

View 1 Replies

Flex :: Builder Cannot Locate The Required Version Of Flash Player

Mar 3, 2012

I got an error when i tried to run the application as Flex Builder cannot locate the require version of flash player and saying you might need to install flash player 9.

I am using Flex Builder 3 with SDK 3.2 and having latest flash player of version 11.1.162

Even having latest version of flash player why i could not able to run the application?

View 1 Replies

Have A Preloader On A File <200kb?

Jun 12, 2009

Is there any point in having a preloader on a flash website with a filesize of less than 200k? Im currently working on a portfolio site which has a minimal design and all images loading in with xml with their own preloaders, the total filesize of the site in likely to be under 200k. I feel bad for those on dial up but surely they are used to the average html page (which I hear is over 300k) taking a long time to load up anyway?

View 1 Replies

Make A Preloader For One Image In File?

Aug 11, 2009

how do i make a preloader for one image in my file?

View 3 Replies

ActionScript 3.0 :: Using A Preloader In A Separate File?

Apr 28, 2009

I've appropriated a preloader I created previous where it existed on the main timeline. For my new project, I placed it in an external AS file, but something's off. I keep getting this error message, referencing line 16 in my line of code:"1046: Type was not found or was not a compile-time constant: Event."

The code is below:
package {  import flash.display.MovieClip; import flash.events.Event.ENTER_FRAME;  import flash.events.MouseEvent;  import

[code]........

View 10 Replies

ActionScript 3.0 :: Preloader Not Working For 35 MB Swf File?

Aug 15, 2009

I'm working on a glorified slideshow, it has a music track that is 3+ minutes long, pretty nice graphics, and transitions. I started builing in Flash and am halfway done... it looks great too !

Problem is, when I'm testing the preloader with the download profiler set to DSL - it crawls and at 1% and on, the soundtrack starts to play... by the time the download is at 42% its at least a minute into the soundtrack and it's in and out, coming on then cutting out but not starting over. Needless to say, this is not okay! I know it's a huge file. SHould I maybe export it as an mov and put it in a FLV player?

View 3 Replies







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