| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
I have made a component to set the properties of a selected text box. But while calling the JSFL file, using xml based dialog box, it is ready to set the new values to the text box , but does not display the current properties of the text box. Can we display the propertoes of the selected object in the dialog box in JSFL? .. Please help!!
__________________
I like such scripting....
Last edited by Sunny13; 07-11-2005 at 09:23 AM.. |
|
|
|
|
|
#2 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
if you mean in the dialogue from you xml file it will be possible via FLFile, but i don't know of anyt other way
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
hi hangalot... I read this post after a long time... I need the method you are talking about..................
![]()
__________________
I like such scripting....
|
|
|
|
|
|
#4 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
its not a method specificaly, using FLFile you can change file level stuff, so just parsing the xml file would do the trick
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
confused...!!!!!... not able to understand what you want to say... I need to pass the current parameters in the dialog box...
__________________
I like such scripting....
|
|
|
|
|
|
#6 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
yes. i understand that. do you know what FLFile is? if not read up about it.
xul is just a file containing text, meaning it can be parsed, and with flfile you can change the actual text data in the file in order to adapt it to your needs |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
Yeah..i have used the FLfile .... but still not able to get it...?
__________________
I like such scripting....
|
|
|
|
|
|
#8 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
lets say your xml file looks like this
<dialog buttons="accept, cancel" title="Embed ranges of text"> <grid> <columns> <column/> <column/> </columns> <rows> <row> <label value="Ranges" /> <textbox id="range" value=""/> </row> etc then you load this into a flFile stream use string functions to split it var arr = str.split(" id=\"range\" value=\"") and then go str+="id=\"range\" value=\"" + myValue + ... you get the idea now? |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jul 2005
Location: India
Posts: 1,021
|
Hope I am not irritating you...plz let me understand with an example...plz do post one whenever you have time.....tnx a lot .....
![]()
__________________
I like such scripting....
|
|
|
|
|
|
#10 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
i take from the thank you on the other msg my lat post helped you enough?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|