ActionScript 3 :: Differences Between The Two Platforms?
Dec 13, 2009
I have been moving over to JavaScript (esp. canvas) from Flash / Flex / ActionScript 3 (JavaScript is a more open platform), and I was wondering if anyone has any advice on differences between the two platforms, important things to note, pitfalls, optimizations, etc.
I've been out of multimedia development since then, but have started dabbling in Flash. The version of Flash my company currently owns is old--Flash MX. It's old, but has been good enough to prototype some ideas that I have.My boss says he's willing to upgrade my version of Flash and send me for training, but before he does so, he wants me to confirm that Flash is the best platform for me to learn.So that's the question: what's the best development platform for multimedia development? I've been reading that people predict Director is on its way out, even though it's more powerful than Flash. I've seen people mention AIR and FLEX, but I don't really know anything about them.
I want to put an IRC client in my webpage. I know there are many clients but not opensource ones (I didn't find any). So, do you know some free and open source projects to implement an irc client on a webpage? I mean is it a good idea to have one made in flash?, one made in html5?, one made in javascript/php?.
I have designed "the core" of the application i am working on ( it communication with the server, data processing, etc. ), and now i am a bit stuck on the User Interface, because i wish it to be specific, and probably different on the different platforms it goin to run on ( PC, tablet, gsm ).
My question basically is How to separate the "core" of the application, which must remain the same for all of the platforms, from the UI's which shall be very different applications ?
how to embed Japanese fonts from XML into a Flash website? http:[url]....(referred to this to embed font).MAYBE the following tutorial can work! but i don`t understand how to implement it using Japanese fonts.http:[url]....
We have a requirement to create a video demo of certain products. What is the best way to make sure that the video plays on as many browsers as possible on all popular platforms (on Windows, Mac, Android, and iOS devices)? Current implementation: we just have Flash videos that load in a Flash player.
how to embed Japanese fonts from XML into a Flash website? [URL] MAYBE the following tutorial can work! but i don`t understand how to implement it using Japanese fonts [URK]
I am using AIR to make a little installer. How would I go accessing a file in there application data folder for all platforms? When trying to access it directly it works just file.
I am in the process of creating a vertical scrolling space shooter game for deployment on mobile platforms using AIR.I've used some excellent tutorials online, video tutorials on Lynda and several books, including Game Programming University.Something they all seem to gloss over are the various screens that will be used.
For instance, my game right now will use a splash screen, a main menu screen, a credits screen,a settings screen, a difficulties screen, an instruction screen, an end game screen and save/load screen...and a play game screen, where the actual game will be played.I've created the screens as seperate frames in the main timeline with stop commands in between and code on each page (I know... bad!... but easy).So basically,they can navigate through the menus using buttons (mouseclicks, which will work with touchs as well) and when they are How do I pass data between them? I was thinking of storing it in shared object.
I have one that's almost done and the stage size is 700x800 px. But I'm starting to worry if that's going to look too small? To change it, will be a lot of work - there's animation, imported Jpegs etc. As far as I can tell, in order for it to look correct in larger dimensions I will need to basically create it again from the ground up. So, I'd really like to get an idea of what the optimal pixel dimensions would be for ecards to run on multiple platforms.
I really want to do this and I don't feel like I can move ahead until I get the viewing size correct. I don't even mind redoing the card. I just want my future cards to be the correct size. I don't want to have to come back and redo them all. By the way, the cards are being made in Flash. The site itself will be created in DreamWeaver.
I'm developing a simple Flash animation using Flash Professional CS5 and I'm writing some ActionScript code. I noticed there's a choice between using different versions of ActionScript.Wondering what the key differences are between 2.0 and 3.0...?
From a developer's point of view, are there other differences between Flash and AIR to take into account, apart from the certificate and AIR not supporting ActionScript 2.0?
I recently learned beginner grade skills for AS2 via Macromedia Flash. it had only AS2 so i thought i'd be good to programin that.well i completed my project (a minigame for a bigger game was the first time i programmed ever actually. Was really fun and you can find my "work" in the attachment) changing to adobe flash on the way its what the workstations in my u have. well i there saw actionscript 3 too. also, sometimes when i asked for help on here they told my i "should switch to as3" soon. now im about to work myself into as3 but first I'd like to know.what are the main differences and could someone show me a code in AS2 and the same code in AS3 or link me to a tutorial that makes good use of AS3 (possibily by using AS2 references to clarify the structures?)?why is As3 "better" than AS2?
i'm a student and have to code a flash game in AS2.0. I found a really good tutorial, which helped me to understand, how to code. The Problem is,the tutorial is written in AS1.0 and i don't know the differences between AS1.0 and AS2.0.
I used Jamie Durrant's tutorial for making a chat bot in flash. Everything works fine, but one thing which makes the bot remember people works only if the fla file is published in Flash Player 6 version. There are 4 symbols: a button, user, reply and custid: user is the textbox where the user inbuts the text, reply is the textbox that displays the bot's reply and custid displays the id of each person. If the version is newer than flash player 6 it says "undefined". It's a local shared object, I think. Could this code be edited to work in later versions or I have to stick with flash player 6 (the graphics are worse even at lossless compression)[code]
We have lots of log information (syslogs, database logs...etc) which is in CSV format. I need to present this information to key management about the activiites from the logs in Visual format but still has dynamic links. For the management sake, I need this application to be cross platform (Windows, MacOSX, Linux).What tool do I need to use Flash, Flex or (something else like Java)?
I have created a flash 3d racing game which relies heavily on AS3's Math functions (sin, cos, tan, asin, acos, atan). It also makes heavy use of Matrix3D and Vector3D functions. The game works great on a PC, but the cars flip around and display innacurate positions on Mac computers. I know this is an issue due to the note on the Math docs page: [URL]
which states: "Note: The Math functions acos, asin, atan, atan2, cos, exp, log, pow, sin, and sqrt may result in slightly different values depending on the algorithms used by the CPU or operating system. Flash runtimes call on the CPU (or operating system if the CPU doesn't support floating point calculations) when performing the calculations for the listed functions, and results have shown slight variations depending upon the CPU or operating system in use."
how do I get this game to work on a Mac? I've tried using lookup tables and inline FastMath style approximations. But lookup tables still create the same problem, and the inline approximations I have found are not accurate enough for my game. I've also tried rounding values with floating point errors, but that has not seemed to help (in my implementation) either. I think the specific problem is with the use of Math.atan. I have not found an accurate approximation for this.. but I maybe that is not even necessary.
I have two text boxes on the same window. They are both set to Arial 14 Regular but they both appear very differently. To see what I am referring to: [URL] and go to the Conversion Tools at the bottom of the page. Click on Surface Finish and type in a value in the two different fields and click calculate. I really don't see anything that could be causing this difference in appearance.
I'm currently upgrading an app from Flex 4.1 to 4.5.We've noticed that the Arial font is rendered differently between the two versions when used at small sizes.Here's a simple app example:
i've got a large video (48MB) that after 7% is loaded, it starts playback. on a pc it takes 10 seconds before it will start to play and it plays all the way thru with no problem. on a mac it takes 30 seconds before it will start to play and sometimes playback is choppy. why does this happen? what are the differences with playback of video on a mc and pc? is there some way i can get around this?
I'm not really good at figuring out how to do some things in Actionscript and I'm confused about looping throught functions with thins like eval. Here's my code :
[Code]...
I'm trying to loop to dynamically create functions. I have 5 boutons and I don't want to duplicate 5 times the same code. This code works but I don't seem to be able to use the same eval trick on the variable "blnBtn05". Anyone knows why and how can I be make it work?
I found two difference that I feel might be important:
-If I decide to put the variables within a constructor, then I must have an object parameter for any function that wish to alter the variables, even if the code is internal to the class.
-Subclassing would cause the variables to not appear, something that causes problems when the class and any subclasses must have the variables in order to operate properly.
I am working on a project where I need to load a remote swf file into another using flash and as2. This should be simple, but the remote swf file is modular by design (i.e it needs to make calls to load other swf files into it) When I enter in the location to the remote swf file from a web browser it has no problem loading up. When I try and load the swf file using flash I get errors relating to the file system. It seems the flash being loaded into my flash is trying to load its other pieces and is looking for them on my computer.
I'm still struggling with memory-leak problems in the mega-project I talked about earlier (a children's fashion 'virtual showroom', where up to 600 videos and 3600 hires images can be viewed in one session).I'm monitoring memory use like this:
I cleaned up a lot of code, reusing objects whenever I can, and removing references (nulling) whenever I can, and I'm now at a point where memory usage is 'under control' on Windows machines, but not so on OSX machines.Results only vary slightly between various browsers on the Mac, and Firefox seems to perform the 'best'.The fact that there's such an obvious difference in memory leaking on Windows and on OSX, leads me to believe that my code is now okay, and that I'm hitting on differences in Garbage Collection-behaviour between the Windows Flash Player and the OSX Flash Player.Should I advice my client against the use of Macs (eventhough they just bought 60 MacBooks just to run this application on) because of this?
I have the following code,[code]This works great in Windows. Changes the color of the object.I tested in Mac too. It works great there too.But today I tested it under linux and the color isn't changed.I am using the latest flash player in all the testings.
I'm trying to hunt down some kind of class conflict I seem to be having when using TweeLite easing and found out the same code that errors in a document class works fine if I place it in the timeline. Example - this works in frame one of the timeline: