1 msglive preview for (non compiled) components,how ...
21 msgonLoadComplete, but no onLoadInit

How to clear the settings of data bindings?
\ Fumio Nonaka (14 Feb 2007)

10 msgCoding Standards: Use of Get/Set
2 msgFlex Chart swf + Flash
6 msgHow to get Arrays from a web service call into ...
5 msgAdding a function to the String prototype
2 msgUniversal IDE test player or Projector?
1 msgRe: XML driven menu-I.E. 7 not opening win='_se...
3 msgAttaching a Symbol From a 'Loader' Movie in a'L...
2 msgRe: [!! SPAM] Flashcoders Digest, Vol 25, Issue 35
3 msgshould this work?
3 msgLoading images directly to BitmapData in AS2?
2 msgDataGrid Component not displaying all rows
12 msgusing mx.controls package in an Actionscript 3....
1 msgMajor problem with sendAndLoad and movie focus
4 msgclickTags and sending variables to aspx
45 msgAnyone hate flash 9 already?
2 msgmouse gestures
1 msgRe: Array structure problem (Jason Boyd)
Subject:How to clear the settings of data bindings?
Group:Flashcoders
From:Fumio Nonaka
Date:14 Feb 2007


 
How could the settings of data bindings be cleared up? My problem is
reproduced by the followings:

1. Place two CheckBox compontnent instances named "checkBox0" and
"checkBox1".
2. Open the [Component Inspecter] and select the [Bindings] tab.
3. Select "checkBox1" and click the [Add binding] button. With
"selected:Boolean" hilighted click the [OK] button.
4. Set [direction] to [in/out] and [bound to] the other CheckBox,
"checkBox1"
5. [Test Movie] to make sure selection of one CheckBox is cooperate to
the other status.

It works. Then do the followings:
6. Select two component instances and make them to a MovieClip symbol.
7. [Test Movie] shows errors because path or something for data bindings
comes to be wrong.
8. Delete the MovieClip on the stage. (Then nothing exists on it.)
Also, delete all items in the [Library]. Nothing should be included in
the fla document.
9. [Test Movie] still shows errors:
Scene 1, Binding between <unknown>.selected. and <unknown>.selected.:
The endpoint of the binding does not exist
Scene 1, Binding between <unknown>.selected. and <unknown>.selected.:
The endpoint of the binding does not exist

And [Debug] > [List Variables] shows two objects remain in the movie.
Variable _global.mx = [Object #1, Class 'Object'] {
Variable _level0.__junk = [Object #26, Class 'Binding'] {

Of course, the errors do not occur if the [Bindings] settings are
cleared before step #8. But if it has been done, how the settings can
be cleared?

Any suggestions would be very appreciated.
--
Fumio Nonaka
mailto:fumio
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>

_______________________________________________
Flashcoders
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


© 2004-2008 readlist.com