| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
I'll try to explain this the best I can, but it's strange...
I have a website SWF with 6 links on it. Each link loads a MC with the same name... i.e. About link loads AboutMC, Contact link loads ContactMC, etc. When the movie is attached it is then set to x,y position 350, 150 so it appears in the right place. Everything is working fine UNTIL... I changed one of the MCs to include Scrollbar and Combobox components... That MC (called WhereMC) causes a problem... The WhereMC loads fine, BUT whatever movie loads next loads at 0,0. (If I click the link again, it reloads it in the correct position.) Something is wrong in WhereMC such that the (root level) function that does the MC loading is not working correctly... My function looks something like this: function loadLinkClip ( MCtoLoad) { attachMovie(MCtoLoad, "bodyMC", _root); bodyMC._x=350; bodyMC._y=150; } Your thoughts? Thanks, Kenny |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Try this:
ActionScript Code:
ActionScript Code:
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Page Flip script / attachMovie, loadMovie problems | kowee | ActionScript 1.0 (and below) | 7 | 10-23-2007 07:07 PM |
| attachMovie to a specific layer? | Clox | ActionScript 2.0 | 2 | 11-07-2004 12:50 PM |
| attachMovie and Linkage Identifier | CyanBlue | ActionScript 1.0 (and below) | 8 | 05-20-2003 11:55 AM |
| attachmovie into holder for loadmovie | Nate Acheson | ActionScript 1.0 (and below) | 6 | 02-11-2003 05:31 AM |
| attachMovie clips not executing code through button | Blaster | ActionScript 1.0 (and below) | 3 | 04-09-2002 02:36 PM |