Loaded Swf. Gets Messed Up
i have a small swf that gets loaded in to a MC when my movie reaches a certain frame.
loadMovie ("Riders.swf", "/object03/ RidersVessel");
the loaded movie "Riders.swf" works fine on itsown. But when it is loaded, the tell targets don't work.
The following code is in the loaded swf (very simple)
on (rollOver) { tellTarget ("_root.ridericons") { gotoAndPlay ("rider01"); } } on (rollOut) { tellTarget ("_root.ridericons") { gotoAndPlay ("blank"); } } on (release) { tellTarget ("_root.RiderInfo") { gotoAndPlay ("MikeRiddell"); } }
The buttons tell the MC "ridericons" to do stuff when rolled over and out. when released, another MC "riderInfo" is told to play a specific frame label.
When loaded into my bigger movie, I get these two errors: Target not found: Target="_root.ridericons" Base="_level0.object03.RidersVessel" Target not found: Target="_root.ridericons" Base="_level0.object03.RidersVessel"
Thanks!
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-05-2002, 03:37 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Urgent: Loaded Text Gets Messed Up -help Please
hi, i need help on a strange problem:
in my main movie i have a dynamic textfield with html checked so i can format my txt-file which i load at runtime. but everytime i format my text with the bold-tag "<b>" my text loks like this:
"ontrary to oular belie, Lorem Ipsum is not siml random text."
instead of:
"Contrary to popular belief, Lorem Ipsum is not simply random text."
i tried to save the text with every possible encoding (UTF-8, ANSI etc)-with no difference in the result.
When i try to format my textfield within Flash, since i need the whole thing bold, it shows nothing.
any idea why the b-tag eats certain characters is very much appreciated, i'm a bit into a running out deadline!
thx 1000X daar
Depth Messed Up On Externally Loaded Movie
Here are the files, any help would be great!
Cat.swf works fine on it's own, but when loaded into site.swf, the z sorting doesn't work.
Notes:
I will be adding more boxes (photos) 12 total, I will have 5 of these movies that will be loaded into the holder (5 collections of photos)
things that can be improved:
•If this can be made more dynamic(if I move an image on the stage I don't need to change the x and y coordinates in the action) that would help.
OR
If the images loaded externally (xml maybe) with a preloader animation, and random placement on the stage.
Dream:
in a perfect world, when the section is clicked, flash would reference an XML file for size, thumb, and full image (so i can change and update them outside of flash) the photos would then get "tossed" onto the stage (mild spin animation, like someone just tossed them onto a table, this could be randomized so each visit would yield a different layout. Maybe a thumb could load and when the image is clicked, it scaled the thumb and loaded the full (maybe a small load animation would appear over the thumb and fade into the full image once loaded. If someone could make this happen, there may even be some money in it for you.
but if I could just get the z sorting to work, I'll be happy.
Thanks,
Scott
MX Just Messed Up :(
Well, all the sudden today when I went to run it. The painbrush is a square graphic but paints as it is supposed to and you cannot see the outlines while making shapes... HELP ME or I will be sad forever...
For (i=0;i=done;i++) {messed Up}
I have two "for" statements in a row in one frame, which duplicate two different movies. First one creates 7 copies of one movie and the second one creates 30 copies of another movie. When I write the first one only it duplicates 7 movies, works fine. When i write the second one it works properly but the first one stops working. The question is:
Why
Here's the code if needed:
Code:
weekdays = new Array ("Su","Mo","Tu","We","Th","Fr","Sa")
now = new Date();
weekd._x = -25;
ox = weekd._x * -1;
days._x = -25;
for (i = 0;i<weekdays.length;i++) {
_root.weekd.duplicateMovieClip("weekd"+i,i);
_root["weekd"+i]._x = ox * i + 30;
}
for (j = 1;j<31;j++) {
_root.days.duplicateMovieClip("days"+j,j);
_root["days"+j]._x = ox2 * j + 30;
}
For (i=0;i=done;i++) {messed Up}
I have two "for" statements in a row in one frame, which duplicate two different movies. First one creates 7 copies of one movie and the second one creates 30 copies of another movie. When I write the first one only it duplicates 7 movies, works fine. When i write the second one it works properly but the first one stops working. The question is:
Why
Here's the code if needed:
Code:
weekdays = new Array ("Su","Mo","Tu","We","Th","Fr","Sa")
now = new Date();
weekd._x = -25;
ox = weekd._x * -1;
days._x = -25;
for (i = 0;i<weekdays.length;i++) {
_root.weekd.duplicateMovieClip("weekd"+i,i);
_root["weekd"+i]._x = ox * i + 30;
}
for (j = 1;j<31;j++) {
_root.days.duplicateMovieClip("days"+j,j);
_root["days"+j]._x = ox2 * j + 30;
}
Publishing Is All Messed Up...help Me Please
Hi... i have my MOVIE.fla in one folder and now that im done i've published it. But while i working on it some other SWF's have been added to the mix like MOVIE_Scene2.swf and others. Do I have to upload all the swf's onto the server thats hosting my site or just the MOVIE.swf ... I'm not loading any movies into other levels just incase your asking.
Oh YEAH... I do have about 100 MC's in my movie and when i sent my friend the MOVIE.swf to look at none of the buttons worked(these buttons told mc's to play)
HELP!!! PLEASE!!!
Help - I've Messed Up The Actionscript
Please help !!!!!!
I have messed up the actionscript in my game and I don't know how to repair it.
The game jumps from frame 1 to the last frame (frame 4).
The game starts on frame 2 ??????
Can I please send this to anybody by email to get it sorted please (I've spent 4 hrs on this !).
Thanks
Preloader Messed Up
I made a preloader for my flash movie, which is quite big (approx. 1mb), but whenever I load the movie I get a blank screen until the movie is about 50% loaded, when the preloader frame loads.
Wtf is going on?
OH NO PLEASE HELP I MESSED UP BIGTIME
Oh my god... I just (accidendly) delete my data files for my flash game I was making. I am using Windows Me and they did not go into my recycle bin. They are ascii files. I looked all over the web for programs to "undelete" them... and all the ones I found restored the files in binary format (ie. the files were full of crap...not readable...not usuable).
Anyone know of a program to save me? I can't believe i did this. I have over 500 data files. If I lose them... oh no.... I don't even want to think about it....
Please help me... I am so desperate right now.... thanx
-Ryan
My Preloader Is Messed Up
HI,
Hope all you flashlights are glowing like the sun, um when i look at the graph in my bandwidth profiler, i have this spike that is huge and exists at the beginning of the flash project, and because of this spike i get to see my preloading animations and preloading bar after it reaches 36%, what can i do to make my preloading graphics appear when it 0%.
Thank you
Links Are Messed Up. Please Help
http://www.kirastackhouse.com/index.fla
above is my file... here is a link to the page:
http://www.kirastackhouse.com
you can see what happens with the links - when you click the kirastackhouse icon on any of the pages it takes you back to the original page however the buttons are missing. also, the link buttons that appear on each page don't work either. i think it is a problem with having so many mc's?? can someone please take a look at my file and help me out?? this is the only main problem i'm having at themoment and with this problem fixed, my page would actually be functional. please help!
Links Are Messed Up. Please Help
http://www.kirastackhouse.com/index.fla
above is my file... here is a link to the page:
http://www.kirastackhouse.com
you can see what happens with the links - when you click the kirastackhouse icon on any of the pages it takes you back to the original page however the buttons are missing. also, the link buttons that appear on each page don't work either. i think it is a problem with having so many mc's?? can someone please take a look at my file and help me out?? this is the only main problem i'm having at themoment and with this problem fixed, my page would actually be functional. please help!
Goto Got Messed Up
I just made a simple game where you try to keep a ball in the air for as long as possible (www.TechZimmy.Com/game.html), but it got kind of large so I put a simple preloader on to it that was in a scene before the game. It got the code in the ball very messed up. When the ball hits the ground, it has the code:
Code:
if (this._y>310) {
for (i=_root.Yscore; i>0; i--) {
_root.Yscore--;
}
nextFrame ();
310 is where the ground is. Yscore is a text box that goes up 1 every time you hit the ball. the next frame has the message "You Died". When you play the game with this code, when the ball hits the ground, the score becomes 0, but the nextFrame statement is ignored. I have tryed every form of gotoAndPlay that i know and it still wont work. Please help!
Thanks
Adam
[Edited by TechZimmy on 08-28-2002 at 09:54 AM]
Messed Up Speed In IE
When i preview my movie in Flash MX and in the player itself the movie runs fine and it synchronized with the music the way i want it. but once i put it into html or view the .swf file in Internet Explorer, the FPS seem to be slower and it isnt timed with the music the way i had it and its messed up when u view it on the web or preview it in dreamweaver. I need help!!!
Why Is My Site Messed Up On A Mac?
I designed my site on a windows machine. when my friend views the site on his macintosh, everything is way out of place and some things don't even show up.
are the pixles different on a mac or something?
here is my site, it needs a major over-haul:
http://www.angelfire.com/biz/thebois...menusystem.swf
My Menu Is Messed Up
please help me figure out what im doing wrong!!
or if theres a simple way to re do my nav system, now i jsut have transparent boxe over each MC for the button with an action script for on release goto and play.
http://www.blackoutband.com/cite.fla
http://www.blackoutband.com/news.htm
My Text Is Messed
I just wanted to hear from anyone that may have had text in flashMX go wonky. When he views the contact section he says he gets nothing but snmb or something to that effect. No hes looking at it on a 1.8 laptop with windows MX wich for all purposes is the same kind of sys i made it on so I'm at a loss to fig it out any hints/horror stories would be appreciated thank you.
this is the site in question...
http://www.zeropopups.com/gfx/start.html
Help I Messed Up Big Time?
Hello,
I made a movie in flash mx, and of course nobody can see it if they don't have a flash player6 the easy thing to do would be to put a button on it that would allow people to download the flash 6 player but then the first page would have to be in html, I am really fresh of the vine so I don't know any html or really understand flash either, and I understand that you can publish a html file and edit it with notepad, but when I look at it I don't understand it, and I don't know which is the flash movie or the html so my question is this... I want to have a first page that will be in html that will determine what the person has and go into html if they don't have the flash player or go right into the movie if they do, I think I am explaining this right I did read the flash help thing and it said something about a detection device but I don't understand that either, can someone explain this really simply? I'd really appreciate it.
Thanks
My Menu Is Messed Up
is it possible to make a mc with mc's inside that can have on release functions that work ive done it before but cant make it work......... heres the fla
Messed Up - Please Advise
Okay, I'm having a day from the deepest hell! I just finished a movie for a client and sent them the swf and then getting out of a taxi dropped my laptop and it is absolutly dead beyond belief with the fla on it!
now i have to change the fla but don't have it - but i do have the swf but how can i open this again in flash - it's been protected from import!!! is their flash ripper or something that can open this or similar software and if so where can i get it from????
please help! thanks! tasvin
Alpha Is Messed Up
I am loading a MC into a sprite where the clip is fading in and out...if the clip is unloaded while the alpha value is low you can't see any new jpgs that might be loaded...so is there a way to set the alpha value to 100% at the time it is unloaded...sorta like using a destructor in C++ when an object is destroyed.
thanks much,
d
A Little Messed Up Code
So I'm working on a request form and the Son of a Monkey is not working, here's the code I've got written for the "submit" botton, does it look right, if you've got time go to the site, click on Contacts, then request - at the bottom in orange text. I will bring you to the request form that currently is not on the right movieload level but that's an easy fix. If you check it out you might get a a better idea of where I'm messing up at.
on (release) {
if (subject eq "" or message eq "" or from eq "" or company eq "" or name eq "") {
stop();
} else {
lineAdapt();
loadVariablesNum("mail.php3", 0, "POST");
gotoAndStop(2);
}
}
Here's the frame code:
stop();
function lineAdapt() {
message_send = message;
while (msg_count<length(message)) {
msg_count = msg_count+1;
if ((substring(message_send, msg_count, 2)) eq "
") {
message_send = (substring(message_send, 1, msg_count-2)) add "
" add (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));
}
}
message = message_send;
delete msg_count;
delete message_send;
}
Here's the PHP that goes with it all.
<?php
mail("info@entangledstudios.com", $subject, $message, $name, $company "From: PHPMailer
Reply-To: $from
X-Mailer: PHP/" . phpversion());
?>
Thanks for your time, and your help,
Cheers,
JT
Messed Up With MX2004
in the previous MX version there used to be with a right mouse click on a MC within the library a menu step called "Action" - This is not any more.
Now I am messed up I have linked a Script to a MC, but this seems to only appear at the keyframe I opened the script window for the movie Clip.
Question (which makes no sense to me!!) - Do I have to copy this script to every keyframe I want this MC to be active on?? this would be quite silly.
a different way??
Thanks!
12&70
Graphics Are Messed Up
Could anyone tell me why when I check the swf on my computer the graphics and text look fine, but when I post them on the web the look terrible sometimes. My text is barely readable sometimes?
Here is my site. It does take a little while to load. Website
BUtton Is Messed Up
help me with this there is something wrong with the button, click save target as or something, .. you have to click on the top part of the button to activate it instead of the whole fromt of the button plz help.
http://www.freewebs.com/malevolent-hex/button.swf
Messed Up Buttons
I am using movie clips for buttons.
on (rollOver) {
_root.button1.gotoAndPlay(2);
}
on (rollOut) {
_root.button1.gotoAndPlay(7);
}
on(release){
_root.gotoAndPlay("home");
}
The buttons work fine except if you click them twice, then it will load an entirely different clip altogether. How do I correct this?
Sound Is Messed Up. HELP
I imported a .mp3 to Flash, and when I go through the timeline, the sound doesnt play. Or sometimes, it does play, and never stops. SOMEONE PLEASE HELP ME!!!
Crosshair Is Messed Up
Hi, I'm trying to make a crosshair made of two lines follow the mouse's _x and _y movements. The movement of the lines is very erratic and I'm dumbfounded. I have the file here
any help would be appreciated
Messed Up Scroller...HELP
Hi. I made a scroller, download here:
http://www.yaygames.com/scroller.fla
When I try to copy/paste it into a new FLA, my main site, the button (or "knob") stops dragging....what should i do, and what is the solution?
Thanks,
Summoner
My Quiz Is A Little Messed Up...
Hi, I downloaded a quiz template, copied and paste into my fla file, and I got a strange error.
The quiz is supposed to get the question and answers (a few options for each question) from an array.
However, when I run the quiz, the options are all messed up (or rather, they won't spread out.)
I can't describe the problem in more detail, please take a look at the .fla file to get a clearer picture.
Thank you in advance.
Rollover Messed Up By Url
Okay to start with I'm not a flash programmer but this guy left me in a lurch and I had to add the url's to the links myself, the problem is that it messes up the rollover action.
Here is the original: http://www.cecvp.com/header5.swf
Here is the version with the urls put on the links: http://www.cecvp.com/header5_mod.swf
There are other things I changed but ignore that, just focus on the behavious of the navigation links (home, about us, etc). In the second version the rollover stopped working.
The process i used to add the url was to double click until i got to symbol 18 at which point i would double click on each link the select it then enter the url where the link symbol is in the properties window.
Something's Messed Up With My If Statements
Ok, I am trying to create a Flash stem and leaf plot. If you put in 13, then I want the stem to print 1 and the leaf 3. If you put in 13 and 17, then I want the stem to print out 1, and the leaf 3 7. My only problem is I have to use a major amount of if statements to control this. I am trying to fix a problem I was having previously: when I typed in a number in the first input box, a number below that did not start with the same number first came up with undefined, then the number I wanted. Now that I have figured out how to not print out the undefined, I'm running into a different problem, where none of my numbers are printing out in the right spot, except for that one. Below I have put the link to the swf movie. I've attached the full code in a word doc. If anyone has any ideas, I would really, really appreciate the help.
http://www.marisavanskiver.com/ch3
Layers Messed Up
I'm exporting the main interface file, and then a bunch of other swf's that are supposed to load one by one in the center of this interface. They load fine, but the problem is that now they're on top of the interface elements - they stick out to the sides - even though originally they exported it as a layer below (the way they are supposed to work).
How can I fix this?
Thank you.
[F8] Messed Up Animation
Hi all. Big big problem here. I have noticed that all my sites are very wird looking speaking of animation. The first 5 second of animation run perfectly and then, all of a sudden they slow down and they run a lot slower? Why is that? Somebody told me that it could be cuz of my scripts. Ok, i made an animation with no action script, no filters, no bitmaps, just simple vector graphics(nothing complicated) and they still run like that. Where the hell is the problem? I'm really curious. PLease help. Thanks all
Peace
Messed Up Scroller
So I am trying to put a scoller on a site I am building so the user can scroll left to right and view pictures. I tried doing it myself and missed it all up
here is a link to see it
http://dj-edge.com/completescroller.swf
to download my flash file:
http://dj-edge.com/completescroller.fla
Can anyone help me fix it?
[CS3] [AS3] Messed Up Preloader?
Hey everybody! I'm not too sure what is wrong but for some my flash movie will load once, the preloader works perfect and everything, but then when you refresh the page or navigate to a new page, the flash movie will just sit there on the first frame, where the preloader is, this happens only in Internet Explorer though. If you view this website in IE you can see what I'm talking about.
My Image Gets Messed Up
Hi,
I've very rarely had to work with images before and dont know any "tips & tricks".
Basically I have a logo gif image.
When I place it on the stage it looks fine... no problem.
When I public my swf the image looses quality (jagged edges etc).
What would be common causes for this behavior and might you be able to suggest "best practices" for working with gifs?
Thanks,
dub
Scene Messed Up Help
PLEASE HELP! I have this due for an assignment for school, and for some reason this one scene isn't loading correctly.
It jumps somewhere near the end, and I didn't put any frame action or anything like that to this part of the scene.
I triple checked this scene for errors, and nothing. I even tried saying for the first frame in the scene to 'gotoandplay(1)' and '_rootgotoandplay(1)' or something like that.
PLEASE HELP!
Someone respond within 30 minutes of this post.
It could also be the scene before this scene.
I was doing the 'typewriter' effect, and it worked fine, until I last
saved the project. Then something screwed up.
Please someone please help me!
I was working on this for three weeks and now it does this! PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Uninstalling May Have Messed Something Up.....
I downloaded and installed the Trial Version, decided I didn't like it, so I uninstalled it. Ever since a website called MyPlash, which I believe uses some kind of ActiveX Control or something no longer works (IT'S ONE WHERE YOU NEED TO CLICK ON THE PAGE BEFORE YOU CAN SEARCH, CLICK ON LINKS, ECT.). It worked fine ever since I uninstalled Flash CS3 Professional. What could be causing this, and what can I do to fix it?
Messed Preloader
Hey I can see there are people out there that can help.
I forgot to state what is wrong. However I have no clue.
I was hoping you could tell me if you downloaded it and opened it to tell me.
Preloader
Messed Up Script
I know no one will read this because they never seem to, but I'm having a really frustrating problem that makes me want to rip my computer out of the wall and stab something with it's shards.
I'm making a thing where you program a ball to move around the screen and such, but for some reason I can't figure out, you can't use the same operator in two if statements without it getting an error. File: http://www.steven-s.us/upload/store2/ReadScript.fla
I have no idea why it does this.
Ok...Things Get A Little Messed Here....
I'm currently getting in "trouble" with a page i am designing for a client of mine, because it has soooo many subpages that i don't know how to control them.
Lets say there is the Main Swf, in this main swf there is a menu which controls an empty movie, where the subpages are opened in... that works perfect...but then in these subpages i have links too which should open subsubpages in an empty movie which is in the subpage... sounds easy but i don't get it...
when i start the subpage standalone it works perfect, the subsubpages open and everything is ok, but as i start the whole site, nothing works....
do i have to include the main swf also in the path? When i take _root in a subpage, does it mean the root from the main swf?
Page tree:
Main Swf (root) - container (located in the main swf where the subpage is loaded) - altcontent (located in the subpage where the subsubpages are loaded)
Hope somebody understands my problem and can point me in the right direction... it must be something with the path
SetInterval Messed Up
Hi there
I created a mc(which acts as a button) where the text moves from left to right when i rollOver and moves back when i rollOut.
I duplicated the mc 2 times so i have 3 buttons
I gave all 3 mc's a different instance name.
I did put the 3 buttons on the main stage
But when i moveover the mc's very quickly the text which should go from left to right and back, is messed up (stops half ways, etc). It goes fine when i move slowly.
Does it have something to do that i duplicated the mc's and it has now the same function names?
I hope someone can help me out here
Help.. Take A Look At My Messed Up Site
hey guys...
i uploaded this GALLERY last night and it worked fine in flash and in Frontpage. Click on a couple of thumbs and you will see how the picture goes off to the corner..whats going on with the MC??
what i'm i doing wrong??
i know the gallery isn't that great but..hey i'm a nooob.
http://www.malameel.com
THANKS !
Has Anyone Messed With Adobe Air
Has anyone messed with Adobe Air? Just wondering, i just download it -- just wanna know if someone has started messing with it yet?
Messed Preloader
Hey I can see there are people out there that can help.
I forgot to state what is wrong. However I have no clue.
I was hoping you could tell me if you downloaded it and opened it to tell me.
Preloader
Movie Is Messed Up
Hello everyone, i am new to this forum.
I have built a website of with a major prob. The bandwidth profiler says that the first frame of the movie contains 250kb of data even though the first frame of the movie is the preloader and contains nothing but the preloader which is a simple bar. When I stream the website at 56k it is paused until the first frame loads for this reason. What is wrong? I have also tried several other approaches to the preloader which also gave me the same result.
Any advice would be greatly appreciated as I need to post my webstie before deadline.
Messed Up Text
how come sometimes when an .fla is published it colours in the letters that have loops or enclosed areas in them?
SetInterval Messed Up
Last edited by immunez : 2005-08-27 at 07:24.
Hi there
I created a mc(which acts as a button) where the text moves from left to right when i rollOver and moves back when i rollOut.
I duplicated the mc 2 times so i have 3 buttons
I gave all 3 mc's a different instance name.
I did put the 3 buttons on the main stage
But when i moveover the mc's very quickly the text which should go from left to right and back, is messed up (stops half ways, etc). It goes fine when i move slowly.
Does it have something to do that i duplicated the mc's and it has now the same function names?
I hope someone can help me out here
Well here's some code from the mc
The button is an mc which contains a dynamix txt field (dyntxt).
ActionScript Code:
dyntxt.html = true;
dyntxt.htmlText = "<font color="#ffffff">de vereniging</font>";
dyntxt._x = 15;
dyntxt._y = 0;
distance = bgButton._width-dyntxt._width;
moveinfunction = function (mover) {
if (mover._x<distance) {
mover._x += 5;
} else {
clearInterval(moveint);
};
}
moveoutfunction = function (mout) {
if (mout._x>15) { mout._x -= 5;
} else {
clearInterval(moveint2);
}
};
hitBtn.onRollOver = function() {
moveint = setInterval(moveinfunction, 5, dyntxt);
moveinfunction(dyntxt);
}
hitBtn.onRollOut = function() {
moveint2 = setInterval(moveoutfunction, 5, dyntxt);
moveoutfunction(dyntxt);
}
Thanx
|