RE: [flexcoders] creationComplete?

2008-02-11 Thread Alex Harui
Are you hiding the screens?  I so, use visible and the show event.

 

Otherwise, maybe try focusIn events on the containers.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent: Monday, February 11, 2008 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] creationComplete?

 

I have two screens in Flex,for instance screen1 screen2

the creationComplete in screen2 triggered when the screen move from 
screen1 to screen2 first time.

then I go back from screen2 to screen1 with other code.

but the creationComplete in screen2 doesn't triggered when the screen 
move from screen1 to screen2 seconed time.

why? I need a function and run the page load .which event I can use?

Thanks

Mark

 



Re: [flexcoders] creationComplete Not Firing

2007-12-03 Thread Tom Chiverton
On Friday 30 Nov 2007, urmacboy wrote:
> We're experiencing an interesting problem where the function in the
> creationComplete attribute in the Application tag fails to run. 

You've verified this how ? By setting a breakpoint on the first line in the 
debugger ?

-- 
Tom Chiverton
Helping to adaptively facilitate second-generation information
on: http://thefalken.livejournal.com



Please note, as of 10th December 2007 the registered office address of 
Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] creationComplete Not Firing

2007-11-30 Thread Alex Harui
Does the UI show up or does nothing show up.  If nothing, then there's
something continously causing invalidations



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of urmacboy
Sent: Friday, November 30, 2007 8:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] creationComplete Not Firing



We're experiencing an interesting problem where the function in the
creationComplete attribute in the Application tag fails to run. Has
anyone else experienced problems with this attribute. The code for
our Application tag is as follows:

http://www.adobe.com/2006/mxml
 "
layout="absolute" 
xmlns:ns1="assets.*" 
backgroundImage="../assets/images/bark.png" 
width="1024" height="768" 
backgroundGradientAlphas="[0.0, 0.0]"
creationComplete="initApp()">

Thanks for any advice. 

Scott



 


Re: [flexcoders] CreationComplete help....

2007-01-17 Thread Tom Chiverton
On Tuesday 16 January 2007 17:39, jensen.axel wrote:
> then i pick a different item from a , and reload the
> component, to edit the new data i've selected from my tree... and the
> setup() function never runs, because the component has already been
> created, so i'm wondering how i can get this function to run every time?

Make it public and call it explictly after picking the new item.

-- 
Tom Chiverton
Helping to professionally promote attention-grabbing m-commerce



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] CreationComplete help....

2007-01-16 Thread Beverly Guillermo
Could you just dispatch another event that calls the setup function?  The
dispatcher could be your component or the component that changes the
data...?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jensen.axel
Sent: Tuesday, January 16, 2007 12:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CreationComplete help



Hello,

I have a custom Component (it is an edit/create form) that i'm
initializing... when i go and initialize the component, it runs a
function on 

creationComplete="setup()"

then i save some data, and change viewStates... 

then i pick a different item from a , and reload the
component, to edit the new data i've selected from my tree... and the
setup() function never runs, because the component has already been
created, so i'm wondering how i can get this function to run every time?

Axel



 



RE: [flexcoders] CreationComplete?

2006-08-15 Thread Matt Chotin












Every component has a creationComplete
event, you could still use that.  If it’s a container that’s in a
view stack maybe you want to use the show event instead?

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of malik_robinson
Sent: Tuesday, August 15, 2006
8:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
CreationComplete?



 







Hi,

I am trying to populate this data grid upon page load. If the page I 
am working has the  tag, then I can use 
creationComplete(), but what can I do if I am working on a page which 
does not contain the  I can load the data grid if I 
write a function, but I want it to execute automatically.

-Malik






__._,_.___





--
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.



  






__,_._,___






Re: [flexcoders] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Manish Jethani
On 8/26/05, Scott Barnes <[EMAIL PROTECTED]> wrote:

> I've got a typical setup where i set certain properties of controls
> within a child of a view stack. Inside the child i have the usual
> "creationComplete=hlper.myfunc()"
> 
> Only the myFunc doesn't even know its children within, meaning if i did
> 
> view.myButton.enable = false;
> 
> the view.myButton would return "undefined".
> 
> Yet if i put creationPolicy="all" on the actual viewstack itself, the
> above code example would return a valid button for view.myButton

That's because the children aren't yet created at the time the
creationComplete event.

> So in saying this, does this mean that ViewStack creates the base
> containers for all of its children, but all sub-containers there
> within, aren't created until that child recieves index selection,
> meaning "if child 2 is clicked, now create its actual internals"

Yes, exactly.

> To me, the creationComplete event *should* fire once all of its
> children objects are actually created, meaning "your entire container
> has come back completed, now carry out tasks"

"creationComplete" means the container itself is created, not its
children. ;)  (Yeah I know tihs isn't obvious.)

You should listen to the "childrenCreated" event if you want to work
on the children.

Manish


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Scott Barnes
Aye, i RTFM ;) heheh

".. but wait to create the deeper descendants of a child until it
becomes the selected child of the navigator container..."

See that part is what threw me, it sounded is if you left the
creationPolicy soley up to the ViewStack, then yes it proceeds
according to design.

Yet, if you put in creationPolicy="all" on the *actual* child02, its
ignored in favour of what the actual viewstack's policy states... in
that you can't over-ride it for children within the viewstack?

As to what then purpose you would have creationComplete="" on a child
of a viewstack is beyond me?

Smells fishy to me ;) hehe






On 8/26/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
> 
> 
>  Scott- 
> 
> > So in saying this, does this mean that ViewStack creates the base 
> > containers for all of its children, but all sub-containers there 
> > within, aren't created until that child recieves index selection, 
> > meaning "if child 2 is clicked, now create its actual internals" 
> 
> Right, following is from docs: 
> 
> A creationPolicy of "auto" means that the container is to delay creating
> some or all descendants until they are needed, a process which is known as
> deferred instantiation. This policy produces the best startup time because
> fewer UIObjects are created initially. However, this introduces navigation
> delays when a user navigates to other parts of the application for the first
> time. Navigator containers such as Accordion, TabNavigator, and ViewStack
> implement the "auto" policy by creating all their children immediately, but
> wait to create the deeper descendants of a child until it becomes the
> selected child of the navigator container.
> 
> That means, to me, it is there by design. 
> 
> You can call myFunc from creationComplete of each children or show/hide
> event of ViewStack. 



> 
> 
> -abdul 
> 
> 
> 
> 
> 
> -Original Message- 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Scott
> Barnes 
> Sent: Friday, August 26, 2005 5:15 AM 
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] creationComplete on ViewStack children *bug?* 
> 
> I've got a typical setup where i set certain properties of controls 
> within a child of a view stack. Inside the child i have the usual 
> "creationComplete=hlper.myfunc()" 
> 
> Only the myFunc doesn't even know its children within, meaning if i did 
> 
> view.myButton.enable = false; 
> 
> the view.myButton would return "undefined". 
> 
> Yet if i put creationPolicy="all" on the actual viewstack itself, the 
> above code example would return a valid button for view.myButton 
> 
> So in saying this, does this mean that ViewStack creates the base 
> containers for all of its children, but all sub-containers there 
> within, aren't created until that child recieves index selection, 
> meaning "if child 2 is clicked, now create its actual internals" 
> 
> To me, the creationComplete event *should* fire once all of its 
> children objects are actually created, meaning "your entire container 
> has come back completed, now carry out tasks" 
> 
> I also tried putting creationPolicy="all" on the child container 
> itself, but still nothing. It has to be done via the ViewStack in 
> order for me to manipulate controls within a child? 
> 
> 
> 
> 
> 
> -- 
> Regards, 
> Scott Barnes 
> http://www.mossyblog.com 
> 
> 
>  Yahoo! Groups Sponsor ~--> 
>  href="http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
> 
> ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life -
> brought to you by One Economy. 
> ~->
> 
> -- 
> Flexcoders Mailing List 
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links 
> 
> 
> 
>   
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> 
> 
> 
> 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. 
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>   
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
> 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/Ttw

RE: [flexcoders] creationComplete on ViewStack children *bug?*

2005-08-25 Thread Abdul Qabiz
Title: RE: [flexcoders] creationComplete on ViewStack children *bug?*








 Scott-


> So in saying this, does this mean that ViewStack creates the base

> containers for all of its children, but all sub-containers there

> within, aren't created until that child recieves index selection,

> meaning "if child 2 is clicked, now create its actual internals"


Right, following is from docs:


A creationPolicy of "auto" means that the container is to delay creating some or all descendants until they are needed, a process which is known as deferred instantiation. This policy produces the best startup time because fewer UIObjects are created initially. However, this introduces navigation delays when a user navigates to other parts of the application for the first time. Navigator containers such as Accordion, TabNavigator, and ViewStack implement the "auto" policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container.

That means, to me, it is there by design.


You can call myFunc from creationComplete of each children or show/hide event of ViewStack.



-abdul





-Original Message-

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Scott Barnes

Sent: Friday, August 26, 2005 5:15 AM

To: flexcoders@yahoogroups.com

Subject: [flexcoders] creationComplete on ViewStack children *bug?*


I've got a typical setup where i set certain properties of controls

within a child of a view stack. Inside the child i have the usual

"creationComplete=hlper.myfunc()"


Only the myFunc doesn't even know its children within, meaning if i did


view.myButton.enable = false;


the view.myButton would return "undefined".


Yet if i put creationPolicy="all" on the actual viewstack itself, the

above code example would return a valid button for view.myButton


So in saying this, does this mean that ViewStack creates the base

containers for all of its children, but all sub-containers there

within, aren't created until that child recieves index selection,

meaning "if child 2 is clicked, now create its actual internals"


To me, the creationComplete event *should* fire once all of its

children objects are actually created, meaning "your entire container

has come back completed, now carry out tasks"


I also tried putting creationPolicy="all" on the child container

itself, but still nothing. It has to be done via the ViewStack in

order for me to manipulate controls within a child?






-- 

Regards,

Scott Barnes

http://www.mossyblog.com



 Yahoo! Groups Sponsor ~--> 

http://us.ard.yahoo.com/SIG=12h9e3sfs/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1125020712/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org

">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy.

~-> 


--

Flexcoders Mailing List

FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

Yahoo! Groups Links


<*> To visit your group on the web, go to:

    http://groups.yahoo.com/group/flexcoders/


<*> To unsubscribe from this group, send an email to:

    [EMAIL PROTECTED]


<*> Your use of Yahoo! Groups is subject to:

    http://docs.yahoo.com/info/terms/

 










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





  




  
  
  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.