e4x programming extension is native to Actionscript and makes sense to use it over Xpath or any other DOM interfaces. I would like to know from flex community if they had any bad experiences like performance, etc, or any other gotchas.
I just read a good tutorial at [URL] about creating simple apps with AIR/FLEX. What are some similar pages and/or good books that I can read to move from "beginner" to "novice"?
Web service calls are asynchronous in flex, but I wanted to wrap a web service call in a class to provide synchronous encapsulation. Something like the below - the user could call getMyMethodResult and get the result returned by the web service. I expected the thread that recieved the soap response would populate the variable _result and mean that getMyMethod would, after a time, find _result is not longer null. But it doesn't! Can anyone explain why this does not work?[code]
What coding tools do you use for improving effectivness of programming in FLEX?I found Tr.ace() AS3 Debugging Utility whichme a lot with working in a team of programmersframeworks like RobotLegs and others.
I created a screen(calculator) with bunch of buttons,i can handle button event with one handler.But i want to know that can we do a one handler for all buttons......likein java we can perform the task of perticular button by like this
I haven't programmed in a while, and have kind of lost interest, but I want to get back, and I've enjoyed C# the most, a lot more than objective-c and visual basic. So I want to make some games that me and my friends will be able to play next school year. So basically something you can play on the web.
What programming languages deploy to the web?If c# is possible, and a mac with safari/firefox would be able to use it (I can't install plugins, and I don't want to get in trouble for making myself admin again)Flash, Java, etc. If java does, I'd like that most since it's most like c#. Then what libraries/engines would I use? I want to do 2d. And then what IDE would I use?
what i mean is, is there a way in AS3, or in programming in general(php, js etc) to make an event fire/activate "WHEN" something does something, as oppose to an if/else if / else statements ? for example, say i want to make an event fire /activate ONLY when a frame label is hit, and thereafter , do something else etc, essentially making it do things one by one down the line according to WHEN certain objectives are met.is there a "when" type of statement etc that will do this as oppose to if/else if etc???
for example, using the above example, instead of me doing something like this:
I don't seem to find any decent AS3 book for learning Object Oriented Design.
I checked several ones but most assume that you are an intermediate or advanced AS3 developer.One like AS3 Design & Patterns is good but starts simple and get really complicated quickly. Another 2 are Object Oriented AS3 and Advanced AS3 with design patterns is TOO ADVANCED. Now we have OOP books but not for the little guy with limited programming experience like me. What are my alternatives? A friend of mine told me get Head First Java and learn from there it explain Java but especially OOP for beginners. What do you guys think I should do? I feel it is a shame that I need to go to Java to learn OOP because AS3 books are not for beginners.
So I am trying to get better at putting all my code within one action layer and there is a bit of button code that seems to be confusing me.
Whenever I program a button I use the following code: PHP Code: on (press){ } on (release, releaseOutside ) { }
Now I know programming the on(press) command is done like this: PHP Code: btnName.onPress = function() { }
However I am having a hard time with the on (release, releaseOutside ) code. The only way I have been able to do it is like this: PHP Code: btnName.onRelease = function() { } btnName.onReleaseOutside= function() { }
My question is, is there any way to combine the two onRelease commands?
Let me sum up the game the best I can real quick and then get to the problem. I cannot upload any code because I am under contract. I also know the code is working 100% correct. The game I am working on will have "X" number of large images. The "X" images will then be broken down into smaller images. I have around 3,000 images, all in the Flash Library, classes are named correctly, the files are named and sized correctly, etc. The game works perfectly on images 1-66. When I get to image number 67, the game SWF starts flickering from scene 1 to scene 2 and then back to scene 1 for a non-stop loop. No matter what image I use for #67, the swf flickers. My FLA is around 300MB and my SWF is 102MB.
So, does anyone have any ideas on why adding a 67th image would make the SWF freak out? Could it be some type of file size issue, graphics card issue, virus, etc? I've tried it on multiple computers both PC and MAC.
I'm looking at purchasing a couple of new AS3.0 books, I would say my skill level is basic to intermidiate, and I'd like to push my skills to at least near or at pro levels, what would you recommend?
I am new to Flash and AS-3.0. I am using Flash-CS3 as IDE and AS3 for programming/coding.I have created a ScrollPane component using the following sample AS3 code, which is a sample user-defined function written in ActionScript 3.0:
Code:var sp:ScrollPane = new ScrollPane(); var myClip:MovieClip; var boxXLoc:int = 0; var boxYLoc:int = 0; var boxWidth:int = 140;
From what I understand, ActionScript (.as files) and Action Panel (F9 embedded in Flash) are completely different. If so, which one is better used for game programming and which one is more powerful? Can ActionScript do everything that the Actions Panel can do?
Any pointers where i could start learning flash programming. Also i would be really grateful if you could point me to place where i could get free templates for the programming
I've got in over my head trying to learn programming, but love it.How would you teach a designer to migrate from design to object oriented programming?
My interest is AS3 in Flash IDE, but any advice is welcome. Looking for a full explanation.
I have been learning about classes and oop programming with AS2. I think I have a very good idea of how it all works, but I'm lacking in one final area before I can truly say I'm coding in OOP.Currently, I use a contentmanager class to route all button commands through. This class handles the removal and preperation of the stage for content change, and then seperate classes handle the actual loading and placement of the new content.So in a way, its not really OOP, just very well organized code.
The next step is Event Management in AS2. I know it can be done, I read through a few tutorials, but get confused by it all.What I'm looking for now is two things.. a very good Event Management tutorial or article if anyone knows of any..as well as a sample site that can be downloaded or viewed which has been written using OOP. I want this sample site, to re-evaluate how my current way of programming holds up compared to more proffessional examples...
(Perhaps even we can turn this into a hot thread with examples of code and structures to help other developers trying to gain a grip on OOP..?)
I have created a function which spawns a enemy out of the library random upon any of the four corners of the stage. But know I want to add individual AI to each one: This is the random spawn:
[Code]...
How would I go about such a task. Btw if you have trouble understanding the mechanics of my messy code please say and I'll do my best to explain it.
I'm a programmer familiar with object oriented programming, with experience in C++, C# and the MS Visual Studio development environment.
I've been tasked to create a web based game using Flash CS4 and ActionScript3. I am new to Flash, ActionScript and game programming. I have never used previous versions of Flash or ActionScript.
The game will be a single player role playing game. The player will have the ability to create an avatar. The player will move the avatar from screen to screen based on button clicks or drag and drop onto objects in the current screen. Players must register, and player information will be stored in a database backend. Additonal data will be saved to the backend database during game play.The saved data will be based on player actions in various screens, and in some cases data entered in a form on a screen.
For a first pass a stick figure avatar and screens containing simple buttons and simple objects to drag the avatar to will be sufficient. I would like to store data in a database tracking date/time information, e.g. date/time each screen is entered/exited.
Poony Script is a new programming language for Web, working with proxies between Flash Player and ActionScript 3, and a powerful performance and high flexibility of development, in addition to being free and unrestricted.URL...
am working on developing and programming for games, having 2+ years experience. Now I want to learn more about Flash Lite and 3D Graohics Programming. me some of the best sites I can check and especially some offline resources/trainings