|
From: peterevensen on 15 Apr 2008 18:48 I have a text cast member named "Clipboard." If I try to paste the text on the clipboard into the cast member using the following: on startMovie member("Clipboard").pasteClipboardInto() end the cast member changes from "Clipboard" to "1." This this a bug? Am I doing something wrong? Thanks!
From: Sean Wilson on 15 Apr 2008 19:13 I don't know that it's a bug, but it's obviously causing you grief. You can always rename the member after pasting into it, so the workaround is easy: -- on startMovie m = member("Clipboard") m.pasteClipboardInto() m.name = "Clipboard" end
From: peterevensen on 16 Apr 2008 16:21 I was figuring I could rename the member after pasting, but the fact that the name was changing made me wonder if I was doing something wrong, and if the paste was doing other bad things I couldn't see. Thanks!
|
Pages: 1 Prev: Calling custom handlers from movie script Next: AS3 vs Lingo |