Ask a Question related to Macromedia Flash, Design and Development.
-
SaMoS #1
Dynamic Component
Hi,
I need to instance component (Ex: cpn = new ComponentFromInternet()) and use
it, but i don't how can i do this, only but ActionScript, i don't want drag
the component onto the stage, but dynamically.
this.onLoad = function()
{
cpn = new ComponentFromInternet() ;
cpn.FunctionOfTheComponent;
}
But it doesn't work (no error and nothing)
Thanks for you help,
Samos
SaMoS Guest
-
dynamic id for component?
I'm using a repeater to create several textInputs on the stage. I'd like to assign each textInput a unique ID but I keep getting an error msg with... -
dynamic component positioning in Panel
Ok, here is the problem description which I have been trying to solve out for couple of weeks. I have a static ViewStack component in Flex... -
Dynamic XML Schema and DataSet Component
Hello, I am trying to use a DataSet Component to hold data loaded from a SQL table. The design of my application requires that all components be... -
Dynamic Sound with a Media Component
Hello I'm having a little problem here. I am using Flash MX 2004 - Proffesional. I have a dynamic sound ("GavSound")loading in at the beginning... -
dynamic url from a component
i've searched this newsgroup as well as the aspnet newsgroup without an answer to this question. i call a web service from a component. i specify... -
Mayur.....Tracing The Sun #2
Dynamic component
I created a custom component there are some text Areas in that component
This component will be imported in main application
My final and simple goal is :
To load a xml file -- loop thru the array of node ?dailly_learning?
And attach the custom component as many as dailly_learning nodes are and
fill the data into it
I could have easily done flash using attachmovie but how to do it in Flex
I could load the xml and could retrieve the value from it
Some one please guide me !
Structure of xml files is something like :
<!---- Xml file -->
<dailly_learning>
<category > flex </category >
<notes> some text </notes>
<date_day> date <date_day>
</dailly_learning>
<dailly_learning>
<category > flash </category >
<notes> some text </notes>
<date_day> date <date_day>
</dailly_learning>
<dailly_learning>
<category > Misc </category >
<notes> some text </notes>
<date_day> date <date_day>
</dailly_learning>
Regards,
Flex Learner
Mayur.....Tracing The Sun Guest
-
ntsiii #3
Re: Dynamic component
I suggest using a Repeater.
It will loop through the array you pass to its dataProvider property, and
create a copy of your component for each element.
Check the samples, docs, cflex.net for examples
Tracy
ntsiii Guest
-
Mayur.....Tracing The Sun #4
Re: Dynamic component
thanks
i did my homework and found the solution
:)
Mayur.....Tracing The Sun Guest



Reply With Quote

