I am a little late to come to this thread. But try the below.
(B
(Broymeo wrote:
(B> on testing this, that --movieScript
(B -- do "global gFoo" & this & "Bar"
(B -- do "gFoo" & this & "Bar = " & that
(B do "global gFoo" & this & "Bar"\
(B & RETURN & "gFoo" & this & "Bar = "
You can use 'baOpenFile' method of Buddy API, which works on both of
(BWindows and Macintosh (I tried with Director MX/Windows XP and MacOS
(BX.2.6). The following example open the folder containing the director movie.
(B
(Bresult = baOpenFile(the moviePath, "normal")
(B_
(B"Mend
Or, you may use dot syntax:
(B
(BfoFlashObject = newObject("Object")
(BfoFlashObject.myProp = "Hello World"
(BfoFlashObject.myOtherProp = "Life should be free"
(B_
(B"Mark R. Jonkman" wrote:
(B> It can be done in Director
(B> Lingo code:
(B>
(B> foFlashObject = newObject("Object")
(
And thinking only the first decimal place? ;-)
(B
(Bput Ceil(1.09)
(B-- 1
(B_
(B[EMAIL PROTECTED] wrote:
(B>
(B> on Ceil aFloat
(B> vInt = integer(aFloat + 0.4)
(B>
(B> return vInt
(B> end Ceil
(B
(BGood luck,
(B
(BFumio Nonaka
(BPhone: +81-42-397-9452
(BFax: +81-42-397-
A negative number was not considered.
(B_
(BFumio Nonaka wrote:
(B> [EMAIL PROTECTED] wrote:
(B> > on Ceil aFloat
(B -- vInt = integer(aFloat + 0.5) - (integer(aFloat) = aFloat)
(B vInt = integer(aFloat + 0.5) - (integer(aFloat) = aFloat) *
(B(aFloat >= 0)
(B> > return vInt
put Ceil(1.0)
(B-- 2
(B
(BA little modification is needed
(B_
(B[EMAIL PROTECTED] wrote:
(B> on Ceil aFloat
(B-- vInt = integer(aFloat + 0.5)
(BvInt = integer(aFloat + 0.5) - (integer(aFloat) = aFloat)
(B> return vInt
(B -- end Floor
(B end Ceil
(B
(BGood luck,
(B
(BF
Are you using Director MX?
(B
(B//[Flash MX]
(B// MovieClip: _root.my_mc
(B// MovieClip action
(BonClipEvent (load) {
(Bfunction xMethod() {
(Breturn this._target;
(B}
(B}
(B
(B--[Director MX]
(B-- Flash sprite behavior
(Bon mouseUp(me)
(B oFlashObject
How about the following:
(B
(B//[In Flash MX]
(B// _root
(B// Frame action
(BoMessenger = {};
(BoMessenger.xExecuteFlashMethod = function() {
(Btrace("Called from Director MX");
(B};
(B
(B--[In Director MX]
(B-- Behavior for a Flash sprite
(Bproperty pMySprite, poFlashObject
(B
The behavior below successfully set callback to a Flash object. But
(BDirector MX fails to get a reference to a Flash object with
(B'getVariable'. In fact the local variable assigned a Flash object
(Breturns 'void' in the handler. The 'beginSprite' handler seems to be
(Btoo early to get a va
I have not known so many of them. Thank you, Kerry.(^^)
(B
(BAnd I understand \(^o\)(/o^)/ means "aside \(^o\) from (/o^)/ this".
(B_
(BKerry Thompson wrote:
(B> Localization note: the Japanese have embraced e-mail emoticons with a
(B> vengeance. Check this out:
(B>
(B> http://club.pe
You may utilize 'callFrame' command until Director MX will be available.
(B
(B// [Flash ActionScript]
(B// _root
(B// Frame action
(B// Frame label: dirExecutes
(Beval(dirTarget)[dirAction](dirArgument);
(Bdelete dirTarget;
(Bdelete dirAction;
(Bdelete dirArgument;
(B
(B-- [Director Mov
For your information:
(B
(B[DIRECT-L] director 8 stub mac
(Bhttp://listserv.uark.edu/scripts/wa.exe?A2=ind0104C&L=direct-l&P=R16754
(B_
(Bmatt johansson wrote:
(B>
(B> Thats good to know. Where have Macromedia stated that Bruce, i'd like to take a look.
(B
(BGood luck,
(B
(BFumio No
The 'loadMovie' action executed in a Flash swf file does not work in
Director 7.0.2/Flash Asset Xtra 7.0.2r140.
Director 8.0 or above supports the action in a swf.
_
Erik Schutzman wrote:
> Is there a way to get a Flash sprites "loadMovie" action to work in
> Di
that this message is sent by sendAllSprites, and should
> therefore be stopped to avoid a recursive loop.
> Like: '#dontSendAllSprites'
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-site.o
You are right, Jakob. But I tried to put the same behavior to two
sprites. Your script would call the other sprite each other. And I
modifies my behavior a little.
_
> At 12:32 +0900 02_08_09, Fumio Nonaka wrote:
>
> > on mouseDown(me, who)
> > if (wh
s(#mouseDown)
sendAllSprites(#mouseDown, #myself)
end if
> end
>
> will freeze up director
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-site.org/
[To remove yourself from this list, o
way
> put (the systemdate).seconds/3600 --gives you the current hour and
> put ((the systemdate).seconds mod 3600)/60
> --gives you the current minute
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-
end if
nLines = nLines + 1
end repeat
end
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-site.org/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.c
hexToDec hexNum
>-- Example hex to dec
>-- 24-bit max
>-- Tab Julius ([EMAIL PROTECTED])
>
>parts =rgb(hexNum)
>decNum =parts.red * (256 * 256)
>decNum =decNum + (parts.green * 256)
>decNum =decNum + parts.blue
>
>return(decNum)
> end
&g
ing one line):
>
> put n - (n - integer(n-.5)) + 1 * ((n - integer(n-.5))>0)
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
See also:http://www.F-site.org/
[To remove yourself from this list, or to change to digest mod
h i = 1 to 10
sTest = sTest & sTest
end repeat
nStart = the ticks
clean(sTest, "g")
put the ticks - nStart
nStart = the ticks
xClean(sTest, "g")
put the ticks - nStart
end
Fumio Nonaka wrote:
> Searching whole string and deleting the character is a bit fa
; QUOTE & "bc" & QUOTE & "def" & QUOTE & "ghij" & QUOTE & "klmno"
repeat with i = 1 to 10
sTest = sTest & sTest
end repeat
nStart = the ticks
clean(sTest, QUOTE)
put the ticks - nStart
nStart = the ticks
xClean
Another way (watch out a email line break):
Colin Holgate wrote:
> aDate = the systemdate
put aDate.year & string(aDate.month+100).char[2..3] & string(aDate.day+100).char[2..3]
-- "20020519"
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[
I might misunderstand you. Do you mean that Director 7.0.2 can import
and support Flash 4 .swf but only the ActionScripts of Flash 3 can be
worked in it, don't you? If so, could you provide any documentation to
say that?
_
Fumio Nonaka wrote:
> Flash Asset Xtra in Director 7.0.
Movie might be Flash 4 and later.
Regards,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, ema
an play in Flash 4.0r7 stand alone player.
Does the 'loadMovie' action fail to work in Director 7.0.2?
Thanks in advance.
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to dige
Is this what you are looking for?
put numToChar(0)
-- ""
_
[EMAIL PROTECTED] wrote:
>
> What's the ascii equivalent of chartonum = 0?
Good luck,
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yo
27 matches
Mail list logo