Actionscript 3.0 :: Place Several Level In Source Code?
Dec 12, 2011how do i place several level in this source code ??
View 2 Replieshow do i place several level in this source code ??
View 2 RepliesIve got one index-file on _level0, from which I load another file into _level1, on top of _level0 covering it completely.
I would like a single (not all) object on _level0 to show on top. Is that possible?
Layers would only work, if Im not misstaken, on a single level, so I guess thats out.
Ive got one index-file on _level0, from which I load another file into _level1, on top of _level0 covering it completely. I would like a single (not all) object on _level0 to show on top. Is that possible? Layers would only work, if Im not misstaken, on a single level, so I guess thats out.
View 4 RepliesI have attached a simple test fla.I am trying to centralize my code in all my movies using dot notation instead of spreading my code all over the place. It never works, I must be doing something wrong.The test .fla has a movieclip with a timeline animation. I used the linkage identifier to name it 'reload' AND named the instance 'reload'.
_root.reload.onRollOver = function() {
this.gotoAndPlay(2);
}
The pointer doesnt even change to a hand.
Is there a way to clear a loaded swf from a level without loading something in its place?
View 4 RepliesFor a game where I have a different level on a screen how do I do this? Do I need to erase the stage and place a new level on it or is there a wat to have another stage?
View 5 RepliesI am new in flash but because I was programmer I could learn action script quickly but I need some professional source code and example to reinforce my infrastructure in flash so could you please introduce me a good place for download or see these sources?(I need to expand my exprience throught these kind of sources )
View 3 RepliesThere is such a wonderful source http[url]....but it does not get integrated into Flex. Are there other examples of an animated tag cloud?
View 1 Repliesi need help in converting the below code from Actionscript 3.0 to Actionscript 2.0. The below code is a simple panorama viewer programmed with AS3.
[Code]...
I need to find a way to pull the source code from an HTMLLoader object.I can't use URLLoader because the user needs to see what's on the page... is there a way I can do that? I've gone through the docs for HTMLLoader, but can't seem to find anything that would let me natively do that.
View 0 RepliesI think i must be missing something very basic about packages and classes. I am often downloading source code from people who offer there source code on the internet. I think this is a good way to look at what people are doing and try to understand the code. Ideally I want to see the program in a .fla, see it in action when I "ctrl enter" and play with the code to change some things and learn a bit.
The thing is it always seems to be just .as files with public and private package/class code and never an actual .fla with the actual program. This is probably a really stupid question but is there a reason for this?
Does anyone know of an online tool for color coding AS3 syntax for display in HTML? It's for a portfolio page and I would like to show my source code, but actually have it color coded properly in the HTML.
View 1 RepliesI have a class. Inside the class are two public functions. One calls this:
MovieClip(root)["bmc"+PuzzleGlobals.puzzleAbbrev].addChild(this);
And the other calls this:
MovieClip(root)["bmc"+PuzzleGlobals.puzzleAbbrev].addChild(fwgame); fwgame is declared like this (before the addChild): var fwgame:FireworkGame = new FireworkGame(); trace (fwgame); //traces correct object
trace (MovieClip(root)["bmc"+PuzzleGlobals.puzzleAbbrev]); //returns a 1009 error
The first line of code works. The second line returns a 1009 error, "Cannot access a property or method of a null object reference."
I can code things fine myself but I've never used anyone elses code components to build something. I need to make a magazine that has a page fli effect and someone pointed me to Rubens flex book component (I'm assuming I can use it with flash). I've downloaded the zip file but I'm not sure how to actually start making my book. Everything is in different folders, because I assume they all are interlinked and are specificied with their paths within their classes.
I'm thinking I need to make a fla and then a document class and link that to the fla. But what do I put in the document class?
I created a Jing video to describe my problem. In short, I'm not sure how external AS3 scripts are supposed to referenced, though I did get it to work in AS2 years ago.
View 3 RepliesFlash components (such as CheckBox, ComboBox, ScrollPanel and the like) are tremendously buggy.As an average, for every hour of normal coding with ActionScript, I spend 3 extra hours designing workarounds, tweaks and hacks to fix unexpected behaviors due to bugs in the components (when I don't use components, it is just 1 hour of extra work designing workaround,tweaks and hacks to fix unexpected behavior due to bugs in the flash player and/or AIR runtime for every hour of normal work).As far as I know the components(runtime) behavior is entirely coded in ActionScript, and searching my hard disk I've found what seem to be the source code in places such as
C:Program Files (x86)AdobeAdobe Flash CS5CommonConfigurationComponent SourceActionScript 3.0.For example, source code for the classes belonging to the fl.controls package appears to be located at
C:Program Files (x86)AdobeAdobe Flash CS5CommonConfigurationComponent SourceActionScript 3.0User Interfaceflcontrols
So I thought I may have a look at that source code and see if I could be able to find the source of some particular issue and maybe even correct it.I know the risks.But after modifying,for example,ComboBox.as in the abovementioned folder, simply adding some dummy trace()s just to see if it worked, it doesn't seem to work. I created a fla file, placed a ComboBox and tested it, but I cannot see the trace printout I added. I did "delete ASO files" but nothing changed.So how do I tell Flash to recompile the components?
Does anyone know where I can get a hold of the FlexMonkium source code? I can checkout the FlexMonkey source but I cannot seem to locate the FlexMonkium source.
View 1 RepliesIs there any way to pull down the source code for a page using actionscript 3?
For example, it goes to google.com and downloads the source code for it, then stores it in an array or string. Would URLdownloader work?
How could one do this?
Please is there any open source solution that can help me to secure the source code of a project that is developed by too many developers from being copied of stolen by the team member?My Boss asked me to find a solution that put all the project in the server and allow all the developers to develop on the server from their computers, is this possible?
View 1 RepliesOr if there isn't any, does anyone have source code or thoery on how to make a diagonal wall for an object to bounce off of? I have ideas, but I'm not sure if they are as efficient as some other ideas may be.
View 2 RepliesWhat is the best way to protect the source code in a .as file? Right now if you access the .as in a web browser the source code is displayed. The problem is that when the .swf file is loaded on the client's machine, so is the .as file.
View 4 Repliesif is possible to generate a source code from a FLA file?
View 2 RepliesI am working on Flash Components (which is a compiled component). Now i want to get the source code of that. is this possible
View 1 RepliesI have got the error
PHPCode:TypeError: Error #1009: Cannot access a property or method of a null object reference. at sound$iinit()[sound::sound:2]Cannot display source code at this location.
Here's a sample code I tried to create an instance via AS:
PHP Code:
var a:MovieClip = new ball();a.name = "test";addChild(a);a.x = 200;a.y = 200;trace(a);trace(a.name);
It works fine, the ball shows up on the stage. Nothing's wrong with it until I try to debug (Ctrl + Shift+ Enter) to understand it clearer and here's what I got"
Code:
Cannot display source code at this location after the line
Code:
var a:MovieClip = new ball();
if i make a new fla movie, and place this code on the first frame
Actionscript Code:var txtFile:String = "http://localhost/php/Portfolio/home.txt"; var urlRequest:URLRequest = new URLRequest (txtFile); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, loadHandler); loader.load(urlRequest); function loadHandler(e:Event):void [code]....
I would like to hear from experienced AS3 users: are there any kind of rules or 'good behavior' on where to place a code for files. Should one use *.as files instead of frames to place code? I mean, yes *.as file is pretty easy to track and modify. But there are a lot of stuff that could be done using frames.
View 5 RepliesI am working on Flash Components (which is a compiled component). Now i want to get the source code of that. is this possible
View 1 RepliesDoes Adobe had releases the source code for the components that comes with Flash CS4 (fl.controls.*). If not, is there any way to use the Flash component library with another IDE like FlashDevelop for code and compile the flash applications.
View 1 RepliesI am putting together a presentation on flex for adobe user group that specialize in coldfusion. In my example I would like to display the text of the cfc being called from the webservice tag in my flex application. Is there a simple way to load the actual text for the cfc instead of the html that coldfusion is passing back to my URLloader variable?
[Code]...