P3 600 WIN 2K
D8 Windows
Flash Asset Version# 8.0.0.178
Has anyone out there seen this?
I have a flash sprite on channel 75 and it has this behavior on it.
global oMPD
property pMySprite
property pFlashRotation
on beginSprite me
pMySprite = sprite(me.spriteNum)
pFlashRotation = oMPD.mGetAProp(#pFlashRotation)
put pFlashRotation
-- The next line is where the fatal error occurs
pMySprite.setFlashProperty("TrackBar", #rotation, pFlashRotation)
end beginSprite
-----------------------------------------------
-----------------------------------------------
-- AUTHOR-DEFINED PARAMETERS --
on isOKToAttach me, spriteType, spriteNum
case spriteType of
#graphic:
return getPos([#flash], sprite(SpriteNum).member.type) <> 0
#script: --the frame script channel
return FALSE -- doesn't work as a frame script
end case
end isOKToAttach
-----------------------------------------------
-----------------------------------------------
on getPropertyDescriptionList me
GPDL = [:]
GPDL[#pPropName] = [#comment: "Property name to set", #format: #symbol,
#default: "",\
#range: [#pFlashRotation]]
return GPDL
end getPropertyDescriptionList
If I put a breakpoint in the beginSprite and step through the code
everything works fine, BUT (there's always a but) if I remove the
breakpoint -=BOOM=-.
Fatal error Director will now shutdown (or something to that effect)
I have re-imported a newly exported swf file and I still get the crash
every time. I have even made a simple swf file to make sure the swf or fla
hadn't become corrupt. I have also tried to move the call into prepareFrame
and enterFrame with the same results. When I put it in exitFrame it doesn't
crash, but then the property isn't set and the user sees the sprite 'jump'.
Any suggestions from anyone?
TIA
Later.
...Neil
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]