Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-21-2001, 12:14 AM   #1
mosquito
Registered User
 
Join Date: Mar 2001
Location: London
Posts: 38
Default

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 : )

mosquito is offline   Reply With Quote
Old 03-21-2001, 08:25 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 03-22-2001, 10:48 AM   #3
mosquito
Registered User
 
Join Date: Mar 2001
Location: London
Posts: 38
Default didnt work : (

still didnt work, could i email the files to you so u could check it out...please
mosquito is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.