ActionScript 2.0 :: FMX04 - Class Files Not Working

Aug 17, 2004

I have two class files that extend to movieclips......one targets _root.scrolling_mc, the other _root.messages_mc. I have multiple movieclips throughout the presentation with instance names scrolling_mc and messages_mc. This is where it gets interesting. After navigating from a scene with scrolling_mc to a scene with messages_mc, some of the behaviour of the scrolling_mc is still triggering. Its almost as if both class files are working side by side.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: [FMX04]flash Gallery With Xml Not Working On PCs?

Nov 28, 2008

I am adding flash galleries toon the Facilities and Gallery pages. On my mac I've tested the galleries using Firefox, Safari, and Opera and they are working perfectly as expected.However, there is no gallery, or error message on PC machines. I do not have a PC so I can't test it, but I've had a Vista and XP user both test the site and the galleries do not display at all.

View 1 Replies

ActionScript 2.0 :: [FMX04] OnRollover Movieclip Event Not Working?

May 18, 2007

why this will not allow button to be seen, on MouseOver it simply ignores the Actionscript.

Code:

loadThumbnails = function() {
/* Select project nodes from each section in main [i] loop */
//trace("------------------");
allProjectData = myXML.childNodes[i].childNodes;

[code]...

View 6 Replies

ActionScript 2.0 :: [FMX04] Calling Function On Movieclip From Class Method?

Sep 15, 2007

Is it possible to call a function defined in a movie clip from a class?Here's a sample project setup I'm trying to achieve this simple feat:

func.fla
- Has one movieclip "fooinst" which is library item "foo".
- The "foo" library item has linkage is to the "Foo" class
- The "foo" library item has one script on it's first frame:

[code]....

View 2 Replies

Actionscript 3 :: Adobe Air Native Installer Is Not Including .class Files And .properties Files

Feb 20, 2012

I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?

Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?

View 1 Replies

ActionScript 3.0 :: Does Client Get Class Files And .fla Files

Oct 14, 2009

Just wondering what is the standard in the Industry; does the client get the ActionScript Classes and the .fla file?

View 2 Replies

ActionScript 1/2 :: External Class Files Not Updating When "Delete ASO Files" Executed?

May 3, 2009

I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.I can' find these ASO files anywhere on mycomputer.Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie.There are no loops of any kind in the code, which is below.

//This is the Person.as file:
class Person { public var HomName:String = "unknown"; public var HomEmail:String = "unknown"; public var HomPhone:String = "unknown"; public var HomSaveFreq:Number = 0;

[code]......

View 27 Replies

Import Working .gif Files Into Flash (CS4)?

Feb 17, 2010

I've downloaded some animated .gif images. When I try to import them to Flash and add them to the libary, and then onto my animation, they don't move, just stay still like normal images. Why is this? I've seen people import things such as boats moving across the sea in .gif files and they work in flash, why aren't mine?

View 2 Replies

Working With Movies (SWF Files) And Resizing

Feb 23, 2009

I have a 1900 x 1240 .swf file that has a set of buttons on each side. Each button calls for and loads a single movie into a 900 x 600 area in the middle of the screen. I haven't had any trouble setting things up so that the .swf movies, including a converted QTVR file, all load into that 900 x 600 area. One of my buttons calls for a .swf movie that contains a zoom-in and rescale - the link for how this was created can be found at Flash Zoom In Movie Clip and Rescale. The stage for this file is set at 900 x 600. When this Zoom.swf is loaded up by pressing the button, it resizes itself to 1900 x 1240. As well as being annoying, this obliterates the view of all my buttons and interface. I just can't figure out how to make it sit in the middle of the screen at a size of 900 x 600.

View 1 Replies

ActionScript 2.0 :: Working With Large XML Files?

Oct 10, 2006

I have to work with arather large XML file (about 25Mo).From that XML file (which I CAN'T touch in any manner), I actually need only a couple attributes in each nodes.Parsing the whole XML to load the data will (of course) lead to a "A script in this move is causing Flash Player to run slowly..."Ideally, I would like to browse the XML, only parsing data needed (like you would do in a database...without having to load the whole database before ;-)But I think this is not possible? Isn't it?So, I was wondering: why shouldn't I treat it like a text file, reading it and taking only the info needed from the file?The problem is that I don't exactly see how to do ;-)Following is a copy paste of the first node only...how would you do to read this text and put in an array:name, cloneof and description?etecting the node name, checking that it exists(i.e 'cloneof" isn't present in each node), and filling the array with the value

Code:
<game name="puckmana" sourcefile="pacman.c" cloneof="puckman" romof="puckman">
<description>PuckMan (Japan set 2)</description>

[code].....

View 1 Replies

IDE :: Working On Open Source Files

Aug 16, 2009

I'm trying to learn more about flash, and have found a couple of useful sites.However, I'm having trouble working out how to use their source files, and wondered if anyone here might be able to help please.url...I can't work out how to compile it - I know I need the Five3D files (url...), but even when I download that, and then create a .fla file in the same directory, nothing happens.I am probably missing something very obvious, but I can't work out what to do.There is a .fla file, but there is NOTHING in there that links to the .as file - there is no ActionScript at all I can see if the FLA file, that links to the .as file.

View 2 Replies

ActionScript 3.0 :: Working With Extra .AS Files?

Feb 11, 2010

I have an FLA file that is one frame. ActionScript 3 code runs a few functions and when you click on things, other functions run. Pretty basic...I have some buttons and sprites that I would like to use with the external.AS file found here for tool tips: [URL] for my buttons and sprites.If I save the Tool Tip code at the thread above as 'tooltip.as', how do I use that in my FLA? Since I am using an FLA with Actions in Frame 1, I'm not using 'package' keyword... it just starts with import flash.display.Sprite; and goes on to set variables and functions. I'm not using a document class.

View 3 Replies

ActionScript 3.0 :: Files Loaded On Server Not Working?

Jan 26, 2010

If I run the site locally on a web server, it works fine. BUT, when I upload to my hosted server, it stops working.I have an SWF that loads another SWF, using a relative path and as I said, this works perfectly well until I upload it.Any ideas anyone.. has anyone had a similar problem. Am using Actionscript 3 and publishing to Flash Player 10. Just so you know

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

Flex :: Breakpoints Working In MXML Files

Jul 11, 2010

I am trying to debug the Flex application. I am able to set breakpoints in mxml file, and application breaks on those breakpoints. But when I set breakpoint in as files, I don't see the breakpoint marker, though in breakpoints window I am shown the line no. And when I start my debugging session, the application does not break at that point.

View 1 Replies

ActionScript 3.0 :: Files Not Working Local Vs Internet?

Jul 26, 2010

I had to change my global settings to be able to view my project on my local machine (clicking on index.html and have it open with explorer). Everything runs fine, locally.Videos play, music sings, everything is great.I put it online, no videos will play.All files are where they should be. I've checked 50 times and will do #51 soon.My swf does do some activex calls (this will eventually only be run locally on machines in a wrapper so its like a kiosk)

View 4 Replies

ActionScript 2.0 :: Preloader Not Working In Specific Files

Jan 23, 2009

I have a page in flash 8 that I want to add a preloader to. I have a movie clip with the instance name bioLoader, and this is my code (applied to the bioLoader movieclip, not a frame):

Code:
Select allonClipEvent (load){
total = _parent.getBytesTotal();
}onClipEvent (enterFrame){
loaded = _parent.getBytesLoaded();
percent = int(loaded / total * 100);
[Code] .....

The preloader is on it's own frame and has a stop action on the same frame. There is also a stop action on the first frame of the preloader movie clip. I'm confused because this same preloader has worked on every single other page I've added it to. Another thing is, I believe it is working, but it doesn't show up until the movie is loaded, considering it flickers when the movie plays (and the dynamic textbox shows 100%). In this same swf, I'm loading in text files with loadVars.

View 2 Replies

ActionScript 2.0 :: MovieClipLoader Not Working With Offline Files

Sep 8, 2005

Ok, so here's my problem I've used the tutorial here: [URL] to create a preloader for my external images.. But i have a biiiiig problem The preloader work extra-fine with .jpegs from the [URL] but when i try to use the preloader for a file on my hdd.. and after i enable the Simulate Download feature it seems like thing go really crazy.. Because the trace actions say the jpg is loaded.. But in the main stage, it takes some time for the image to appear.. Dunno what this means, and i thought that some of you might know Here's the code

[Code]....

View 4 Replies

ActionScript 2.0 :: GetURL Not Working When Open .pdf Files?

Jun 14, 2006

when i open the pdf files with the help of getURL function in flash not working.

on(relase)
{
getURL("filename.pdf",1);
}

View 1 Replies

ActionScript 3.0 :: Camera Not Working In Projector Files?

Jan 31, 2011

I've written quite a bit of code around flash's webcam and just found out it doesn't work in the projector files (standalone .exe or .app files). I figure it's a security issue? The security panel asking for access to the webcam/microphone doesn't even show up.

All works fine with just the .swf file, except for full screen mode. This project will be in a museum, so it needs to run full screen, and use the webcam to scan in drawn images on paper.

how to get the webcam to work on a stand alone projector file? Or perhaps how to get the .swf to play full screen? I still need keyboard input to be available to take camera snapshots too btw

View 2 Replies

ActionScript 2.0 :: [FMX04] LoadVariables Need To Be Run Twice

Jan 7, 2006

i'm calling a php file, which is supposed to make an xml file. whenever i call the php file using this syntax, most of the time i get "cannot load file" in the xml loading section, but this updates the xml file.

[code] loadVariables("http://localhost/file.php",this,"POST");[/AS]
but when i do it this way. [code] loadVariables("http://localhost/file.php",NONE,"POST");[/AS]

the "cannot load file" messge doesn't get displayed, and the file loads perfectly, but this doesn't update the xml file.

so everytime i have to first use "this" and then "none".

what can i do so that whenever php is called, it'll update the xml file, and still load in the swf.

View 2 Replies

ActionScript 2.0 :: [FMX04]loadVariables Need To Be Run Twice?

Feb 20, 2011

i'm calling a php file, which is supposed to make an xml file. whenever i call the php file using this syntax, most of the time i get "cannot load file" in the xml loading section, but this updates the xml file.[code] loadVariables("http://localhost/file.php",this,"POST");[/AS]but when i do it this way.[code]loadVariables("http://localhost/file.php",NONE,"POST");[/AS]the "cannot load file" messge doesn't get displayed, and the file loads perfectly, but this doesn't update the xml file.so everytime i have to first use "this" and then "none".what am i doing wrong? what can i do so that whenever php is called, it'll update the xml file, and still load in the swf.

View 4 Replies

ActionScript 2.0 :: FMX04: Why Does CSS Work Alone But Not In App

Mar 1, 2005

When I use the code below it works fine and loads the CSS-file and shows the the html-textarea as it should be CSS-formatted. BUT when I try to put the SAME code into a movieclip within another fla-movie it does not work (loads text but not css) and I get un "undefined" all the time. After trying a lot of different things I've come to the conclusion that it MIGHT have soemthing to do with the .onLoad that gets "undefined" in some way. As you can see below I'm getting two vars from input textfields and then use a button to activate the function loadCSS().

[Code]...

View 6 Replies

ActionScript 3.0 :: MOV Files - NetStream.Seek Not Working Correctly

Apr 6, 2009

When working with MOV files using the h.264 codec and AAC sound I am unable to get netStream.seek to work correctly. No matter what argument I pass to netStream.seek it will always seek to 0. I have this problem on both a legacy as2 and a newer as3 video player I have built. Regular flv work perfectly on both players.

View 1 Replies

Professional :: SWC Files Stop Working In Large Project

Aug 17, 2010

My company is working on a casual game which is entirely made in Flash. To speed up development/compile time we split some of it up into SWC files, for example dialog controls, cutscenes, particle effects are all controlled via SWC files. This was working great up until a few days ago, we have been working on this project for about 8 months with no major problems. However, now all of a sudden, when we compile the game, none of the SWC files work. The game compiles and runs ok, but nothing from the SWC files are working.

The strange thing is that if we remove one of the SWC files from the folder (the game reads all the SWC files from one folder) then the game will work. Even if you remove a SWC which isnt immediately used by the game it will still work. It's almost as if there is some limit to how many SWC files you can have loaded. (There are only 10 SWC files in the folder we are loading from).

View 2 Replies

Professional :: Working With Linked Video Files In Flash CS5?

Feb 15, 2011

However one problem I have encountered is the only way I can make the buttons appear after the video is finished, is by dragging out the single frame of video on the timeline to whatever length in seconds it is multiplied by the number of frames per second.

Is there some way to maintain each linked clip in a single frame and only move to the next frame (which contains the relative buttons) after the video is finished?

View 7 Replies

Android :: Flash - Keep The .apk Files On Phone For App To Continue Working?

Jan 28, 2011

A considerable amount of space is used up by .apk files on my phone with apps which cannot be moved to the sdcard (Adobe Flash and Google Maps). In those directories, there are .apk files. Can I delete these to save space and have the application work as it did before?

View 3 Replies

ActionScript 2.0 :: [FMX04] Swap The Variable?

Apr 19, 2004

Like any of it's simple, but here's what I've got...I'm doing my loadVars, everything's going peachy, but now I want to swap the variable. I've got a bunch of vars in a text file, and here's how I'm doing it right now...

Code:
on (release) {
output1.text = myLoadVar.name2;
}

Now, this works ok, but with as many vars as I'm planning for, I'd like something that I didn't have to make a ton of frames just to have it run.

Code:
on (release) {
output1.text = myLoadVar.(name('prevnum'+1));
}

How do I do this?

View 5 Replies

ActionScript 2.0 :: [FMX04] No Duplication On Firing?

Nov 19, 2005

Im making my first flash game so forgive me if there is anything with my actionscript or my explaining that is messed up.

This game is a 4 player (<--will be) tank game that fires bullets and stuff. so far its working just how i want it to apart from one thing... the duplication for the bullet. This snippet of the script is the bit that should make the bullet firing. if you look at these to bits of script "_root.depth += 1;", "duplicateMovieClip(_root.bullet, "bullet"+depth, depth);" to my understanding the "depth" should increase BUT it doesn't? does anyone know what is going on?

[Code]...

View 12 Replies

ActionScript 2.0 :: [FMX04] Duplicatemovieclip And Path?

Feb 14, 2006

I have following lines inside a function

var u = clips.clip1.getDepth();
clips.clip1.duplicateMovieClip("clip1clone", u-1);

the problem is that clip1clone is not generated. I think it has to do something with path, I have to add somehow a path to clip1clone? I tried 0 instead of u-1 but it didnt work so I guess the problem is with path?

View 3 Replies







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