actionscript

How can I reference the value (or any other property) of the selected item in a CFTREE?

I have a CFTREE (format = "Flash") used to display a hierarchy of users. For the lowest level of the hierarchy, I want to open a popUpWindow using an existing JavaScript function. I've tried adding "javascript:myPopUpFunc(...)" to the href property, but it does not work. I need to pass values in the URL based on item that was clicked (i....

ActionScript/Flex: Why are the apply{Fault,Result} methods of AsyncToken internal?

As the title suggests, why are the applyResult and applyFault methods of AsyncToken marked mx_internal? There have been a few times that I would have liked to use AsyncToken in my code, but I've ended up re-writing it because I don't want to force clients to use namespace mx_internal. ...

Actionscript to c#

How to write this in C#.NET, I have not been encountered using the ^ or & var reg_1 = 234 ^ (8393 & 1); ...

Codebase for making a Flash-based interactive map with SVG vector data?

I'm looking for a way to take SVG path info (basically a string of coordinates) and dynamically draw it with Actionscript. Icing on the cake would be if those shapes could detect mouse events to trigger JS and dynamically change their appearance (fill, stroke, etc...). I'm currently trying something similar to this (http://raphaeljs....

is it possible counting number of children given tree in flex ?

myTree is updateParents(XML(myTree.selectedItem)) private function updateParents(item:XML):void { item.children().length(); Count.text=item.toString(); } In my application I used treeview with checkbox . How can I calculate (childnode node only) checkbox selected count in treeview . please refer any url for count the child ...

Flash connecting to a WCF service

Hi, I would like ask for guidance on the proper endpoint configuration for my WCF service to enable a Flash app to consume it. Thanks, Keith Rull ...

Greyed out buttons in MXML file even though it says enabled="true"

In the main Canvas of a ViewStack I have a few combobox and a two buttons. Each is coded appropriately. In one of my canvases the buttons and comboboxes are enabled. But, on the main canvas all are greyed-out and disabled. I have put enabled="true" on each of the elements. I am new to Flex and have been trying to troubleshoot this fo...

Flash security and proper development methods

In near future i'm going to develop a flash media server application when i'm asp.net developer. Currently i'm in research how i do things i need to. Basically i have two questions. 1.What is the secure method to write your application? In external .as files which cannot be accessed by IIS but the source code will be seen or just to com...

Is there an easy explanation for coding in AS3 w/ Flash?

I understand the syntax of AS3 just fine, but all the types and the strange hierarchy and all the inheritance is a bit confusing, and I am having trouble just getting something to show up. I see all these commands like addChild(etc); but they aren't tell me how I use it to do anything. And what is the main flash window called? How can I ...

AS2 to AS3 time function.

hello All. I use to do this on AS2 code. this.pause3Seconds = function () { trace(_global.something(_root.somthing)); clearInterval(myInt); }; var myInt = setInterval(this, "pause3Seconds", 3000); Now trying to worked out this into a class.as file got all type of migration errors and warning. So here I'm. anyb...

Shoutcast Radio Player - actionscript based flash player, how to autoplay "false" it?

Hello Masters Of Web Development again. Today my question is flash based. I have no experience in actionscript but due some conditions, I need to work a little with it. I've found only one flash player, that plays my Shoutcast stream directly to my site. I've designed it the way I like, put my shoutcast url in it and everything I wanted....

To check if an object is empty or not

Hi friends, I want to check in my function if a passed argument of type object is empty or not. Sometimes it is empty but still not null thus I can not rely on null condition. Is there some property like 'length'/'size' for flex objects which I can use here. Please help. Thanks in advance. ...

Flex - How can we measure the height of a control with nested renders?

Hi all, I'm using a List control. In the renderer of the List control I've got a Repeater. Each Repeater can have a different number of items. Adding to the complexity, one of the components being repeated in the repeater is a Text control that has long text that will wrap, increasing it's height. I need to expand the height of ...

how to convert HierarchicalCollectionView to Array using flex3 ?

i used advance datagrid of dataProvider as HierarchicalData . it's an my array collection strature private var groupList:ArrayCollection = new ArrayCollection([                {Country:'India', children:[                                {Matches:'India Test series 1',isEnable:false},                                {Matches:'India Test se...

Referencing static variables from frame scripts in AS3

Got some external classes, say MyClass.as MyClass.as has a static variable called foo So, ordinarily in other AS files I can call this with MyClass.foo = bar; However, this seems to be different in timeline scripts. Every time I try this I get the reference with a static type error 1119: Access of possibly undefined property foo th...

AIR app in front of Keynote presentation

Does anyone know of a way to make an AIR app display over top of a Keynote presentation? I currently have alwaysInFront set to true. Thanks for any help, Dan ...

AS3 Instantiate Class From External SWF

Hi, I was chatting with my buddy about this, he is convinced you can do this and says he has done it, but I cannot get this to work. I am wondering if it is even possible at all. I tried typing a var as a Class that is within the externally downloaded SWF and then making an instance but no can do. some code private static function on...

Flash getTextSnapshot does not want to highlight when I select text, any idea?

Hello, I tried to find the answer on the Internet but haven't found one yet. I am not a Flash coder, but I am learning quickly. Here's the question: I am trying to highlight a part of the text inside a frame (let say movie clip) and I am not able to make it work 100%. Here's my code (highlighting): var my_snap:TextSnapshot = _root....

what you mean by Unable to resolve resource bundle "datamanagement" error occured in flex?

when will i add Advanced data grid in my project then it shows eror like everity and Description Path Resource Location Creation Time Id Unable to resolve resource bundle "datamanagement". but separte mxml file then add it not show any errors .my project i used locale binding for multi language so i add in complier -locale=English,Ja...

How to Prevent SWF from Decompiling?

How do I prevent my SWF from decompiling? Is there any difference between ActionScript 1/2 and ActionScript 3 in the perspective of decompile prevention? This is an opposite question of the following question: How do you decompile a swf file? http://stackoverflow.com/questions/97018/how-do-you-decompile-a-swf-file ...