[flexcoders] Interesting problem: dynamically creating id's and later referencing them.

2008-07-30 Thread Thatcher
Hi Guys (and Girls),

Ok, so I have been fighting a couple of days to figure this out. 

In order to make a large and compliated form with drag and drop in of 
more form fields I want to dynamically add an id to an display 
object, and then be able to reference it later to get data out.

Somehow it only seems possible to find these objects by navigating 
trough the the displaylist, and I cannot assign any 'real' id to a 
newly created child.

The following example should illustrate what I want to do (it should 
run). You will find it quite imposssible to get the object by it's id 
(or uid). 

Why is that?? Is there any other way of referencing an object of 
which you do not know who his parent is?


Thank you in advance and greetings,
Thatcher



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=vertical

mx:Script
![CDATA[
import mx.controls.Text;

private function addMyChild():void {
var myChild:Text = new Text();
myChild.text = Hello World!!;
myChild.id = kid1;
myChild.name = kid1;
myChild.uid = kid1;
myPanel.addChild(myChild);
}

private function getMyChildById():void {
var childReference:Text = this[kid1] as Text;
trace (childReference);
}

private function getMyChildByName():void {
var childReference:Text = myPanel.getChildByName
(kid1) as Text;
trace (childReference);
}

]]
/mx:Script

mx:Button label=add my child click=addMyChild() /

mx:Panel id=myPanel/mx:Panel

mx:Button label=get my child by id click=getMyChildById() /
mx:Button label=get my child by name click=getMyChildByName() /


/mx:Application




[flexcoders] OT: average cost for an SDK?

2006-07-14 Thread Dan Thatcher










Ok, so this is an OT question, but I thought that the
experienced participants in this group would be most likely to have some
insight on this question. What do SDKs usually cost? I would
assume that it could be anywhere from free to really expensive. I am
mostly just interested in polling the list to get a bunch of SDK cost numbers
so that I can come up with a median number.



Anyone ever worked with an SDK? What did it cost you
(if anything)? 



TIA;



Dan





Dan
Thatcher
Online Learning
The American Academy of Professional Coders
801-238-9893 (office)
801-879-9253 (mobile)








__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___





[flexcoders] AJAX to Flex conversion?

2006-06-09 Thread Dan Thatcher










Lets say that you have been developing an AJAX application (using
ClearNovas ThinkCap) and you are displeased with the result. What
options might one have to convert that AJAX
application over to Flex? Is there a way to convert an AJAX application over to Flex? What
other RIA platforms could be used that would allow the AJAX work that has been done to not be a
total loss?  



My sense is that conversion to Flex is a long shot, but I
thought I would ask anyway.



TIA



Dan 



P.S. sorry if this is a repeat post. I posted this first
thing this morning but never saw it appear on the list.





Dan
Thatcher
Online Learning
The American Academy of Professional Coders
801-238-9893 (office)
801-879-9253 (mobile)








__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___