locking positions of symbols relative to...

This is a discussion on "locking positions of symbols relative to..." within the Flash & Multimedia Forum section. This forum, and the thread "locking positions of symbols relative to... are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 21st, 2007, 12:12
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
locking positions of symbols relative to...

say you're inside a symbol that is a movie. can all the aspects of that symbol be created on the first frame actionscript of it? e.g can one go, 'create new symbol' => 'movie' => first frame type something like "
Code: Select all
createClassObject(mx.controls.TextInput, "subscribeInput", 1, {text:""});
subscribeInput.setSize(198, 27);
subscribeInput.move(9,9);
" and it will position that input in that spot? this code works for me when i put it in the first frame of the scenes actionscript but not the symbol. am I missing something about how this works?

Last edited by Sgaspar11; May 21st, 2007 at 16:05. Reason: Use Code Tags!
Reply With Quote

  #2 (permalink)  
Old May 21st, 2007, 16:07
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: locking positions of symbols relative to...

How are you accessing this movieclip?

Does a user push a button and then it plays the movieclip and created the object?

It should work, but you have to actually tell flash to go to that frame/movieclip for it to start the action script.

Make sense?
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #3 (permalink)  
Old May 21st, 2007, 16:11
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: locking positions of symbols relative to...

That makes sense. I've got the symbol placed on the scene drag and drop style. Wouldn't its placement on the scene naturally make it run the code thats inside the symbol because it is present?
Reply With Quote
  #4 (permalink)  
Old May 21st, 2007, 16:36
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: locking positions of symbols relative to...

Not if the actionscript is within that symbol on frame 1. Something needs to tell flash to "Play" that symbol to get to frame 1 within that specific symbol.

P.S. I caught a bad cold and I am all medded up, so if I am not making sense please tell me.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #5 (permalink)  
Old May 21st, 2007, 16:53
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: locking positions of symbols relative to...

For your help i send you good thoughts and hope you pull through. nice way to help even though you're sick!!

i have just assumed that the movie IS actually playing because the visually changing things I have in the movie are in motion. is there something additionally that needs to be done to make the actionscript in the symbol start up?
Reply With Quote
  #6 (permalink)  
Old May 21st, 2007, 16:54
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: locking positions of symbols relative to...

Hmmm...I'll do some checking. If the movie is playing then any actionscript in that movie should be called as well.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #7 (permalink)  
Old May 22nd, 2007, 08:44
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: locking positions of symbols relative to...

resolved: switched from publish setting for flash 9 to flash 8 actionscript 2. seems AS3 is different.
Reply With Quote
  #8 (permalink)  
Old May 22nd, 2007, 15:01
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: locking positions of symbols relative to...

Ah der, should have asked you that. Yeah AS3 is different.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
  #9 (permalink)  
Old May 23rd, 2007, 04:54
Up'n'Coming Member
Join Date: May 2007
Location: northern nsw, au
Age: 27
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Re: locking positions of symbols relative to...

i'm sure if you weren't sick it wouldn't have slipped your mind

thanks for your help
Reply With Quote
  #10 (permalink)  
Old May 23rd, 2007, 08:36
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: locking positions of symbols relative to...

Yeah even GetURL is different in CS3. I have not even start learning AS3...hehe.
Reply With Quote
  #11 (permalink)  
Old May 23rd, 2007, 15:05
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: locking positions of symbols relative to...

I just ordered a couple of books.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
Reply

Tags
actionscript, flash, symbol

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Symbols in CSS pallworthy Web Page Design 4 Apr 17th, 2008 20:34
[SOLVED] How do the symbols * . and # apply to IDs differently? Inkers Web Page Design 8 Nov 14th, 2007 03:58
Library of symbols for a map in a separate file? AlexDi Flash & Multimedia Forum 1 Nov 8th, 2007 15:44
using “”-_()&,\ Symbols wireman54301 Hosting & Domains 0 Apr 18th, 2006 06:01
Locking a jpg to a frame? Abram Web Page Design 5 Mar 30th, 2005 19:33


All times are GMT. The time now is 16:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43