File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Flex and the fly likes Reloading custom mxml component Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Flex
Reply Bookmark "Reloading custom mxml component" Watch "Reloading custom mxml component" New topic
Author

Reloading custom mxml component

Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 117
Hi all ,

I am new to Flex and enjoying working on it.

I have my outer mxml file say Main.mxml and I have included another mxml file(Navigation.mxml) in it.



Navigation.mxml contains set of buttons(just a boarder containers) on click of which you can do something.

My GUI runs fine. When I make any changes to my custom buttons(like say color change), change is not geting reflected.

My question is about refreshing(reloading) my custom mxml components. How can i achieve this in my current scenario.
After searching on the internet I got few posts where it was said bind your compoenent to a variable.
I dint get clear view.

Can any one give input on this or point me to good link which explains handling custom mxml components


Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 117
So as of now I made my app working by putting work around.
In my event handler I am chaging the data that is supplied for the component.
I know this is not clean solution.
I will be investigating more deep onmy problem and will post solution here if i get one.
 
 
subject: Reloading custom mxml component
 
Threads others viewed
issue to RemoteObject based on LCDS in my flex app demo
Navigating From one page to another Page
SortCompareFunction is not working in Flex
Call servlets in Flex
Flex and Java cannot add anything to list
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture