Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Script Check

0 views
Skip to first unread message

Neeo

unread,
Jul 17, 2001, 1:43:22 PM7/17/01
to
Hi, i did this with Flash 5, if i export it as flash5 it works, but when i
export it as flash 4 it doesnt work, but the program normally tells when
commands of flash 5 cannot be exported to a flash 4 movie, so please, can
anyone check this code and see if there is anything i can do to make it work
for a flash 4 movie ?!?!?!?!

iloop = 0;
numnotas = (_level0.numerodenotas)-1;
nota0:label = _level0.nota0;
set ("nota" + iloop + ":link", _root.Folderciudad add
eval("_level0.linknota" add iloop));
while (iloop<numnotas) {
duplicateMovieClip ("nota" + iloop, "nota" + (iloop+1), iloop + 1);
subheightn = (GetProperty("_root.ticker.nota" + (iloop),_y)) +
(GetProperty("_root.ticker.nota" + (iloop),_height)) + 10;
setProperty ("nota" + (iloop+1), _y, subheightn);
iloop = iloop + 1;
set ("nota" + iloop + ":label", eval("_level0.nota" + iloop));
set ("nota" + iloop + ":link", _root.Folderciudad add
eval("_level0.linknota" + iloop));
}
nheight = getProperty (_root.ticker, _height );

thnx in advance...
NEEO


ralf bokelberg

unread,
Jul 17, 2001, 1:38:13 PM7/17/01
to
add number conversion to places like that:

numnotas = Number(_level0.numerodenotas)-1;
setProperty ("nota" + (Number(iloop)+1), _y, subheightn);

--
bokel
www.bokelberg.de/actionscript
--

"Neeo" <eljua...@hotmail.com> schrieb im Newsbeitrag
news:9j1qf9$7jp$1...@forums.macromedia.com...

shoutoutloud

unread,
Jul 18, 2001, 6:22:48 PM7/18/01
to
You can't use dot syntax for flash4. Use slashes.
Hope this helps
~Dani


0 new messages