Apparently, in Flash 10, you can use the GPU to calculate shaders, and if the user doesn't have a compatible gpu, it falls back to the cpu.
The problem is that the cpu is very slow to calculate the filters, it would be nice to detect if it can't use the gpu, and use fewer effects.
Is it possible to detect using actionscript if it's using...
Asking on behalf of my coworker:
We're working on a Facebook app that uses Flash 9 (and Flex, but that's not really relevant).
We've got a fairly complex system of drawing an object with accessories over it, where the accessories can have arbitrary scale, rotation, and position relative to the base object.
We recently started adding m...
Hi,
I am using Flash Develop, and I have created an ActionScript 3.0 project. It starts and read an xml file, which contain urls to images. I have left the urls relative to the same folder as the swf. OK, so I publish and I have a compiled SWF and this is inside the bin folder. If I then copy this folder, e.g. to by publish folder, ...
I currently maintain an application that's written in Flash 8 (AS2) which is used to embed and control some auto-generated SWFs. The auto-generated SWFs are also Flash 8 (actually, they work at least in 7, possibly even older), so my current app is able to directly reference variables and functions within the embedded SWF.
We're now wo...
I've been using flash for a long time, mostly as an animation tool with a little dabbling in actionscript. Over the years I've moved from mostly making animations to mostly making small flash games or proof of concepts in my spare time. I've been very reluctant to learn as3 as I am not much of a programmer, but a friend of mine convinced...
I have 5 movieclips called row1, row2, ..., row5. Inside each row are the movieclips let1, let2, ..., let15. I want to assign all of the letter clips to a 2 dimensional array. This is a followup to an earlier question http://stackoverflow.com/questions/538133/dynamically-accessing-nested-movie-clips-in-flash-actionscript-2 .
I am t...
I found a Flash program online that would be perfect for a project I'm working on. Obviously with web content you can usually just use your browser to view the source code of whatever HTML, PHP, etc that you may be looking at. But when it comes to Flash it seems we're left in the dark in terms of viewing source code.
Is there any way to...
Hi,
I need to get the bit rate of a mp3 file which is being streamed as a netstream object in flash action scripting. I am using Flash Media Server 3.2.
I need the bitrate to calculate the duration of the mp3 file using the formula:
Duration = file size in bytes / bitrate
...
I need to get text segments from separate word documents into flash text elements.
Is this possible? If so how?
...
Hi! I'm developing a red5 application. I have to retrieve some data from the database and I want to use JPA to do this, preferably the toplink implementation?
I know that red5 deploys application with Spring and I also know that I have to configure the red5-web.xml but I don't have any idea how to do this.
Does anybody here know how t...
I have an swf file which behaves strangely on IE. The thing is that a certain rectangle doesn't get drawn when viewing the page after the first load. It only appears in IE and a quick fix is to make the path to the swf unique on every request so it doesn't get cached. The rest of my objects gets drawn every time.
The code is very simple...
I remember looking at a couple information visualizations tool a while back.
One was written in flash and the other in Javascript.
They both allowed you put notes in "bubbles" and then link them to other "bubbles".
Clicking on an existing bubble brought it to the front and rearranged others around it.
The JS one was particularly inter...
Is there a library for converting strings in as3 into the application/x-www-form-urlencoded format?
Specifically, I am looking for the same functionality as the java URLEncoder http://java.sun.com/javase/6/docs/api/java/net/URLEncoder.html
Unfortunately, as3's escape and encodeURIComponent functions don't do it. For example, lots of %...
How do I set the focus on a SWF embedded in a page using Javascript? I tried to use the usual method but it doesnt seem to work...
...
Ted talks of a "Player Cache" existing within Flash Player 9.3 that allows the Flex components to be reused across domains.
It would be an extra-benefit if my components can be reused across my multiple websites.
Is this Flex only? (all code passed thru the Flex 3 compiler "mxmlc")
Will Flash AS2 components be cached as well?
Will Fla...
I am having trouble importing a Collada file in Papervision3d. I have done an exhaustive Google search to no avail. All the examples and tutorials end with errors, be they "Can't find materials" errors or simply not showing the file at all. I have tried many different types of Collada files, including a lot of Collada's own from their te...
I work at a small website building company and on one of our clients website we have a flash animation in the banner. The animation is rather chunky being 4 megabytes. The client has recently requested a rebuild of the site which would again include an animated header. We were thinking about this time not building the header in flash (or...
I've been given a site layout and a flash navigation to incorporate which requires transparency. However, using wmode='transparent' the results are highly inconsistent across browsers using the latest Flash 10.
In IE7 the sample page works perfectly fine.
In FireFox3 (Win) the colors are incorrect in the flash.
In Safari/FF3 (Mac) the ...
Has anyone noticed how creating new instances of a MovieClip (and likely other objects as well) in AIR causes some strange effects? If you use Senocular's method by grabbing the object constructor and creating a new instance of the MovieClip, you end up with a new MovieClip with 0 frames. I don't want to draw bitmapData's of every frame ...
I have an application with a WPF WebBrowser control which displays a Flash file. The flash file is used for WebCam/Microphone chat. At the moment, everytime the flash is loaded it displays a dialog box asking for permission to use the microphone and camera.
How can I fake a click on the allow button to stop hassling users with this ques...