Hi guys,
I'm working on a big flash site with lots of component swfs and a ton of heavy multimedia (video, audio, image) content. File sizes are quickly getting ridiculous and I'm looking around for solutions--I want to minimize user wait time as much as possible (and my art direction is such that minimizing multimedia isn't an option)...
On XP in Firefox, I load a flash button in a layer that sits above a scrollable div in the z-index. When my flash button is over the background of an empty scrollable div it does not respond to mouse clicks. If I drag the layer so that the scrollable div is no longer behind the flash button, it works as expected.
Anyone have any insigh...
This is a test program to measure the time it takes Flash to draw a triangle 10,000 times.
The app (code below) calls runTimeTest() every N seconds which draws the triangle 10,000 times.
Now for the "interesting" part: each call takes increasingly more processor until after about the 6th or 7th call it goes to "infinity" (see screen sh...
In an AS3 project, we can access loaderInfo in the first line of the root class' constructor. This means that the entire AS3 application can take advantage of the loaderInfo object.
However, in Flex, it seems that the loaderInfo object is not available until after the applicationComplete event is sent. This is problematic for me, as o...
I've got to construct a basic xml file listing website assets (pictures and text strings) that a flash photo gallery references.
I'm using a Mac and OpenOffice. I've got Dreamweaver, dashcode, and a couple of open source IDE's. I'm not a programmer, so scripting gets a little difficult.
I'm hand typing the file right now, but the task ...
I am looking for a suitable package (free or otherwise) to duplicate the functionality (mainly in visual department) of IBM's Many Eyes Visualizations Bubble Chart in our app. Below attached a screenshot of what I am talking about. Ideally it does the following:
Renders with ether flash or javascript.
Ability to generate graphs at leas...
I have a dynamically created slider with AS3: s
I can reference the thumb by s.getChildAt(1) ~ that took me quite a while to figure out!
But how would I assign a new graphic to it?
:-/ Hmm.
...
here's my AS3 code:
var jpgEncoder:JPGEncoder = new JPGEncoder(100);
var jpgStream:ByteArray = jpgEncoder.encode(bitmapData);
var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest("/patients/webcam.aspx");
jpgURLRequest.requestHeaders.push(header);
j...
I have 2 flash games (written in as3). Both the highscore value being hacked. The normal range of each game score is not more than 5000 (normal users, will only get 2000 - 3000 points). My current method of anti-hacking is:
After finish the game, flash will use post parameters send: username=mike&score=2000&hash=md5(secret . username . ...
I know I can load and display an external image like so:
var loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
var container = new Sprite();
container.addChild(loader);
try {
loader.load(new URLRequest("http://www.google.com/intl/en_ALL/images/logo.gif"));
} catch (e:Error) {
trace...
Hi,
I'm trying to set up a preloader to show the load progress of the main swf, which has all of it's assets embedded. I found the factory class method as described on bit-101, but no load progress ever seems to show. The swf loads fine, but the bytesLoaded is always equal to bytesTotal and therefore the preloader is never called.
This...
Ok, so this might seem like a stupid question, please try and see my predicament (at least that's what I tell myself):
I have a flash, which loads button with Actionscript 2.0. Now, my swf is no longer than 1 frame, and in my Actionscript, I refer a lot to _root.
Is there a way I can preload my movie without interfering with the _root ...
Hello folks,
can someone tell me how I can manage to give single words inside a DataGrid-CellRenderer a different color than defined by the TextFormat for that CellRenderer? It's not how to get these single words, it's how to use more than one color inside one cell...
...
How to stream video over Socket Class (or XMLSocket) with ActionScript?
or\and
How to do it using Socket Class (or XMLSocket) in AIR?
...
I have a test site up here and as you can see, the Flash movie plays fine. But when you navigate to an inside page it does not. The flash movie has an action in the native file that references an xml file to list the images. So why wouldn't the inside pages do the same?
...
I have a web service running in http://server/abc/service which is being accessed by Flash from a different domain. I deployed a cross domain policy file to http://server/abc/crossdomain.xml and made the Flash load it using:
flash.system.Security.loadPolicyFile("http://server/abc/crossdomain.xml");
in the constructor of the main movi...
Hello,
Thus far, all the Android applications I've worked on, are multimedia-oriented. In this context, support for Flash in Android is very intriguing topic for me (and many others, I believe).
Do you think that HTC Hero's Flash in the browser is strong enough indication that, at one point in the future, Android will support the Adobe...
I herd about RED5, but unfortunately I can't find any examples for feeding it with external source. I know RTSP is in development, but I'm thinking about (named) pipes or something like this. There is is also project named xuggle that is as far as I understand ffmpeg wrapper for Java, but I herd they have also problems with live streamin...
If you have two text areas with different styles (fontFamily, weight, color etc) and you copy text from one to the other it also copies the style from the originating text area. Is there any slick way to prevent that?
Here is a sample of code that will illustrate the problem. Type some text in the top box and some text in the bottom, ...
I have a webpage, on which I am using Ajax to replace different divs of my page against some click events.. All works fine for regular HTML... but when I want to add a SWF object tag through function
document.getElementByID("div-id").innerHTML = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000> .... All flash movie code ......