Using [ Control "SomeImageName" ] VS [image "SomeImageName"]

Sannyasin Brahmanathaswami brahma at hindu.org
Wed Feb 3 06:54:10 CET 2016


OH… duh…. no! ha (red in the face)

This does work… fabulous!


local tHALogo, tCompanyTitle


on preOpenCard

     setStage

end preOpenCard


on opencard

   scene1

end opencard


command setStage



# be sure to declare all objects in local outside all handlers


   put the long id of fld "companyTitle" into tCompanyTitle

   put the long id of img "HaLogo" into tHaLogo


   set the rect of tHALogo to 0,0,500,500

   set the loc of tHALogo to the loc of this card

   set the loc of tCompanyTitle to 1170,-123

   hide grp "Navigators"

end setStage



command scene1

   wait 500 milliseconds

   aeLockMoves

    aeChangeRect tHALogo, 40,40,220,220,1500,"overshoot"

   aeMoveTo tCompanyTitle, the loc of this card, 1500, "inOut"

   aeUnlockMoves

end scene1


on aeChangeRectDone

    set the uNextEvent of this card to “scene2"

    nextEvent

end aeChangeRectDone




On February 2, 2016 at 5:35:23 PM, Richard Gaskin (ambassador at fourthworld.com<mailto:ambassador at fourthworld.com>) wrote:

Is tHaLogo declared as a global or script-local somewhere?Oh


More information about the use-livecode mailing list