#32002/9/25 16:23:56
网上后很多教程和例程,但大都是英文的。可以好好找找,我都是勉强看英文的。:)
另:问题已经有恢复了,给初学者一个参考
Q:
I can't know about the "newModelResourceName" differ frome the return value .
when I use:
modelResource=member(whichCastmember).newModelResource(newModelResourceName { ,#type, #facing })
the "modelResource" is return value.
I want to konw the different of them.
A:
the first one is a handler to the model resource, the second one is the model resource's name.
you can use both of them to access the model resource.
myModelResource=member(myCastmember).newModelResource("myNewModelResourceName")
it's just two different methods to access the same resource. try:
if (myModelResource = member(myCastmember).modelResource("myNewModelResourceName")) then
alert ("see! we point to the identical resource")
else
alert ("we're different")
end if
if you've done already more programming: the handler concept in java is something similar.
hope this helped.....
[img]http://61.144.28.245/hjc/web/non-cgi//usravatars/paladin.gif[/img]
I thirst for freedom