ActionScript 3.0 :: Take Advantage Of FP 11 New Features?
Oct 18, 2011
I'm compiling with the SDK 4.5.1 (latest I think) in FlashDevelop, and I have the settings of the project to export for Flash Player 11. I also have set the wmode param to "direct", and my browser flash player is version 11 also.
Is there anything else I should do in order to use the Flash player 11 hardware acceleration features. To be honest... I can not see any difference in my game between flash player 10 or flash player 11...
Is the only advantage that you can now create the XML files using a database, or a script,Or is there something else? Because reading the XML files (through AS) isn't easy at all !
I'm pretty familiar with using Adobe Flex & AS3, and compared with writing apps in JS/HTML I think it's very cool. However, since AIR is essentially a non-browser version of Flex with benefits like local storage, it seems to be competing as a cross-platform desktop application platform... and in that space it's much less mature than more established desktop technologies.
So what's the advantage of creating a desktop application using AIR compared to something like Java (or C++ using a cross-platform GUI library like wxWidgets)? Java's equally capable of communicating with the server for instance, I'm not quite sure what AIR adds when competing head-to-head in the desktop development world?
This might be a very stupid question, but I have to ask it anyway. I am graduating in about a month and while studying, I have always been taught to use properties instead of public variables. So I started wondering what the advantage was and I must say that in some cases, I have no clue at all. Of course it is handy when some other logic needs to be executed when setting properties or getting properties, but is there any advantage to using properties when you are only getting/setting a variable? An example of what I mean is shown below (As3).
Is there an advantage/disadvantage to designing multimedia (for example a simple animation with music) using fully as3, or is it the same as using the the editor (timeline)? will it boost performance/speed to code the tweens, clips and textfields?
Is there an advantage to store loaded images into a sprite?
var container:Sprite = new Sprite();addChild(container);var pictLdr:Loader = new Loader();var pictURL:String = "banana.jpg"var pictURLReq:URLRequest = new URLRequest(pictURL);pictLdr.load(pictURLReq);pictLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded);function imgLoaded(event:Event):void{ container.addChild(pictLdr.content);}
I've been teaching myself actionscript 3 over the past month or so and recently ran into an issue where an object kept doing things after I thought it had been removed. I figured out that the problem was caused by an event listener using the default of useWeakReference = false and I'm wondering why that's the default. what is the advantage to not using a weak reference? and why is that the default? it seems to me that in general you'd want to use weak references, so I must be missing something.
Because of the inability to create Vectors dynamically, I'm forced to create one with a very primitive type, i.e. Object: var list:Vector.<Object> = new Vector.<Object>(); I'm assuming that Vector gains its power from being typed as closely as possible, rather than the above, but I may be wrong and there are in-fact still gains when using the above in place of a normal Array or Object:
I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
1) What is the advantage of writing a SSAS file over an external AS3 file?
2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?
I'm now trying to use the new file features in Flash 10 but I'm getting this error when I try something like fileRef.load(); ReferenceError: Error #1069: Property load not found on flash.net.FileReference and there is no default value.
I have started developing a simple app in flash cs5I have an idea which i wish to implement.Could you guys tell me if its possible if so how to do.I have a blog ,when ever there is a new post(images +test) in that blog.Is it possible to view it in good UI within the mob app(developed in flash cs5) can it be done in ASAlso i have an picasa account were my pics are public i would to view it in a small gallery within the app with good UI.
I'm trying to put together a Product Features Application, which allows visitors to our Website to view what their product will look like with add-on products via a simple checklist, and image layering platform. So essentially:
- Visitor see's the main Product (Fireplace) on Website Page- Visitor sees three Lists containing Checkboxes below the main image- Visitor clicks one checkbox from each list, and sees that ADD-ON product added to the main image above (so that they can view what the product will look like). I'm using CS4, and I'm slightly new to Flash.
What are some of the hidden features of MXML? What existing features are not well known but very useful?MXML being used in Flex Framework became quite popular language because Flash Player is something every PC has and Flash Builder and Flash Catalist are quite popular Adobe programs.specify one feature per answer, and read all answers before posting a dupliate.It's not always a great idea to use these hidden features; often times they are surprising and confusing to others reading your code.
I found a lot of interesting info in the 'hidden features of...' series. I am very new to cairngorm . What are some of the hidden features of cairngorm.
I am considering upgrading my copy of Flash Builder to 4.5, and would like a list of the new features in the new version before I commit. I have heard that the ASUnit tests integrate better than previously, and that there are some nice features like quick fixes, is there anything else? Finally, based on your experiences using it, are there any shortcomings to look out for / avoid?
I know how to create a FLV player in FLASH - But how do I add other features in the right click menu when a visitor hovers over the player? Like my own domain name & a toggle full screen and more.
I heard somewhere that the introduction of CS4 released some new AS3 features that Flash CS3 didn't have. I haven't been interested in learning what they were until now. Is this some mistake on my part or did they really release new features?
I'm trying to build a little app that will show a car/motorcycle with various X/Y coordinate points on it. When you hover on those points, some information about that part of the bike/car comes up. Kind of like a feature list. I've seen it done in several places before, but was hoping to find an example of how it's done.
I was hoping i could get some assistance. I need to create a survey as an executable file and thought of doing this in flash. There are 4 pages. 1st would have basic info and allows the user to select one of three options.. which will then direct them to the next 3 pages respectively.. eg Option 1 would be page 2, option 2 page 3, option 4 page 4.
My question is can the flash file allow the user to input text data and retain it in the file, also upload an attachment. I suppose the best way i can descibe it would be to think of it along the lines of having a word document.. so if you pretend the word docucment is the "Survey software" file.. then when you open word it has questions and hyperlinks to other pages.. and you can also insert/embed other files into it.. Then when you save and close it, its just a word document which contains other files inside. Am i completely on the wring track of thinking to use Flash to do this?
[URL]. In this project, a tile list of a dozen motorcycle thumb images should show up on the right side of the stage, and when clicked, a large image and descriptive text should tween into center stage. The .fla project works perfectly when compiled to a swf from within Flash locally. When published live on a website, it's partly inop. All of the images and information are in an xml file. All images are actually on the server, and in a few places simultaneously...
The root, the 'images/' folder where the xml actually calls for them to be. No images show up. Also, five album cover art thumbnails should populate another small tile list at the bottom. Now, the music plays when you click a phantom tile list item, so that proves the xml is kosher. but none of the motorcycle images show up at all, not even the tile list 'chrome'... yet the chrome for the album art does show up. Creating nice swfs is one thing, but it's all for naught if I can't publish 'em live.
I have an FLV that i'm trying to import but I get this
WARNING: This movie uses features that are not supported in the Flash 7 playerSymbol=1.flv, layer=Layer 1, frame=1:VP6 Codec requires Flash Player 8 or higher.
Apparently Adobe added more features in flash video with each successive flash version, so earlier versions of flash video are only compatible with the same earlier version of the flash player. I'm trying to find out which video features are compatible with each of the flash players. This is because I want to create video for the lowest possible version of the flash player, so more people will be able to view it.
In a market where everyone gets a cut, adobe is claiming that charging will make flash better, but from where I am standing it makes it worse. For example if I am using flash to develop a Facebook game, Facebook already takes a 30 percent cut, then on top of it having to pay 9 percent to adobe? that's a huge deal and an immediate turn off.Now they say that air will be unaffected, but I can only assume that if air on mobile becomes at all successful, what will stop them from doing the same?
I have been an enthusiastic flash developer for years and have been fully behind air for mobile development but this move may be a death blow as far as I am concerned. Adobe, if you care about your feature, please don't do this . . . You will drive people away from your product instead of bringing them closer.
I am thoroughly surprised that there is no Flash Hidden Features post yet in the Hidden Features series that I've been tracking for a while now. There is a recent AS3/Flex one but it's not very active and I don't exactly mean just AS3 when I say Flash here.The Hidden Features series is great for people who are new to a certain language. It shows the ropes and certain valuable tricks, all in one place. I think it's a brilliant idea. Even experts sometimes find tricks they'd never heard about.When I started with Flash, I was taken aback by the Flash IDE and odd concepts of Flash, compared to other programming languages.what are some hidden features of Flash as a language (AS2/3) and the Flash IDE?
I have a page that uses the jQuery.swfobject plugin to embed 5 flash items into a page and each flash item has a callback using externalInterface. The callbacks work when I have the js function outside of $(document).ready(function() but the jQuery animations do not fire - the ajax load however does. Does anyone know how to get the animations working too, code below:
function pageLoader(galID) { $('#menu').hide(); $('#holder_gallery').load("feeds.php", {gallery: galID}, function(){
I am looking for a Flex datagrid component that has features like grouping, sorting, master/detail display, etc. I am having an application in C# that uses XtraGrid suite to achieve the required datagrid features. I am planning to migrate this application to Flex. If there is no flex component readily available with XtraGrid features, then I have to create one on my own