![]() |
![]() |
||||||
|
|||||||
| Tags: component, passing, scrollingtext, value, xml |
![]() |
|
|||
|
Amy said the only thing she changed was she took out the root tag from the
dataProvider, since the XML object already is the root tag. So all she did was change dataProvider="{rest_service.lastResult.scheds.mrq. msg}" to this dataProvider="{rest_service.lastResult.mrq.msg}" Often when I am getting no errors I check to see if my dataProvider is defined with the correct level in the data, as Amy has pointed out. |
| Sponsored Links |
|
|||
|
Hello once again Flex Gurus....
Hope someone can help me again.... Problem still related with the threads below regarding the Scrolling Text.... <mx:Repeater id="roomInfoRepeater3" dataProvider="{rest_service.lastResult.scheds.mrq. msg}"> <mx:Canvas width="100%" height="50" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <comps:ScrollingText id="myScrollingText" text="{roomInfoRepeater3.currentItem.mrq_msg.toStr ing()}" fontSize="40" fontStyle="italic" initialize="myScrollingText.start()" color="#0053C4" fontWeight="bold" fontFamily="Arial"/> </mx:Canvas> </mx:Repeater> Now I can see the value from the XML. Now the problem is with the initialize="MyScrollingText.start()". I am getting the error below: [b] TypeError: Error #1006: start is not a function. at VSchedSysScreen2/__myScrollingText_initialize()[C:\Documents and Settings\Mondo\My Documents\Flex Builder 3\VSchedSys\src\VSchedSysScreen2.mxml:139] at flash.events::EventDispatcher/dispatchEventFunctio n() at flash.events::EventDispatcher/dispatchEvent() |
|
|||
|
"almond0517" <webforumsuser@macromedia.com> wrote in message news:gcfb4o$o7$1@forums.macromedia.com... > Hello once again Flex Gurus.... > > Hope someone can help me again.... Problem still related with the threads > below regarding the Scrolling Text.... > > > <mx:Repeater id="roomInfoRepeater3" > dataProvider="{rest_service.lastResult.scheds.mrq. msg}"> > <mx:Canvas width="100%" height="50" horizontalScrollPolicy="off" > verticalScrollPolicy="off"> > <comps:ScrollingText id="myScrollingText" > text="{roomInfoRepeater3.currentItem.mrq_msg.toStr ing()}" > fontSize="40" fontStyle="italic" > initialize="myScrollingText.start()" color="#0053C4" > fontWeight="bold" fontFamily="Arial"/> > </mx:Canvas> > </mx:Repeater> > > Now I can see the value from the XML. Now the problem is with the > initialize="MyScrollingText.start()". > > I am getting the error below: > > [b] > TypeError: Error #1006: start is not a function. > at VSchedSysScreen2/__myScrollingText_initialize()[C:\Documents and > Settings\Mondo\My > Documents\Flex Builder 3\VSchedSys\src\VSchedSysScreen2.mxml:139] > at flash.events::EventDispatcher/dispatchEventFunctio n() > at flash.events::EventDispatcher/dispatchEvent() http://www.magnoliamultimedia.com/fl...s_Flex_FAQ.pdf Q9 |
|
|||
|
"almond0517" <webforumsuser@macromedia.com> wrote in message news:gcfb4o$o7$1@forums.macromedia.com... > Hello once again Flex Gurus.... > > Hope someone can help me again.... Problem still related with the threads > below regarding the Scrolling Text.... > > > <mx:Repeater id="roomInfoRepeater3" > dataProvider="{rest_service.lastResult.scheds.mrq. msg}"> > <mx:Canvas width="100%" height="50" horizontalScrollPolicy="off" > verticalScrollPolicy="off"> > <comps:ScrollingText id="myScrollingText" > text="{roomInfoRepeater3.currentItem.mrq_msg.toStr ing()}" > fontSize="40" fontStyle="italic" > initialize="myScrollingText.start()" color="#0053C4" > fontWeight="bold" fontFamily="Arial"/> > </mx:Canvas> > </mx:Repeater> > > Now I can see the value from the XML. Now the problem is with the > initialize="MyScrollingText.start()". > > I am getting the error below: > > [b] > TypeError: Error #1006: start is not a function. > at VSchedSysScreen2/__myScrollingText_initialize()[C:\Documents and > Settings\Mondo\My > Documents\Flex Builder 3\VSchedSys\src\VSchedSysScreen2.mxml:139] > at flash.events::EventDispatcher/dispatchEventFunctio n() > at flash.events::EventDispatcher/dispatchEvent() http://www.magnoliamultimedia.com/fl...s_Flex_FAQ.pdf Q9 |
|
|||
|
"almond0517" <webforumsuser@macromedia.com> wrote in message news:gcfb4o$o7$1@forums.macromedia.com... > Hello once again Flex Gurus.... > > Hope someone can help me again.... Problem still related with the threads > below regarding the Scrolling Text.... > > > <mx:Repeater id="roomInfoRepeater3" > dataProvider="{rest_service.lastResult.scheds.mrq. msg}"> > <mx:Canvas width="100%" height="50" horizontalScrollPolicy="off" > verticalScrollPolicy="off"> > <comps:ScrollingText id="myScrollingText" > text="{roomInfoRepeater3.currentItem.mrq_msg.toStr ing()}" > fontSize="40" fontStyle="italic" > initialize="myScrollingText.start()" color="#0053C4" > fontWeight="bold" fontFamily="Arial"/> > </mx:Canvas> > </mx:Repeater> > > Now I can see the value from the XML. Now the problem is with the > initialize="MyScrollingText.start()". > > I am getting the error below: > > [b] > TypeError: Error #1006: start is not a function. > at VSchedSysScreen2/__myScrollingText_initialize()[C:\Documents and > Settings\Mondo\My > Documents\Flex Builder 3\VSchedSys\src\VSchedSysScreen2.mxml:139] > at flash.events::EventDispatcher/dispatchEventFunctio n() > at flash.events::EventDispatcher/dispatchEvent() http://www.magnoliamultimedia.com/fl...s_Flex_FAQ.pdf Q9 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise