Parts Work Alone, Together They Don't
Hi, I suspect this may be a masking issue???
I've created a series of sliders forming a timeline. The slide effect was done with a mask. Buttons with rollovers trigger the sliding movement.
.swf looks great when I test it, but when I load it into anything else the sliders don't appear.
any suggestions would be greatly appreciated
thanks
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2002-12-16
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Parts Of One .swf Don't Work When Its Loaded Inside Another .swf
Hi , Im having a little problem with this script. I have this main.swf, that calls "portafolio.swf" inside it, when it gets to the frame 25. I loads perfectly, the point is that on portafolio.swf I have a menu with a mask, and 2 arrows that help to move the menu. If I play portafolio.swf by itself everything works right, but, when I load main.swf, and this load inside portafolio.swf, just the arrows function for the menu, dont work.
This is what I have in portafolio.swf to make the menu movement:
(this work fine, if I play this .swf alone)
var btnleftarrow:Button;
var btnrightarrow:Button;
xTargetmc_menu = 557;
this.btnrightarrow.onRelease = function(){
xTargetmc_menu = 500.9;
}
this.btnleftarrow.onRelease = function(){
xTargetmc_menu = 557;
}
also I have this code Inside the mc_menu movieclip:
onClipEvent (enterFrame) {
xmc_menu = getProperty(_root.mc_menu, _x);
movemc_menu = _root.xTargetmc_menu - xmc_menu;
setProperty(_root.mc_menu, _x, xmc_menu + (movemc_menu/4));
}
and this is how I load this .swf inside the other:
var ultimoNivel:Number;
ultimoNivel=this.getNextHighestDepth();
this.createEmptyMovieClip("mcvacio",1)
mcvacio.loadMovie("portafolio.swf");{
mcvacio._x=0;
mcvacio._y=72;
};
thanks for any help.
Sonambulo
When Uploaded, Movie Parts Don't Work...im Baffled
NO idea why it works when tested on own machine but doesn't work when uploaded. Files are all in same dir and names are correct and everything. Plays just fine BEFORE I upload to any webhost.
on main flash file i have a compass with needle that points to menu items as they are hovered over. Now, when I test it in Flash MX it is perfect, same thing when I run file on computer.
mainmovie, frame 1
loadMovieNum("header.swf", 1);
loadMovieNum("home.swf", 2);
loadMovieNum("homepics.swf", 3);
mainmovie, menu link1
on (rollOver) {
_root.mainmenu.panel_cp.gotoAndStop(2);
_level3.homeinfo.gotoAndStop(2);
}
on (rollOut) {
_root.mainmenu.panel_cp.gotoAndStop(1);
_level3.homeinfo.gotoAndStop(1);
}
on (release) {
_root.mainmenu.panel_cp.gotoAndPlay(7);
_level1.header.gotoAndPlay(2);
loadMovieNum("profilecontent.swf", 3);
loadMovieNum("profpics.swf", 4);
gotoAndPlay(2);
}
header.swf's 'home' link
on (release) {
_level0.mainmenu.sidemc.cplinks.gotoAndPlay(15);
_level0.mainmenu.panel_cp.gotoAndPlay(21);
loadMovieNum("home.swf", 3);
loadMovieNum("homepics.swf", 4);
gotoAndPlay(16);
}
finally, here's links to .fla files and also a zip of swf's so you can see how it works when ran from your own machine. This baffles me.
http://webpages.charter.net/uber/sbc/ - view problem site here
http://webpages.charter.net/uber/sbc/sbc.fla - main file
http://webpages.charter.net/uber/sbc/header.fla - header file
http://webpages.charter.net/uber/sbc/pack.zip - swf files.
Shaking Parts
i was makin this thing in flash and i wanted to test it out. it looked fine in flash but when i tested it it had parts that shook. i uploaded it to see if that was the problem but it still did it. then i got someone else to look at it and it was doing it to them too. how do i fix this? it looks fine in flash, just when i save it as swf it gets all messed up.
heres what im workin on:
http://pabl315.tripod.com/images/fla...ion/index.html
Square In Parts
When I draw a square the out line and fill are all parts. There must be a switch that I'm missing when I want the square to be a solid unit, lines and fill as one part.
Bob
Getting Both Parts Working
my prog is split into 2 parts, getting past and getting future data, unfortunately i can only get one part working at a time, can anyone help, the fla is:here
Blinking Parts
What is up people. I have a quick question that is driving insane. I saw a website where there would be an image, and some parts would flash for a second. How do you do that? The flashing was looped too. How do I do that? I need help ppplllleeeaasssee!
Character Parts
Does anyone here know of a place to simply download different human/animal parts to prevent from having to individually draw characters in the future?
Preloading Different Parts
THis might not even make sense....but,
I need to be able to have 4 separate movies preload, but not be seen untill called....
So, it is possible to preload like a MC, but have the main time line preload first, so something along those lines....
or something along those lines
I have a mian movie, but when the button is hit, it needs to basically take that movie out, and replace it with the new one.....if I have them just change spots...there is a flicker of white.
I am looking for away around the flicker.
Parts Of Text
is it possble to see if a work contains a certain character. Like for emails I need to check if the email contains the @ sign.
Saving Parts
Hi all
I am new to actionscript, I am really an artist and I want to do an installation piece, so I was wondering if maybe there was a tutorial someone could point me to.
I am making a flash movie that acts sort of like a dress up game, where people can select and move different facial parts to create a face. I was originally going to have people draw like a paint program, but I have found it would be almost impossible to save the drawings they made.
I do need to find a way to save the position of the facial parts that people place. So far I just have body parts as buttons people can drag and drop. I want these positions to be somehow saved so that I can view them, either put on a server or emailed to me. The end result will be that I can see the faces other people created and save them as images somehow.
Can anyone help? Thanks
~m
[F8] Preloader For Parts Of Swf
I have a graphically intesive site and want to preload much of the content. I currently have a main stage with a menu bar and a container mc to import the content.
First question:
Is it better to load in everything as .swfs or as movieclips from the library?
Main question: I want the main swf to load in all the content on startup and have a small indicator on the top of the screen displaying what is being preloaded ie: video content loaded... then... images loaded.... then... other stuff loaded etc...
However, if the user clicks on a menu item that takes them to a page that has content that hasnt loaded yet i want the main container mc to also display the preloader information for that content.
I am familiar with the logic and syntax of basic preloaders, im after some advice for this system.
Thanks in advance
URL Divided In 3 Parts
Hi
I want to have a particular URL divided in 3 parts, one part of the URL will be inside the swf file and the other two will be part of the html code of the page where the swf is embedded.
Example:
This part will be inside the flash file
Part 1: http://www.adobe.com/support
And the rest will be two separate pieces of the URL that flash will be getting from the html
Part 2: /service/
Part 3: downloads.html
So after the click this will be the complete URL to where the person that is clicking will go.
http://www.adobe.com/support/service/downloads.html
I have tried different things but nothing is working, can some one give me a hand?
Attached are some simple files I created to test this
Thanks
Alex
Hidding Parts Of The Fla
Pardon me if i am not making any sense im rushing this wile on the clock at work
i recently took over the design of my clients site, been having lots of problems luckily i stumbled on a way that solved my issues.
for some reason i feel that the previous designer set it so that no one else could edit it, it seems as if he locked things like the mc's and there actions.. i could not see any components.. for examples in the actions list there was only objects with actions, it wasnt until i took it through sothink decompiler that i realised there was so much more i could not see. so after i decompiled it everythign was okay,
MY QUESTION IS
is it possible to lock things in a fla so that no one else can edit them or see them.. ? or am i missing a bit of knowledge?
Cannot Get Parts To Be In Center
Hi
I have completed a site, and it works fine, and looks great in the flash window when testing, but when i place it into a html file the the main images at the beginning of flash file are put to the left, though they are coded to be in the center of the stage.
I have tried everything, in both actionscript and html which i know.
I have placed the flash file as 100% x 100% in the html doc and want the file to fill the whole browser window and be centered in any res screen
I was wondering if anyone could help me to get this site totally centered without ruining the flash layout.
Some things i have tried have made the flash file go odd within the html doc.
The part of the code that need sorting is:
Code:
public class Main extends MovieClip
{
private var _btn1:Button1;
private var _btn2:Button2;
private var _image:Loader;
private var _mask:Sprite;
private var _whitePage:Sprite;
private var _btns:MovieClip;
public function Main()
{
this.stop();
loaderInfo.addEventListener(ProgressEvent.PROGRESS, showSplashPreloader);
loaderInfo.addEventListener(Event.COMPLETE, continueNavigation);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
}
private function showSplashPreloader(event:ProgressEvent):void
{
preLoader_mc.progress_mc.scaleX = event.bytesLoaded/event.bytesTotal;
}
private function continueNavigation(event:Event):void
{
_mask = new Sprite();
_mask.graphics.beginFill(0, 0);
_mask.graphics.drawRect(0,0, stage.stageWidth,stage.stageHeight);
_mask.graphics.endFill();
_mask.scaleX = 0;
addChild(_mask);
_whitePage = new Sprite();
_whitePage.graphics.beginFill(0xFFFFFF, 1);
_whitePage.graphics.drawRect(0,0, stage.stageWidth - 50, stage.stageHeight);
_whitePage.graphics.endFill();
preLoader_mc.visible = false;
gotoAndStop(2);
_btn1 = new Button1();
addChild(_btn1);
_btn1.y = 269;
_btn1.x = 1041;
Tweener.addTween(_btn1, {x:(stage.stageWidth-stage.stageWidth)/2+202, time:1, onComplete:animation2, transition:"easeInSolid"});
}
private function animation2():void
{
if(_btn2==null)
{
_btn2 = new Button2();
addChild(_btn2);
}
_btn2.y = 269;
_btn2.x = 841;
Tweener.addTween(_btn2, {x:(stage.stageWidth-stage.stageWidth)/2+581, time:1, onComplete:addClicks, transition:"easeInSolid"});
}
The part that i need to center is tween of _btn1 and _btn2
Thanks for any help
Nathan
Does Anyone Know How To Do Rotation Of 30% In 6 Parts?
Hi all, I am new here.
I 've been facing some problems in my school work, especially with rotation.
Now, I have got this big disk divided into 12 parts. I have got a code that switch it part by part. When I press left, it switches from part 1 to 12. When I press right, it switches from part 1 to 2.
However, my teacher is not satisfied, and wishes for me to do it this way...whenever I press left, the disk slowly rotates a little bit until it reaches part 12. When I press right, the disk slowly rotates a little bit until it reaches part 2. In short, its not just 1 simple action that immediately goes to the next part, its supposed to be 6 smaller actions.
This is my current code
on(keyPress "<Left>")
{
this._rotation-=30;
}
on(keyPress "<Right>")
{
this._rotation+=30;
}
Could anyone teach me for to modify it to do smaller actions, but still switch part by part?
Thanks!
Removing Parts Of A MC Name
Hey all,
I need to remove parts of a movieclip name for an application I'm developing. In this application, clicking on one of the movieclips will trace out its name (and eventually pass the name to another function as an argument). When I click on the MC, it will trace out as "I clicked _level0.mcName". That's fine for now, but when I have to pass the mcName to another function, I will have to get rid of the _level0 part on the front. Can anyone help me with that?
Here's my code:
PHP Code:
var teaArray:Array = new Array(); // holds all tea names and benefits
var teaMovieClips:Array = new Array(); // array to hold the names of the tea MCs
// Each tea gets its own array to hold the names of the benefits.
lemongrassArray = new Array("choice1", "choice2", "choice3");
chamomileArray = new Array("choice1", "choice2");
// Push each tea's array into teaArray, which will store everything
teaArray.push({teaName: "Lemongrass", teaBenefits: lemongrassArray});
teaArray.push({teaName: "Chamomile", teaBenefits: chamomileArray});
// For loop to give each teaName a blue-colored rectangle-shaped MC
for (var i:Number = 0; i < teaArray.length; i++) {
teaMovieClips[i] = attachMovie("mcTea", teaArray[i].teaName, _root.getNextHighestDepth());
teaMovieClips[i]._x = Math.floor(Math.random() * (550-1));
teaMovieClips[i]._y = 100 + Math.floor(Math.random() * (400 - 101));
teaMovieClips[i].txtTeaName.text = teaArray[i].teaName;
teaMovieClips[i].onRelease = function() {
trace("I clicked " + this);
};
};
And my trace statement:
Code:
I clicked _level0.Chamomile
I clicked _level0.Lemongrass
And here is a link to my FLA file if you want to download and try it out.
Thanks a lot!
Parts Of An Image
Let me ask you guys too,
I was wondering how can I upload an image of yourself but use only a part of it, like the face or the legs. I want to simulate the "lasso tool" that you all know well. Just give me a quick hint. Is it the "Drawing API" ?? How ?
If I do remember well there was this thing called ElfYourself.com : http://www.youtube.com/watch?v=gerWP7imzg8
How are these made ? How can you cut from an image ?
Parts Of Variables
After creating my collapsable menu I decided I wanted to try to make one that was dynamic. So far this board has been a ton of help, for all of you that have answered my questions of gave me tips, thanks a lot.
Now on to my next question, is it possible to extract only part of a variable. When a button is clicked I assign "this._parent._name" to a variable which will return something along the lines of BtnGroup1 or BtnGroup2 ... etc.
I'm wondering if it's possible to Drop the "BtnGroup" part and somehow return just the number. I have the number of subButtons stored in an array need some way to pull the number of sub buttons for the main button that was clicked. Any help, ideas, or suggestions is greatly appreciated.
[AS]several Parts That I Don't Understand
Last edited by creative2g : 2007-05-16 at 09:29.
when I change stage size, the center point of this explosion changes it's position to lower right side of the stage, how should I keep the explosion point in the center of the stage no matter how I change the stage size? thanks a lot!!
ActionScript Code:
init();
function init() {
count = 800;
grav = Math.random()*-0.5 + 0.5;
top = 0;
left = 0;
right = Stage.width;
bottom = Stage.height;
balls = new Array();
}
function onEnterFrame() {
index = balls.length;
if (index<count) {
ball = attachMovie("ball", "ball"+index, index);
ball._x = Stage.width/2;
ball._y = Stage.height/2;
ball.vx = Math.random()*-20+10;
ball.vy = Math.random()*-20+10;
ball._xscale = ball._yscale = Math.random()*60 - 5;
balls.push(ball);
}
for (i=0; i<balls.length; i++) {
ball = balls[i];
//ball.vx += grav;
ball._x += ball.vx;
ball._y += ball.vy;
if (ball._x>right || ball._y<top || ball._y>bottom) {
ball._x = Stage.width/2;
ball._y = Stage.height/2;
ball.vx = Math.random()*-20+10;
ball.vy = Math.random()*-20+10;
ball._xscale = ball._yscale = Math.random()*60 - 5;
}
}
}
Navigating Parts
Hello, im making a site and i have these pieces of a bigger set of hills, each part will have differend time of day (morning/afternoon/evening etc..) now i have menu and i really need to following to happen.
when you click an item, it moves the whole site to that part of day, so it moves the pieces.
to give an example,
About moves to afternoon
Photography moves to evening
so when photography gets clicked it moves the welcome and about page to the left, and the others too, so photography becomes the center (inview) sorry if im explanig it really bad, to make things a little clearer
you can view the image of the fields here.. http://www.roelanddevos.nl/shop/dummy/hills.png
.. the menu takes the view to a part.
i dont have much AS skills so im really hoping someone can help me out with this.
thank in advance
Replacing Certain Parts Of A String
hey
i need to know how to replace certain words that are in a string variable that the user has inputed
thanks.
the word i need to replace is the F word
Selecting Parts Of An Image
Is it possible to select parts of an image to make into buttons? Or does each button need to be separate to assign an action to it? I would like to make an 'imagemap' sort of thing with Flash. I can not find anything about this so any help would be appreciated.
Thanks
A Question With Multiple Parts.
I know for a fact that my mc's named "mc1" and "SolMC1" is on main stage.
Definitions of clips:
mc1: Movie clip that plays when button is pressed.
SolMC1: Movie clip that plays when a mouse over occurs.
But I get this error in the action script assigned to the
button:
"Target not found: Target="mc1" Base="_level0"
"Target not found: Target="SolMC1" Base="_level0"
Heres the script:
on (rollOver, dragOver) {
tellTarget ("SolMC1") {
play ();
}
cube1._alpha = 100;
}
on (rollOut, dragOut) {
}
cube1._alpha = 30;
}
on (release) {
tellTarget ("mc1") {
play ();
}
cube1._alpha = 30;
}
I can only get this to "sorta work" when the "expression" box is checked. When the script is applied to another button and having it's targets changed to play other movies, all sorts of conflicts happen. It plays other frames and other movies when rapidly moving over other buttons and causing the movie to go back to preload. Also, Please, if you can offer insight, it would make my day. Thanx in advance.
Preloading Different Parts Of The Movie....
Hey this might be a really dumb question, i'm not sure, but anyways can someone tell me how to preload only the basic structure of the site at the start and then later when you click on the navigation buttons it takes you to another preloader and loads that section, so it's only loading the stuff needed? I've seen it done on like all the good sites i visit now, but i don't know how to do it myself, can someone plz help me???
Thanx
About Dividing Web Browser Into Two Parts
i am new in flash and so please endure my ignorance.
i want to divide a web browser into two by using flash.The left hand side will show several buttons.If someone click on them,then the corresponding website will be loaded on right hand side.i want to know how to achieve this by using flash,thanks
Linking To Other Parts Of Movie
Hi,
I am trying to make a gotoandplay button that will link between two parts of my movie.
I know how to label and frame and goto that label, but it only works if its on the same level (main timeline).
My button is on the second level (in a movie on the main timeline) and I want to link to a label on a different second level.
Any ideas?
Thanks in advance,
S.
Replace Parts Of A String
I´ve got a string like "A little bird" but I need a string without " " (e.g. "A_little_bird").
Anybody an idea?
How To Use Parts Of Movie Like Subroutines?
How can I use parts of a Flash MX movie like you would a subroutine?
The situation I have is that I'll need to run a number of small movies inside of the main movie. The reason for doing this is that I have the same thing to do several times over and at different parts on the screen. I can, of course, just do the movie in line. But I would really like to use several "movie-lettes" (like about 20 or so different ones) over and over to save from having to do each one repeatedly by hand. This would be analogous to calling a subroutine from within a program.
Experience level is expert with systems, networks, storage, systems, PCs, programming and the like but relatively new to Flash. I did try searching the forum but couldn't find anything that fit. Perhaps this has already been asked but I simply don't know the right words to search on.
I have been using Flash MX for maybe a month so I still have lots to learn. Any and all suggestions greatfully accepted.
Help With Advanced Pre Loader Parts
ok i am making a preloader but i want tit to have alot of thing so far i have it listing bytesladed and bytes remeaining and percent done and a bar moving witht he bar done, that i can do were i am having problems is listing the download rate, and estimated time remaining.
here is some of my thoughts and pseudocode
thinking i need to mesume the amount of change over time maybe with setInterval - i dont understand this command though
then i could calulate how many bytes are being downloaded per interval of time maybe get a bytecount with bytesloaded and then agian after a little bit then use
numberOfBytesPerSecdon = (endingByteCount - beginningByteCount)/elapsedTime
to get a estimated tranfser rate
and get download time with
downloadTime = totalNumberOfBytes/numberOfBytePerSecond
then for time remaning
timeRemainning = (totalNumberOfBytes - numberOfBytesNowDownloaded)/numberOfBytesPerSecond);
could someone please help with what i am missing and maybe tell me about the setInterval ccommand and help with some of the script please
Help With Advanced Pre Loader Parts
ok i am making a preloader but i want tit to have alot of thing so far i have it listing bytesladed and bytes remeaining and percent done and a bar moving witht he bar done, that i can do were i am having problems is listing the download rate, and estimated time remaining.
here is some of my thoughts and pseudocode
thinking i need to mesume the amount of change over time maybe with setInterval - i dont understand this command though
then i could calulate how many bytes are being downloaded per interval of time maybe get a bytecount with bytesloaded and then agian after a little bit then use
numberOfBytesPerSecdon = (endingByteCount - beginningByteCount)/elapsedTime
to get a estimated tranfser rate
and get download time with
downloadTime = totalNumberOfBytes/numberOfBytePerSecond
then for time remaning
timeRemainning = (totalNumberOfBytes - numberOfBytesNowDownloaded)/numberOfBytesPerSecond);
could someone please help with what i am missing and maybe tell me about the setInterval ccommand and help with some of the script please
[F5] Loading Timeline In Parts
i want to load a movie in parts: first the navigation, then seperate movies.
on frame 1 i have this action:
stop ();
ifFrameLoaded (2) {
gotoAndPlay (2);
}
when i test it, it loads the whole page, meaning frames 1 thru 7, containing heavy movies with pics.
any idead how to stop loading the rest?
somewhere in the movie "navigation" i have a button with the action
on (release) {
tellTarget ("_root/") {
gotoAndStop (3);
}
}
on frame 3, action:
stop ();
ifFrameLoaded (4) {
gotoAndPlay (4);
}
sorry for elaborating
dunno if that works coz the movie loads completely at opening anyway..
Preloading Parts Of A Movie
i have made a simple preloader for a movie and i was wondering if there is any way for it to load part of a movie and then load some more of it later on in the movie?
Preloading Parts Of A Movie
i have made a simple preloader for a movie and i was wondering if there is any way for it to load part of a movie and then load some more of it later on in the movie?
Replacing Parts Of A String...
Does anyone know how to replace parts of a string? php has a function called str_replace that does it, but i cant find anything similar in flash... example:
variable="hello i think i am really cool"
goes to:
newvariable="hello you think you are really cool"
using a function like replace_string ("i","you",variable)
if you get my drift......
Flashing Certain Parts Of Image
Check out:
http://www.dynamohosting.net/index.php
You see the server that comes up? Certain parts of it flash... how is this being done?
Only Parts Of My Site Show Up On PC
http://a.parsons.edu/~muller
text and a strokes have been very slippery.
on a mac every thing views and behaves as it should but on a PC some times every thing shows up and other times it doesn't. Any ideas?
Flashing Certain Parts Of Image
I see this effect all over flash websites, whether it be a web hosting site where lights run up and down a server or a gaming site where characters shine... how do they do this?
I need to flash some of the lights in the buildings in the city of this image:
http://www.jrcreations.net/atlanta.jpg
How can I do a smooth flash on some parts of buildings and have it done randomly...? Thanks for reading.
Seperate Parts Of Movie
I got a main movie that shows a basic text.
But I got a menu that consist of three parts, home, links and form.
I made home, links and form on the same scene as the main movie and identified them with frame labels.
Now what I want is that when U go to home, the movie preloads the part home, if u go to links, it has to preload links etc.
How can I achieve this?
And I was thinking that maybe I should make for each part a seperate MC and let it be preloaded when u go to it. Isn't that a better way then using frame labels? But I don't know for sure how I should define in actionscript then how I could let the preloader begin after u hitted the button.
Can anybody help me with that?
SWF Bombs, In Parts, Once Uploaded
Well, I've made a full site out of Flash. It looks and works great when I preview & publish it... However, once its uploaded onto my site, certain parts seem to just, well... konk out. Nothing happens. Can anyone suggest anything? I'm at a loss!
~Vik
http://www.explorecore.com/cc_site/index.html
Preloader In Different Parts Of The Flash
i want to make a flash with different sessions
for example, 1. profile, 2. portfolio, 3. contact
For the convience of the users,
i want to add seperate preloader to different sessions so that the users may load the sessions till he/she read it.
However, i only know how to add a preloaders in the a whole flash.
Please help.
Very thanks.
Moving Parts/action Help
Help!! I am trying to mock up a technical gadget (2-d in flash), and I'm trying to do something and I'm not even sure I can do... here goes:
I have a little pager sized controller. the power on switch is also the volume switch. So, I want to drag a switch/indicator from the off position to one of 3 volume options. (It's kind of just a little nub and you push it away from off and it moves to one volume setting after another and you just push it until you get to the volume you want.) Once a user moves the switch to one of the volume options, I want the other interface for this gadget to appear (i've already gotten it mocked up). I was just imagining that the user would click on the nub, hold the mouse button down and pull the nub with their mouse into their preferred volume choice.
I've done a little action scripting, but mostly just to push buttons in, i've never attempted to drag buttons. Can you help? I"m looking for the method that is simplest for a beginner flash user to understand.
Also, in anticipation of my next stage in the project, I'll need to play wav. files at various volumes. Is there a way to do that? (I can read up on it, I'm just looking for someone to tell me that you use the XYZ function to do that...)
THANK YOU
Loading Only Selected Parts Of A SWF
Hey,
I was wondering if it is possible, with a preloader - to only load one scene at a time, so if i click on the menu - it will go to Scene 2 and preload only Scene 2, and Scene 1 will only preload Scene 1, etc.
If this is possible, please help me out!
This is my current load script:
Code:
onClipEvent (enterFrame) {
a = Math.floor (_root.getBytesTotal() / _root.getBytesLoaded * 100);
this.gotoAndStop (a);
}
(this is for a movie clip which has 100 frames)
LoadVariables --- (parts In Superscript)
i have this problem when loading a txt variable
html superscript is
Code:
<sup>value</sup>
and i stuck that in the text file...
my usual technique for making text bold etc, but i have'nt found a way to superscript, or subscript txt yet, it keeps the number or whatever the same size as the rest of the text.
i can get 1,2,3 in superscript with a hex value, but thats about it and i need numbers like 20, 30.
Is anyone able to help me out please? im stuck.
Matt
thanks
Connecting Body Parts
I am working on many animations of people (stick figures) these people have two-part arms, two-part legs, a body, and a head. Is there some way to connect the centers of certain parts to each other so that if I rotate one, the other will stay connected, though it might not rotate?
Hotspot Over Parts Of Image
Hello,
I'm more of a html person so sorry if I use the wrong terms.
Is there a way to make several hotspots over parts of an image that link to a website?
Thanks,
MonaE
|