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
startDrag granice na mapi

 
Post new topic   Reply to topic    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 27.08.2008 14:22    Post subject: startDrag granice na mapi Add user to your forum ignore list Reply with quote

imam mapu koju mičem i zoomiram i to tako da imam 2 mc-ija.
vanjski mi služi za zoomanje i ima registration point na sredini.
unutar njega imam mc za micanje i taj ima reg. point gore lijevo.

Code:

startDrag(_root.vanjskiMC.unutraMC, false, l, t, r, b)


kako izračunati granice (l,t,r,b) a tako da mi pašu na svaki zoom?
znam da je neka caka, nesto tipa sirinu untarnjeg mc-ija podijelim s 2 pa to oduzmem od ove sirine vanjskog podijeljeno s 2...
ali moje kombinacije nisu proradile kako treba... Sad

ideje?
Idea
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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