Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Tween class unutar classe?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 11.04.2008 09:05    Post subject: Tween class unutar classe? Add user to your forum ignore list Reply with quote

kako koristiti Tween class unutar moje definirane klase?
ako je importam unutar klase javlja mi error:
"Import statements are not allowed inside class or interface definitions."

ako je importam u samom muviju, u klasi kaže da nije loadan Tween class.
Confused

ideas?
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 11.04.2008 11:09    Post subject: Add user to your forum ignore list Reply with quote

ja je imam importano i u klasi i u muviju, i sljaka :)
Back to top
View user's profile Send private message Visit poster's website Twitter profile
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 11.04.2008 11:43    Post subject: Add user to your forum ignore list Reply with quote

gdje i kako tocno je importas u klasi?
Code:
import mx.transitions.Tween;


unutar ili van funkcije? di god stavim javlja mi error Confused
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 11.04.2008 13:47    Post subject: Add user to your forum ignore list Reply with quote

a sta ne pricamo o as3?

edit:hm, ocito ne, nisam skuzio da je Tween a ne Tweener.
u as3 inkludam unutar package ali izvan klase.

Code:

package
{
   import caurina.transitions.Tweener;
   public class mcCircle extends MovieClip
   {



bla bla bla

a u dvojci tween inkludam sa
Code:
#include "mc_tween2.as"
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group