How to Make SelectedItem be a Dynamic Variable?



  • 1. How to integrate fckEditor with Air Application
    Hi, I have deployed fckEditor to tomcat and set the location property of htmlComponent in Air as example html page URL, Now things worked well with all editor options leaving upload image or media element to server directory. has any one has gone through it. Please reply .... Thanks.
  • 2. Lable text display
    Hi All, I am new to Flex, In my application I need to display series of texts say "Apple", "Ball" "Cat" continuosly in a DataGrid column by showing one text at a time. Displaying from the first text, if it reaches the 3rd text it should display again the first. I want to know what would be the best of doing it, Also the texts may change quite often. Sometimes we may get only one text, in that case that changing effect shouldnt be there. Thanks. Suren
  • 3. RPC Security Support
    i take it that means there are no other ones. using "[my] server backend" doesn't make much sense, since the question was whether or not i could connect directly to different RPC calls using anything other than BASIC auth and SSL.
  • 4. printing datagrid in landscape orientation
    You can rotate the object to 90deg, then print - you may need to wrestle with scaling. Then reset the component to 0 deg.
  • 5. I want to set the orientation of print output in Flex3
    Hi, if you want to print in landscape you have to use embeded fonts - otherwise nothing appears. SWT62

Re: How to Make SelectedItem be a Dynamic Variable?

Postby *gsb* » Wed, 26 Nov 2008 09:25:05 GMT


 I think you need to view the problem in steps.
 First I think you need to update one record at a time.

 So when a row is clicked on, it pops up an edit form.
 When submitted (button perhaps) it updated the data provider of the data grid: 
instant show of the change. 
 At the same time, an HTTP service call is made to update the data base. There 
is no need to update the application with the new data from the server.

 Now back on the data grid the user can pick another record to update.

 Buttons could be added for Add, Delete and use click for Edit perhaps.

Similar Threads:

1.How to Make SelectedItem be a Dynamic Variable?


   My dataGrid is editable in the first place, since there are not that many 
things in need of a new form. So, I think one of things I have to find out is 
how to pass the variables on to the HTTPService,

   When I declare the variable, dg.[i].id, is this how I should declare my 
variables that loop around for the PHP to process?  

 Thanks in advance.


2.Dynamic Value and SelectedItem

Hallo All

I want to select dinamically an object (es DataGrid) from the stage....


Is there a method to change dinamically this this command like:

if (selezioneDataGrid){


3.I am making a game and need help badly

I am makeing a sprite game and I want to make a ticker for a special move. I 
don't quite know how to go about making this ticker let alone subtract from the 
ticker once I make it. any help. help would be greatly appreciated. thanks in 

4.preloader problem , am i passing variable names correctly ?


(code below)

Im trying to do this.
[1] I have an initialization movie , named "init.swf",
which presently stores the name of a movie to load 
it then loads the loader movie(as below)

[2] the loader movie displays a loading bar
while it loads the movie that is named and passed from the "init"

i am doing this as i belive this is a better way to set up a preloader
an only using one loader movie to manage it
rather that one loader in each

However, it is not working
can anyone see what ive done wrong or missed




movietoload == demo.swf
loadMovieNum ("loader.swf", 1);

frame 2 = stop

loadMovieNum ( _level0.movietoload,4);

if (_level4.getBytesLoaded() == _level4.getBytesTotal()) {
	gotoAndPlay (4);




= various content

5.Dynamic Text Variable Variable

 I have a movie which loads data from a text file into flash (-no problem 
 The twist to this is that one of the fields in my movie loads text into fields 
from a text file which looks similar to the example below:

 If I select a specific field in my flash movie and put for example" 
myText_Ian" as my Var in the properties panel I have no problem getting the 
"109" to echo at runtime.

 But what I would like to do is specify the Var in the properties panel as 
something like:


 and still get the same result. You see, I want to define the variable 
"managername" at runtime in a field so that if I type for example "Dave" in the 
field the movie will substitute "Dave" in place of the variable "managername" 
all throughout my actionscript and thus retrieve only info applicable to 
 The biggest problem for me is that I am stuck with the property panel because 
I can't apply actionscript directly to a dynamic textfield.

 Is there a syntax that I can use in the Var field of the property panel to get 
the result I want; to get the variable equivalent to "myText"+_root.managername?


 Is there an example somone can show me on how to load variables from a text 
file into a SPECIFIC dynamic text field completely in action script?

 Any help is greatly appreciated. 

6. Variables from ASP, what am I doing wrong?

7. dynamic text - am I doing something wrong

8. Help me please I am very new to flash but am trying to learn

Return to flex


Who is online

Users browsing this forum: No registered users and 52 guest