| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2001
Location: London
Posts: 38
|
please help me!
I have split my movie into two halfs so that i can increase the scale of the second half of the movie by loading it into a blank movie clip. This works perfectly except that the 'zoom in' and 'zoom out' buttons have stopped working when they are loaded into the movie....WHY OH WHY!!!! (sometimes i hate flash) the buttons are in the loaded movie. the actions i have used for the zoom in and out buttons is as follows: ZOOM BUTTON: on (press) { tellTarget ("/uptrigger") { gotoAndPlay (2); } } on (release) { tellTarget ("/uptrigger") { gotoAndStop (1); } } and in the 'uptrigger' action there are three frames frame 1: has a stop action frame 2: /sample:scaleval = Number(/sample:scaleval)+5; setProperty ("/sample", _xscale, /sample:scaleval); setProperty ("/sample", _yscale, /sample:scaleval); frame 3: goto and play frame 2 again it works in the movie when it is played on its own, but not when loaded into the blank movieclip...please help me out, will be appreciated, i am getting desperate here : ) |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
When you load into a blank MC the paths to everything changes, have you accounted for that in your code?
If I have a simple movie with an MC in it, with a variable which I set like this: _root.mcName.variable = "value"; When I load this simple movie into another movie's blank MC (let's say the blank MC's called 'fox') the paths all change. So I would have to say: _root.fox.mcName.variable = "value"; Cheers Jesse
__________________
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. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Mar 2001
Location: London
Posts: 38
|
still didnt work, could i email the files to you so u could check it out...please
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Newbie in Desperate Need of Help | Lovebev1 | Animation and Effects | 2 | 03-23-2006 03:27 PM |
| desperate for help! -- dynamic image loading | Contradoo | ActionScript 2.0 | 0 | 02-25-2005 05:45 PM |
| in desperate need of some flash 4 help!! | barry | ActionScript 1.0 (and below) | 14 | 05-02-2003 02:01 PM |
| desperate preloader problem | masha | Other Flash General Questions | 4 | 04-09-2003 02:44 PM |
| kind of desperate fscommand("allowscale") | Taldos | Projectors and CDs | 3 | 12-01-2001 05:48 AM |