Adobe Dreamweaver Forums



Last 10 THreads :         Repeater and XML problem (Last Post : ntsiii - Replies : 2 - Views : 4 )           »          Focus, Browsers & Spry Accordion (Last Post : CORDFrank - Replies : 5 - Views : 6 )           »          Can't upload selected pdf's to remote server (Last Post : sw2gtg - Replies : 1 - Views : 2 )           »          Disabling menu bars in a browser window (Last Post : Alan - Replies : 3 - Views : 4 )           »          Navigation from Contact Form (Last Post : sw2gtg - Replies : 3 - Views : 4 )           »          CF8 Help in Dreamweaver CS3 (Last Post : A.J.cfm - Replies : 0 - Views : 1 )           »          SWF slide show does not play (Last Post : sw2gtg - Replies : 1 - Views : 2 )           »          Javahelp/Oracle Help (Last Post : cindys@ddms.com - Replies : 9 - Views : 10 )           »          FlashVars help (Last Post : Cgull - Replies : 2 - Views : 3 )           »          Quiz results and slide views (Last Post : dlspielman@gmail.com - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #11 (permalink)  
Old 09-03-2008, 05:44 PM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: Passing XML value to a ScrollingText Component

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.




Reply With Quote
Sponsored Links
  #12 (permalink)  
Old 10-07-2008, 10:51 AM
almond0517
 
Posts: n/a
Diggs:
Default Re: Passing XML value to a ScrollingText Component

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()
Reply With Quote


  #13 (permalink)  
Old 10-07-2008, 05:31 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Passing XML value to a ScrollingText Component


"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


Reply With Quote
  #14 (permalink)  
Old 10-31-2008, 06:22 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Passing XML value to a ScrollingText Component


"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


Reply With Quote
  #15 (permalink)  
Old 10-31-2008, 06:24 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Passing XML value to a ScrollingText Component


"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


Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 05:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk