Re: [flexcoders] creating states with effects programatically
show the code.and can someone please look at my problem as well, pretty please. On 3/29/06, Jignesh Dodiya < [EMAIL PROTECTED]> wrote: Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation clicking on one radio button, the panel length increases to accomodate another combobox and a send button, clicking on another redio button, it reverse back to one combobx in panel with smooth transiton with 500 msec time duraton. all arranged vertically in Panel control. On compiling the application, and clicking radio button one, the panel shows one combobox and clicking it just working as required in transition with smooth transition but while clicking another radio button (it should be reversed with smooth transition) it just reverse back in a glimpse, no transition effect seen.. again on clicking radio button one, it resizes in a glimpse woth no transition motion,,, in short, at the very first time the transition works but then after no transition effect at all. regards, Jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED] > wrote: like how? On 3/29/06, Jignesh Dodiya < [EMAIL PROTECTED]> wrote: ok.. i was mainly concern about the transition effect..coz in my code, states & transition effect codeding in mxml file and i just followed transitionFlexStore example) also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED] > wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya < [EMAIL PROTECTED] > wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel < [EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders " on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this grou
Re: [flexcoders] creating states with effects programatically
Hi, I have strange transition problem is as follow.. written code in mxml. and not in AS-3 i have a combobox and two redio button..in my appliccation clicking on one radio button, the panel length increases to accomodate another combobox and a send button, clicking on another redio button, it reverse back to one combobx in panel with smooth transiton with 500 msec time duraton. all arranged vertically in Panel control. On compiling the application, and clicking radio button one, the panel shows one combobox and clicking it just working as required in transition with smooth transition but while clicking another radio button (it should be reversed with smooth transition) it just reverse back in a glimpse, no transition effect seen.. again on clicking radio button one, it resizes in a glimpse woth no transition motion,,, in short, at the very first time the transition works but then after no transition effect at all. regards, Jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED]> wrote: like how? On 3/29/06, Jignesh Dodiya < [EMAIL PROTECTED]> wrote: ok.. i was mainly concern about the transition effect..coz in my code, states & transition effect codeding in mxml file and i just followed transitionFlexStore example) also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED] > wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya <[EMAIL PROTECTED] > wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel < [EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders M
Re: [flexcoders] creating states with effects programatically
like how?On 3/29/06, Jignesh Dodiya <[EMAIL PROTECTED]> wrote: ok.. i was mainly concern about the transition effect..coz in my code, states & transition effect codeding in mxml file and i just followed transitionFlexStore example) also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED] > wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya <[EMAIL PROTECTED] > wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel < [EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.or
Re: [flexcoders] creating states with effects programatically
ok.. i was mainly concern about the transition effect..coz in my code, states & transition effect codeding in mxml file and i just followed transitionFlexStore example) also works fine..but only the thing is the Transition Effect. I am not saying that it completely not work but its working behaviour is abnormal Regards; jignesh On 3/29/06, Johannes Nel <[EMAIL PROTECTED]> wrote: if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either. On 3/28/06, Jignesh Dodiya <[EMAIL PROTECTED] > wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel < [EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] creating states with effects programatically
if you mean states as declared in mxml, yes they work fine. this code ported seemlesly from beta1 to beta2 (adobe's port tool doing the trick) and te transition never worked in either.On 3/28/06, Jignesh Dodiya <[EMAIL PROTECTED]> wrote: Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel < [EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org --Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] creating states with effects programatically
Hi, Nell, thanx for ur strict comment on some thread just earlier... I am interested to know , does your code worked well for Flex-2 beta-1 .??? coz i have coded one state and transition application that works fine for flex-2 beta-1 but when i upgrade to flex-2 beta-2 it just stop working... I did relevent changes accordingly in code but still hunting for appropiate docs that may work for flex-2 beta-2. On 3/29/06, Johannes Nel <[EMAIL PROTECTED]> wrote: hi allI am able to create states fine programatically, even assign transitions to the view, but my transitions don't trigger when i switch from one state to another var stateArray:Array = (__view.states != null)?__view.states.concat(): new Array(); var nState:State = new State(); nState.name = "Open"; var propw:SetProperty = new SetProperty(__view,"percentWidth",100); var proph:SetProperty = new SetProperty(__view,"percentHeight",100);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); nState = new State(); nState.name = "Closed"; var propw:SetProperty = new SetProperty(__view,"width",__collapsedSize); var proph:SetProperty = new SetProperty(__view,"height",__collapsedSize);; nState.overrides.push(propw); nState.overrides.push(proph); stateArray.push(nState); var nTransition:Transition = new Transition(); //nTransition.fromState = "Open"; //nTransition.toState = "Close"; var res:Resize = new Resize(); res.target = __view; res.duration = 400; nTransition.effect = res; __view.transitions = __view.transitions || new Array(); __view.transitions.push(nTransition); __view.states = stateArray; thanks in advance for any help.j-- j:pn http://www.lennel.org--Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- jignesh dodiya -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.