Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 06-18-2008, 05:16 PM   #1
corbo950
Corbin U
 
corbo950's Avatar
 
Join Date: Jun 2008
Location: michigan
Posts: 241
Default Need to create a viewstack index on application creation

i have a flex app in which i have a data grid that i load XML data from a mysql database with php. I am creating an admin application in which i use then itemclick fuction of the datagrid to load the row information into a edit viewstate in the same stack. the itemclick data goes into string variables. when i change to that state the data wont load because flex hasnt created the edit canvas yet so it doesnt see the text inputs as existing. i tried loading the data on the creation of the edit canvas but then once editing one row u cant go back and edit another one because flex has already created the edit canvas. is there a actionscript function that i can tell the appilction to run in the creationcompleate part of the application tag that will tell flex to create the entire viewstack
corbo950 is offline  
Old 06-19-2008, 03:53 PM   #2
Stealth86
Registered User
 
Join Date: Apr 2008
Posts: 27
Default

Read up on the creationPolicy property in the flex documentation.
Stealth86 is offline  
Old 06-20-2008, 04:36 PM   #3
corbo950
Corbin U
 
corbo950's Avatar
 
Join Date: Jun 2008
Location: michigan
Posts: 241
Thumbs up Thanks

Thanks that is exactly what i was looking for i knew there had 2 be a setting for that
corbo950 is offline  
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
communicate with an application kalranitin ActionScript 1.0 (and below) 2 06-25-2007 10:26 AM
Database simulated with arrays on a cd-rom lecasn5 Components 61 09-07-2004 11:40 AM
focus and tab on Component TextInput & TextArea TylerNZ ActionScript 2.0 6 04-21-2004 02:51 PM
Create chess application vantran ActionScript 1.0 (and below) 8 07-07-2001 10:00 AM


All times are GMT. The time now is 05:43 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.