flex

Flexstore or JQuery for e-commerce site

Am currently evaluating the best RIA technologies to use for building a new e-commerce site. Currently there are two options we are looking at.One is the flexstore example where we intend to embed the intuitive shopping cart into our site or go full JQuery in providing the needed end user experience.We intend to use Zend as our server pl...

Adding loader image while the image is loading in flex

I need to create a gallery to load images and display them. This part is fine: /** * @variable image_name to store the name of the selected item */ private function showimage(evt:Event):void { // to store the name of the selected image var image_name : String = evt.currentTarget.selectedItem.img_name; // checks i...

Using RSLs with Modules

Hi All We are building a fairly complex application that we need to be able to release different parts of at different times. To help us solve this problem we are using RSLs and Modules. so let me describe the projects (names have been changed to protect the innocent) core (rsl) client (application) groceries (module) groceriesCore ...

Update UIComponent size

Hi, I've created a AS3 class which extends UIComponent so that I can easily add it to my MXML layout. It works fine, but I'm trying to figure out how to update the UIComponent width and height dynamically. I want my super UIComponent to draw a border around the content, so I need get the specific 'content' dimensions in order to do this...

flex linkbutton text to span 2 lines

is there a way to span the text of a link button to 2 lines? so instead of "Save Page" to be in one line only, I want it to be in 2 lines. Thanks. ...

how can i edit swf file in flash cs4?

i have a player which is of swf file. I need to edit it to remove user defined conextmenu.( when i right click its showing one name, i need to remove that) Can any one help me how to do that. how i can edit swf file in flash. when i open swf file in flash am unable to edit anything. u can see the flash player here http://test2.musick...

Embedding not only the first layer of my SWF file?

Like all of you know (if not, you should!) when I use the embed stuff to link a SWF to a class, only the first layer is utilized by my class. So.. is there a way to use all of the other layers too? Thx! ...

Spring + Flex + BlazeDs configuration

Hi, How Flex knows to call the particular service in Spring framework. I give in Flex side: <mx:remoteObject id="myObj" destination="mySpringservice"/> And remote-config.xml file: <destination id="mySpringservice"> <properties> <factory>spring</factory> <source>mySpring</source> </properties> </destination>...

RTMP C# Client library

I was looking for a RTMP library in C# to generate request to a rtmp:// server. Anyone knows a free/open source library that allow me to do this? Thanks, ...

How to declare compile options as valid symbols in Flex under IntelliJ IDEA?

I've got the following Flex code in an MXML file: <mx:Label id="lblVersion" styleName="versionID" bottom="0" right="10" text="Version { BUILD::version }"/> where the "BUILD::version" is meant to be substituted from symbols defined in compiler options: -define BUILD::version "'LOCAL'" The Flex plugin doesn't seem to understand the ...

as3: How to upload bitmap data to server using httpRequest

Hi! I captured screenshot of my ui element, and would like to send it to server, using httpService. Currently I am doing the following: var httpService:HTTPService = new HTTPService(); httpService.method = "POST"; httpService.url = "/admin/compositions/add/"; httpService.addEventListener(ResultEvent.RESULT, onresult); var bitmapData:B...

Can I add a node to a tree without adding it to the dataProvider?

I've got a couple trees that I allow a user to drag and drop from one to another, works great except one apparent limitation. I'm picking up where they drop it in the list and adding it to the dataProvider manually. The user can drop it everywhere except after the last child of any particular node it seems, since it reads that position a...

How to access planes "child" nodes in AS3/Flex/Papervision3D

Be aware that I might be doing this totally wrong, so I apologize in advance. I have mxml thingy, for example: <mx:VBox id="isThisVBoxAwesomeOrWhat" width="500" height="500" backgroundImage="@Embed('images/500x500.jpg')" verticalAlign="bottom" includeInLayout="false" blendMode="{BlendMode.ERASE}" x="-1000" y="...

Can A Sprite Contain A MovieClip?

Hmmm... I'm working at creating an AS3 UI library, since most of the ones out there each seem to miss out at least 1 feature I need. In order to keep it lightweight, I created everything from scratch. I use Sprites to render just about anything. But I want to allow the user of the library the possibility of adding a custom graphic for a ...

How to copy something as a pastable bitmap in flash?

How to copy something as a pastable bitmap in flash? So I have simple mxml project - empty page with a panel on it. I want to be able to select some region on my panel and copy it somehow as bitmap pastable to photoshop, word and other programms. How to do such thing? (libs, articles etc) Edit - It may be not possible in FP10 but in...

Label dataChange event not getting fired

<mx:Label id="myLabel" dataChange="{trace('changed!!');}" /> I change the text in the above label: myLabel.text = "new text"; But nothing is traced as it's supposed to. Am I using a wrong event? I thought dataChange is fired when text in the label is changed. ...

How to dispatch an event in a flash swf that's loaded into Flex via SWF loader

I've a Flex application which loads a Flash swf via SWF loader; the Flash swf is in AS3. the flash swf has code to dispatchEvent a Text Event Flash Code: var re:TextEvent = new TextEvent(TextEvent.TEXT_INPUT,true,true); Flex Code: <mx:SWFLoader source="menu.swf" id="mnu" complete="menuLoaded(event)" /> private var mySwfMve...

URLLoader cancel load on any browser event

Hello, I have a flash element in a page that load a chart based on some complex queries that can take up to a minute to load. I call the query with this code : var chartData:URLLoader = new URLLoader(); chartData.addEventListener(Event.COMPLETE, onLoaded); chartData.addEventListener("httpStatus", onHttpStatus); chartData.load(new URLRe...

AS3 Working With Arbitrarily Large Files

I am trying to read a very large file in AS3 and am having problems with the runtime just crashing on me. I'm currently using a FileStream to open the file asynchronously. This does not work(crashes without an Exception) for files bigger than about 300MB. _fileStream = new FileStream(); _fileStream.addEventListener(IOErrorEvent.IO_ERR...

Active Flash/Flex/ActionScript 3 AOP project?

I've seen the Loom project, but are there any alternatives that are more mature (and actively developed)? I am looking for something that would allow load-time weaving of pointcuts into existing binary code at runtime with the AVM2 runtime. Has any work been done in this area? ...