Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / August 2004



Tip: Looking for answers? Try searching our database.

DataGlue.Bindformat in a childmovie not working?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
feiloiram - 19 Aug 2004 12:10 GMT
Do I have to use the method :
BindFormatFunction from the DataGlue-class in the same movie as wherein I
pulled in the data?

This is the problem I have :
I have a form-based movie in which the first childscreen pulls in data from
the server. I have no problem binding that data using the above method to any
combobox, on whichever screen, that resides within this (parent)movie.

My app. is however build up out of many child-screens that load an external
swf (also form-based) on reveal. When I try to bind the data to a combobox in
this loaded movie nothing happens.
However, the data is available trough a _global.recordset that gets the
server-data assigned when the data is in.
This means I can build a small for-loop from 0 to _global.recordset.length and
add the data to the combox by means of an addItemAt-command.
So bassicaly there is a workaround but still.
I find is strange that I can't use the dataGlue.BindFormatString()  even when
I import the dataglue class in my loaded (child)movie and knowing that the
recordset is available.

What I'm I overlooking?
feiloiram - 19 Aug 2004 15:00 GMT
It took me 8 hours to figure -out why this wasn't working.

the:

import mx.remoting.DataGlue;   command

should be in the movie-clip AND AND AND AND AND in the frame wherein the
BindfFormatString -method is called.
Not  in the parent-movie nor in the parent movieclip nor in the preceding
frame!!!!

They have to stick together!!! on the same frame!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.