ok, maybe i've just had too much beer at this point but - i'm just trying to listen for a custom event from a swf i've loaded and i'm just NOT able to capture it. the loading code right now is just:
public function loadGame(gameSrc:String,gX:Number,gY:Number):void {
var loader = new Loader();
var addedDefinitions:L...
In actionscript 3, my TextField has :
CSS styling
embedded fonts
textAlign : CENTER
autoSize : CENTER
... when italics are used the very right character gets slightly cut off (specially caps).
It basically seems that it fails detecting the right size.
I've had this problem before but just wondered is there a nice workaround (instea...
Is it possible to have multiple windows-"handles" open in one Adobe AIR application? You can ofcourse make a walkaround by letting the app be transparent, but I am interested in a better solution.
...
Recently I took on a rather daunting task of creating an interactive music video for the popular show Ghost Whisperer. I was brought in late in the project and was confronted with a giant authoring file (some 5000+ frames long). The previous programmer (who did everything in AS2) had essentially embedded a two and half minute FLV on th...
I'm working with Flex 3.4 SDK.
I'm trying to programmatically(yep, must be this way) style/skin a VBox so that its top right corner is rounded, and it gets a two colors gradient brackground.
Modifying examples I found around I was able to accomplish both effects(corner and background) but only separately:
VBox with not all rounded co...
I want to implement various effects like Sepia, GrayScale, Posterization etc. on BitmapData in ActionScript-3.
How to do this and What is most efficient way to do this ?
Thanks in advance!!
...
We all get "TypeError #1009 Cannot access a property or method of a null object reference" now and then - no big deal, but sometimes frustrating to debug.
Flash gives you the call stack (which is a start), but leaves it up to you to figure out where the null object is - is it possible to find out exactly which reference is throwing the...
Hello All,
I'm wondering if someone can help me with references or code snippet of H.264 files splitting.
...
I've read multiple examples on this, but I just don't get how it works.
How does the class know it's THE pre-loader?
How does flash know to load one class but not another?
How much can I do in a preloader? :-p
I'm using FlashDevelop atm and it's generating the project for me - however, from all the examples I checked they didn't expl...
Hi ,
I load a swf who contains flv video. I try to modify volume of sound but I don't know how do it...
Is there an netStream with soundtransform ?
Any volume property ?
Any idea ?
Regards,
Mathieu B.
...
I've written a socket server which communicates with my actionscript 3 flash game using the Socket class. This is a TCP connection, which I thought would mean that it is 100% sure that the sending message will be received by the server as this is done low-level. So, if it would fail to send it would resend the message.
This does seem to...
Is it possible to read the realtime updated quotes in this website through actionscript3, without having to reload the page all the time, which would be network-heavy.
In other words, is it possible to stream the quote-data directly into actionscript3 or eventually PHP from javascript?
If not does anyone have any suggestion to how to g...
how to using Adobe TextLayout in flash devlop
thanks
...
I've got three boxes rotating around their Z axis respectively. What I'm trying to do is keep them rotating around their respective Z axis without distorting if I move them away from the center of my stage.
addEventListener(Event.ENTER_FRAME, rotateBoxes);
function rotateBoxes(e:Event):void
{
box1.rotationY-=10;
box2.rotati...
I'm porting a DOS game to AS3. I need a way to specifically format my sprite files.
I need to know how to take a 256-colour paletted PNG, and save a (presumably) 32-bit PNG, where all three colour channels are summed to the blue channel only - so all colour information is contained only on the blue channel.
I plan on modifying an AS3 P...
I have managed to get a custom Flex component (based on a Tile) to render on to an Away3d plane as described at http://www.flashgamer.com/2008/08/using%5Faway3d%5Finside%5Fa%5Fflex%5Fapp.html
I cannot however set the object to be interactive. When setting
wallMaterial.interactive = true;
I end up with a "supplied index out of bounds"...
There are some things around the web but it's hard to tell what the standard is.
I need to do encoding and decoding. So JSON string -> AS object and AS object -> JSON string.
...
Hi,
Is it possible to paste (as in copy/paste from the clipboard) a bitmap into a flash application?
I'm thinking about a level editor that lets you edit the tile images but wanted to allow copying or some quick way of syncing from an external file without them having to upload it etc etc.
Cheers,
Chris
...
Is it possible to play mpeg, avi, divx or other video types in Flex or do they need to be converted?
I've looked around and I can only find that flv files are supported.
...
hi,
i can able to create StyleSheet object , i need to save that StyleSheet object to css file(in the css format).
how can i do in flex3 Air application , is there any build in library ? Or links available to save as *.css file
Thanks in advance
...