I need to build a live preview in Flash which will show a user a customised version of a product - for example with their own text on the site. I don't use Flash normally but understand a little bit of Actionscript 3.
I am using jQuery to embed and communicate with my SWF. I have a SWF movie to which I am passing an initial value via ...
I have have a class that I wrote, and it seems bigger than it should be. It doesn't extend anything, and has very little going on - or so I thought - but each one is taking up just under 100k100 bytes ( thanks back2dos ). I guess that I don't have a very good understanding of what really affects how much memory an object takes up in AS3...
I was trying to load an flex-built swf into a swish-based movie and FAILing, doing some research led to:
(AS1/AS2 and AS3) run in different
"virtual machines" within the Flash
Player. Like many product upgrades,
AS3 based SWF's can load AS1/2 based
SWF's but AS1/2 can not load an AS3
based SWF.
ActionScript 3 is a tota...
I want to set the default window size for a flex application that runs with a standalone player.
I set width and height to 100% to be able to get the ResizeEvent and being able to adjust the layout if the user changes the window size. But I'd like to also define a default size.
...
What way is the fastest of deciding whether a point is inside a parallelogram/rhomboid?
...
I'd like to generate some bytecode for the Flash 10 AVM2 directly, i.e. without AS3. An assembler that produced a SWF file would be ideal.
Does this exist? If not, what's the easiest way to get from assembler abc SWF?
...
I'm developing a product with a bunch of interlocking pieces (server, client, libraries, etc) and one of the pieces is a tiny library that users will link into their own client-side code (something kind of like the Flickr API or the Google Maps API). Once they've included that library, all of the interlocking bits magically hook themselv...
I am using Flex Builder 3 to develop my first application that will communicate with a server that has many operations, so many in fact it is overwhelming and I am grouping them together into classes that will expose the operations and also manage some client side meta data. I am calling these classes "server proxies" because they are t...
Flex3 + Cairngorm. I have my service in Servicis.mxml:
<mx:HTTPService id="docIndex" url="{URL_PREFIX}/jobs/{???}/docs" resultFormat="e4x"/>
And I call it from my generic restful delegate like this:
public function index(params:Object):void {
var call:AsyncToken = services.getHTTPService(resourceName+"Index").send(params);
call....
I'm building a Flash CS4 custom panel extension, and while I can call jsfl from actionscript fine, I can't figure out how to get info from the jsfl queries back to my custom panel. MMExecute() seems like a one way street.
Specifically, I want to display a selection's X and Y position in the custom panel. How do I call fl.getDocumentDOM(...
I have an AS3 Object: {p1:"..", p2:".."}
I want con create another object that contains the first one in a property whose name is defined by a variable:
var propertyName:String = "myName";
var myObj = new Object();
myObj.something_that_creates_a_property_named_as_propertyName({p1:"..", p2:".."})
does it make any sense?
...
I want to blur a VBox component when my mouse is out of it and unblur it when my cursor comes back to the VBox region. How can I blur a VBox in Flex?
...
I am attempting to send a command to the command line with an air/as3 application.
I have seen some documentation on the invoke command but i am wondering if anyone else has dealt with the same set of circumstances.
basically the user will be checking boxes and filling out a form which will then be written as arguments to an application...
I have seen in some applications the cursor changing. How do you do that? Thanks
...
i have an argb value in the parameter of a function and the function needs to get rid of the agb values and only keep the r. How would you do that? thank-you
...
Hi,
I am trying to find out when a link is 'hovered over' in a text area showing html text.
I wonder if listening for a cursor change kind of event might be the way. I can't find anything in the docs.
Has anyone any idea what event I could listen for here?
Thanks
...
On an opensource project that im working on we need to do some codehighlighting in a flexapplication.
So my question is whether there exist such a project already or if know of a good library suitable for porting to action script.
Or should we perhaps generate html that we display in text field?
...
Does anyone know how to create a dynamic textfield with a visible border and rounded corners in AS3?
I think I might have to create a rounded movieclip, resize and place it behind the text.
I tried this, but I don't see any changes.
var styleRound:StyleSheet = new StyleSheet();
styleRound.parseCSS("h4{cornerRadius:10;borderStyle: soli...
I'm currently working in FlexSDK/AS3 and have a canvas containing many objects. The canvas is large - around 4K x 4K pixels, and I do a lot of scaling/zooming/scrolling about. The viewport is only around 800x450.
I'm trying to apply a blur filter to the canvas - which I have figured out and it works fine, except for this one little bug:...
Hello
I hope someone has the patience to look at this.....
I have a flash form and need to set a tabbing order for the four textinput boxes in the form.
The four boxes are named:
name_txt
surname_txt
email_txt
phone_txt
Each box is an instance of a generic textinput box component
At the moment when a use is focussed on name_txt an...