Going Insane Help
I'm sure this is a stupid question so maybe someone could give me a stupid answer..lol anyhow can someone please tell me why each time i created a button place it where i like it when i save all and reload it always appears as the loading symbol... thanks for any help
FlashKit > Flash Help > Flash Newbies
Posted on: 03-15-2005, 05:48 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Please Help Im Going Insane
What im trying to do is make a little animation of a spinning ciggarette, and as it spins it duplicates a grey blob (smoke) at whatever position the burny end of it is..
The problem Im having is that when I try to get the x and y of the invisible movie clip (fire) that I stuck on the end of the ciggie, it gives me it's x and y relative to the ciggie itself (0, -112)
What I want to get is the x and y of the fire clip, relative to the main movie (ie. it will change as the ciggie movie containing it spins)
http://my.genie.co.uk/wobble.gonk/spinningfag.fla
Here's a link to the .fla file, please please download it and see if you can help. (if you get it working please email the .fla to me)
I Am About To Go Insane - PLEASE HELP
Hi,
Sorry for the overly dramatic title
I have had a problem that is driving me nuts, i have tried various solutions and workarounds and none seem to work. Whats worse is that my boss is pressuring me to get it fixed.
The problem is relating to Flash mvoies loading out of date content. I have a flahs banner which pulls content from a txt file. When a user visits and then revisits, they are presented with the same info even though I have changed the content in the text files.
Here is the URL to a simplified version: http://www.martincrumlish.com/flash/aff75.php (note: it seems to work if you click the link, then close the browser, change the txt file and then click the link. However, I need it to reflect the change if you hit refresh)
I have add a random number to the text file names in the actionscript, i have used an iframe to call another PHp file with a random number appended to the URL and finally, the code for the flash movie also ha a random number after the .swf part. All of this was to try to make the browser download the latest version of the movie (and the text files) from the server but it doesnt seem to be working.
I also used the META tag option described here: http://www.macromedia.com/support/f...ent_caching.htm
I have included all the files in a zip for anyone who wants to have a crack at this either working with my code or a new version that just displays 2 bits of text in the same was my movie and makes sure this text comes from an external source and is up to date.
Thanks in advance for your help.
Here is the zip with all the files: http://www.martincrumlish.com/flash/mc.zip
Thanks,
Martin
I'm About To Go Insane.
OK... for the 3rd time posting, and with no success (thanks to those who tried) i'm going to ask it again.
I have 4 layers, Layer 1 is the background. Layer 2 is a layer that fades in and on frame 10 has a load command.* Layer 3 are my buttons.** and Layer 4 is my Dynamic Text Box and Scroll bar.***
*the load command is:
Code:
onClipEvent (load) {
loadVariables ("http://www.coreywatson.com/res/var1.txt");
}
**these I use to change layer 4.
***this needs to be changed by layers 2 and 3. the code on one of my buttons is:
Code:
on (press) {
loadVariables ("http://www.coreywatson.com/res/var1.txt");
}
(this is if they come back to them main section from one of the other buttons.)
the Variable for my Textfield is myText.
****this is my var1.txt code
Code:
&myText = dlksjflskjdlfjdlsdjfldkfjdslkfjslfksjflsakdjsldfj
now how to set this up? i have tried many a time and it has all fallen to ***** and i'm about to do some stuff straight out of GTA.
here are some questions i'd like to get answered:
1) do my buttons, load code and textfield need to be on the same layer?
2) does my text file have to be encoded in UTF-8? (it is right now.)
3) do i need levels and instance names when i load variables and pass commands?
and do be VERY specific, i mean like i'm your grandpa - explain it all in glorious, boring detail please.
Thanks if you can!!!
Please Help Before I Go Insane.
I have this .Fla file that is like a presentation. If you run the file you will clearly see what is wrong with it. Overlapping text. Play around with the buttons it keeps getting screwed up. I cannot figure out how to make this work for the life of me. Please any help would be awesome.
Going Insane, Please Help...
I built a project in MX 6.0 that I published in a projector and burned to CD. It contained a number of swfs with embedded video clips which the user accessed by clicking on text in a scroll box in a main template. The text in the scrollbox used asfunction commands to create links that then called the videoclip swfs with a loadMovie action. The video clip swfs were loaded onto level 1 of the main template.
This worked great locally, but was unacceptably slow in loading the video once it was from the CD. It was suggested that loading the video as flvs using a media display component wd be much faster.
So...I downloaded the MX 2004 pro trial version and re-created the whole project using Flash 7 and ActionScript 2.0. I created flvs for each of the video files. For every swf that had had an embedded video clip, I dragged a media display component on the stage, named the instance "myMedia," used the action myMedia.setMedia("filepath","FLV"); in the first frame and set the parameter to the flv I wanted it to show. I published each file making sure it was ActionScript 2.0 and Flash Player 7 and that all the files were in the same directory. Each original .fla I'd already re-saved as an MX 2004 Pro file.
I haven't even gotten to test off of a CD for my original purpose--to see if this solution actually gets the swfs with video to load faster--because really bizarre things are happening:
1. All of the new swfs were made in exactly the same way--I've checked and re-checked--yet some of them play in the original template swf when the loadMovie link in the textbox is clicked, and some just show the swf but no video plays.
2. Some swfs play the video in "test movie" mode, but not in the published projector file. A moment later, with no changes made to the original files, these links play the video in the swf.
3. When I test in the projector or the test movie mode, one of the files with the video will play great, and if I click on the link again immediately after it's played, it will show the blank swf again with no video running.
4. When I just open the swfs with the video clips in them from my computer directory in the Flash 7 player (not accessing them from the links in the scroll box from the main template), they will appear blank--no video. Then if I hit a cntrl-r (rewind) in the player they play.
I tried downloading and installing the updated video exporter. No change. I feel as tho I'm losing my mind. Anyone out there got any ideas what's going on?
I'd be extremely grateful for any help.
Please Help, Im Going Insane
Im trying to create a jukebox, so that when the user clicks a different song, the "Current song" variable. This is quite simple, but I want the variable to be read from a playlist (txt file).
Below shows the txt file being loaded. when the user chooses a song ie song 2, the var current = 2 etc. Then I want a movie clip which are the /song1, ,song2 etc below, to be made visable which contain a dynamic txt box with the name of the song. Is there a better way of doing this??? This is so that I can change the txt file values for new songs, and theres no need to change any vars in flash etc! FLA also attatched! Thanks
loadVariablesNum("playlist1.txt", 0); //Loads txt file for the playlist
if (current = 1) {
setProperty("/song1", _visible, true);
setProperty("/song2", _visible, false);
setProperty("/song3", _visible, false);
} else if (current = 2) {
setProperty("/song1", _visible, false);
setProperty("/song2", _visible, true);
setProperty("/song3", _visible, false);
} else if (current = 3) {
setProperty("/song1", _visible, false);
setProperty("/song2", _visible, false);
setProperty("/song3", _visible, true);
} else {
setProperty("/song1", _visible, false);
setProperty("/song2", _visible, false);
setProperty("/song3", _visible, false);
}
Please Help, Am Going Insane
Hi all,
I am using flash mx (version 6)
I bought a pre built flash template, as am very new to flash and wanted to put a site together, which i have done! to my amazement!! hehe
anyway,
after a few weeks of my site being up and running, i decided to put in a contact form, that uses a email.php script to handle the message and email it the message to my address, which, again am surprised i got to work.
but ive come across this problem, please someone help me, before i chew up my laptop and or feed the thing to the dog!.
"when someone enters their name, email and their message into my form, they hit submit and i get the email instantly, which is fine, but on the page, to the site visitor, the text remains, and they dont know if its been sent, so they press numerous amount of times and i end up getting the same message 12 times!"
how can i make my submit button, go back to the main screen again?
once a user has submitted a message, i want the site to jump straight back to the begining again?
heeelp pretty please!
Paul, total nooooob!
**** I Am Going Insane ****
Here's the issue:
I have an SWF that progressively loads using the MediaPlayback control. After 10 minutes, 49 seconds, I need the .swf that is loading the mp3 to pop up a "take survey" button that, when clicked, takes the user to a website in a new, blank (_blank) window.
I have tried and tried to figure this out, but I am running into brick walls, over and over. PLEASE HELP ME!!!
Am I Going Insane?
Do any of you guys have the actionscript compiler randomly ignore code sometimes? Here's an example:
Code:
oDescrMC.attachMovie("iGenShield" + awrdChoice,"descrGen",2);
oDescrMC.descrGen._width = oDescrMC.descrGen._width * 2;
oDescrMC.descrGen._height = oDescrMC.descrGen._height * 2;
oDescrMC.descrGen.y = 0 - oDescrMC.descrGen._height / 2;
//oDescrMC.attachMovie("genShield" + awrdChoice,"temp",2);
trace(oDescrMC.descrGen._name);
trace(oDescrMC.descrGen._width);
trace(oDescrMC.descrGen._height);
trace(oDescrMC.descrGen._y);
trace(0 - oDescrMC.descrGen._height / 2);
Originally, the trace calls weren't there, and the movie would never attach, even though all the parameters were correct. I fiddled around with some things but nothing worked. Finally, I added the second attach call and the trace calls, and WHAMO! the movie appeared. Removing the second attach call didn't affect anything.
Now, everything works fine, even if I remove the trace functions. Strangely enough, there's another piece of code eariler on that's IDENTICAL to this one except for the target MC in the library, but it still refuses to attach at all. (in case you asked, I copy/pasted the linkage name right out of the dialog box so I didn't misspell it).
Am I going insane? Or am I just being a n00b?
PS: Sorry if this is a common question...I tried searching but couldn't find anything.
I'm Going Insane...
Alright, so I'm working on developing an online magazine page flip thing for my company and I've got all of the kick butt functionality plus some. Now I need to import the .pdfs to make everything vector, but I keep getting a wonderful "unknown error" message. If I import .ai or .eps files all of the text and images relocate to wherever they want, and if I use a .swf and loadMovie, it cuts out revealing the page behind it every time it loads the page.
This is driving me nuts. Is there a way to completely flatten an .ai file so there are NO layers? Just one flat image? I think that would solve my problem, but am not sure. I'm open to any other suggestions.
Here is a link to what I'm working on: http://www.wrightsreprints.com/flashtest/pageFlip/. The first page has the loadMovie function working for it. Looks pretty bad.
Thank you in advance!
John
I Going Insane...
I cant reach the functions in my loaded SWF !!
Its correctly loaded... and displayed on the screen in a movieclip called
"myContent"
I CAN do things like:
myContent.y = 100;
and accesing variables like this:
trace (myContent.currentPage);
but i CAN NOT use the functions in the loaded SWF...
I try this code, and it wont work.
myContent.testa();
(btw... "testa" is a REALLY simple trace function inside of the loaded swf... just to test things... )
Help I Am Going Insane With This
Please help me on this i don't know if i made myself clear 'cause
my english is pretty much average but regarding this flash question i think there must be a problem with the html .
i did create all the html and swf on a pc but i uploaded this on a mac ...could that be the problem?
This is my first page ever so i have almost no experience with flash
but it is such a beautiful program and i like to play with it as an hobby (i am a photographer) .
Also how do i take the antialias for text out?
Thanks again
Hi i just did my first web site ( i am a total beginner) and i am having problems with either the html or the preload of my web page. Basically there is a main and 7 child linked with get url
buttons _self on the main and the back buttons on the child are alway get to url main_self . it works on pc but on a mac it reloads the all intro animation even if the whole thing is already downloaded and the preloader tells him to go to the end and stop on the main scene on the main swf.
i don't kno what it is and i really don't have any experience so please if anyone can help me it would be great.
Thanks everyone
photomassimo
this is the link to the page i still have to embed the fonts
so is not really up yet.
http://www.gammacurta.com/flash/index1.html
Im Going Insane...
For some reason, my background wont stay fixed to x:0 y:0 position when I publish. Everything looks just fine in flash, but when I publish it, it's moved a bit.
The preloader seems to have a few issues as well. Please take a look
Check out the .zip:
www.olssongerthel.se/flash.zip
Going Insane
Hi,
1st
Iam using Flash MX and am not a total newbie to it. I have used both Flash 5 and Flash MX for about 2 months now. But I have a question on how that was done.
Go to http://www.5sec.com/ and then on the menu bar click Free Stuuf once there......ahh never mind, I will just up load the zip file.
Now iam wondering how she linked all that text in the flash site.
2st
Ok....if someone could fill me in on what is needed to bulid a flash site. Yes I did see the tutorial on this site...but being ADHD I need things in steps
What iam looking for is like...the things needed such as...code,how to do the menu,how to make the site quick loading,how to make it easy to update....and stuff like that.
I know Iam asking for alot but if someone could help me here that would be great.
Thanks
Going Insane... Help :-(
i am new at flash. please, please help me!!!
goal:
create a swf photogallery that easily can be reused. to change it to a new gallery - the only code needing to be altered is directory name and file names.
all photos will be the same size...
end result:
on a cdrom ->
main menu with 4 buttons - 1 exit btn and 3bts each to a different photo gallery.
each gallery has 'next', 'previous', 'sound off/on' and 'back to main menu'
i used the photo gallery tutorial on this site. all is perfect, altered it to add captions, it's great...
BUT
i don't think it's what i want. everytime the user hits 'next' or 'previous' it goes back to the cd... it's spins, noisy... (no prob. if this was online) but...
so i think i need to preload... or load the photos into the library.
i'm a programmer so can understand the logic... even if someone just could give me a clue... like say you gotta do this, then this, blah blah... i can figure out how.
Anyone... please.. can you send me in some direction? The more I read, the more confused I get (and i've been reading a lot!).
Going Insane...
Does anyone have any idea why I can find an MC via the target button in the expert panel...so it does exist with a complete path...but when I try to trace the _y value of the clip it outputs nothing. I can't communicate with it in any way. It's 4 MCs deep in a MC that's masked (layer masking not AS). This is driving me crazy. It seems like a bug or a corruption of some sort. I'm on the verge of just recreating it from scratch. Thx for the consideration.
Please Help Or I Will Be Insane By Morning
I need to preload an external swf file into the users cache. I have searched everywhere and only found a few very complicated options that do more than I need. I really need some love here.
I want to preload menu.swf which loads into _level1 before the movie is allowed to play.I would like to do this from the intro if possible.
I had one idea. I though if I put a small empty movie clip on the stage and named it holder I could tell my intro to load the swf into the holder clip, and that would get it into the cache. then I could tell the main movie that loads after the intro to unload it, but it would remain in the cache till needed. Could this work?
I attempted it but was not sure how to get it to load into the empty clip. I named the clip holder and used this code (I am not that great at script)
host.loadmovie("menu.swf")
then I wanted to add some code to detect if the clip was full., which I also could not figure out. but, i wanted some code that detects the total frames and checks to see if they are there. if they are there, then it could load the main movie.
do you see what i am wishing I could do here. I know what I want to do but not how to set it up. Or if there is a better way I want to learn it.
bottom line......
how the hell do you preload a external swf into the cache so it is there when you need it??
thanks for any and all help. I have been working on this for two days straight and am now insane. rahaha
[Edited by tammit1971 on 11-29-2001 at 09:49 PM]
This Is Making Me Insane
Ok, so i'm trying to make this interactive course...
and i have an input text box called Units...and the instructions tell the user to type a 5 in the box and then press enter...when they press enter i need flash to advance to the next frame label which is called 17...so far i've put this in and invisible button off screen
on (keyPress "") {
if (Units == "5") {
gotoAndStop("Step3 15)", "17");
} else {
trace("else");
}
}
all that happens is...well...nothing...if however you click outside the input box after typing in the 5 and then press enter...then it advances...
any ideas....pulling hair out!!!!
Variably Insane
hi, I am having problems and hoping to get some help. What I have is a variable named image that is either given the value 1,2,or 3 depending on which background image is showed. The images update every 15 seconds and are changing the variables value, i know this because I trace its value on each image update.
no the problem is that i want to have a button to change the image if the user does not want to wait for the timed update. I thought I would need three if statements that point to frame labels. Here is the code I have.
on (release) {
if (_root.image=1) {
_root.background.gotoAndPlay("background3");
} else if (_root.image=2) {
_root.background.gotoAndPlay("background1");
} else if (_root.image=3) {
_root.background.gotoAndPlay("background2");
}
}
background is the name of the MC that contains the images, and image is the variable. As of now it only works if image =1.
Please helpon (release) {
I'm About To Go Friggin Insane Please Help.
I know I'm so very close to getting this to work but I must be missing something easy.
Problem: I use loadVars to run a PHP file that sends variables to my movie. Works fine. I then use those variables and loadMovie to retrieve a jpg on a remote server. Also works great. I then do some simple animation and use gotoandplay at the end to jump back to the loadmovie part to grab a new jpg. This works great too. My problem comes in when I try to determine the size of the jpg file. For some reason flash is able to correctly get the getBytesLoaded and getBytesTotal for the first jpg loaded, but when I send the control back and grab a new jpg, it doesn't grab the new jpg's size correctly and instead it keeps the size of the first jpg loaded.
I've tried unloading and removing the clip that the jpg is loaded into and it doesn't matter. I've tried setting the vars that hold the getbytesloaded and getbytestotal to zero and I briefly see them reset to 0, but then go right back to the size of the first jpg.
Please help me restore my sanity!
Would This Be Insanely Insane?
I know this sounds a little out of the ordinary...
But I was considering making tiles for my game huge... making tile by tile is difficult and slow.. The tiles would be pretty big, but it would be much easier to detail them...
Arrays Insane
Am I insane, or is there a bug in flash when working with arrays. Is this a bug, or is this LEFT with purpose?!
I just cant construct dynamically working multidimensional Array. I would like to know is this possible at all..
Code:
//sample variables
group = [0,1];
tn_r0 = ["t0","t1","t2","t3"];
tn_r1 = ["t0","t1","t2","t3"];
jpg_r0 = ["jpg0","jpg1","jpg2","jpg3"];
for(i = 0; i < group.length; i++){
for(j = 0; j < _root["tn_r"+i].length; j++){
temp = new Array;
temp[0] = group[i];
temp[1] = i;
temp[2] = eval("tn_r"+i)[j];
temp[3] = eval("jpg_r"+i)[j];
_root["tr"+i] = new Array;
_root["tr"+i][j] = temp; //this doesnt work. Why!?
_root["tr"+i][0] = temp; //this works
}
}
trace (tr0[0]);
I have tried many combinations with different braces, but no can do..
WOW!! Got it!
this works ... insane...:
Code:
group = [0,1];
tn_r0 = ["t0","t1","t2","t3"];
tn_r1 = ["t0","t1","t2","t3"];
jpg_r0 = ["jpg0","jpg1","jpg2","jpg3"];
for(i = 0; i < group.length; i++){
_root["tr"+i] = new Array; //this here!!
for(j = 0; j < _root["tn_r"+i].length; j++){
temp = new Array;
temp[0] = group[i];
temp[1] = i;
temp[2] = eval("tn_r"+i)[j];
temp[3] = eval("jpg_r"+i)[j];
_root["tr"+i][j] = temp;
}
}
trace (tr0[0]);
This Is Driving Me Insane
I have a movie I am trying to do a preloader for but nothing is working..no matter what I do..nothing will play until everything is loaded.. I put a new scene in before my main scene and just typed a number..but that won't even show up until the entire movie is loaded...everything works fine once the movie is loaded... what are some possible reasons for the file doing this. Shouldn't scene 1 play and load before scene 2(I took out the preloader script just to check and same thing..the m,ovie doesn't start until everything is loaded) I need some suggestions before I pull out all of my hair
thanks,
Jeff
Slowly Going Insane
ok i want to load 24 images using xml into 24 frames of a movieClip. the movieClip has two buttons and a mouse drag zone to go foward and backward in its timeline any help would be appreciated
here is the fla and xml files
[F8] Im Not Sure How This Is Done - And Its Making Me Insane
http://www.clintbalcom.com/
when you enter the site, youll see little balls on the bottom of the layout, these are the buttons. when you click one, the "stage" or box slings down and shoots off screen, being replaced with another.
how to I code something like this????
Driving Me Insane
Hello everyone...
I'm building a very long flash movie that jumps to different 'scenes' (really just frame numbers and labels along one timeline).
I want the entire movie to load, and then jump to a specific frame. I'm using this code on frame 1, my loading frame:
Quote:
fFrameLoaded (3992) {; gotoAndPlay("INTRO");}
'INTRO' is actually on frame 2611... miles away!
The thing is, if I preview this in HTML, FROM FLASH, the code works... But if I publish it online or run it from my desktop, it doesn't work!
I've tried labelling my frames differently, or using goto frame number rather than frame label... But to no avail.
You can peep my movie here:
http://www.mysteriousal.com/spookhouse/new_teaser.html
I've also uploaded the fla if anyones interested:
http://www.mysteriousal.com/spookhouse/new_teaser.fla
If anyone can shed some light on this problem I'd be very much in your debt...!
I'm using Flash 8, by the way.
Thanks...
Driving Me INSANE
I am REALLY losing my mind !!
I have duplicated movie clips so many times but this time it got to me ,HELP !!
I am trying to duplicate a movieclip that is one level above me (_parent)
and trying to create it also one level above me , OR should it be in the nested one i`m trying to do it from ?
Secondly the movieclip i`m duplucating is a COMPONENT and the default value for _enabled = true;
Now when i run this code in the nested clip , it sorta does duplicate it but , the trace gives me undefined for _enabled (which default should be true???)
HELP!!!
ActionScript Code:
trace("NUMBER BLUE" + _parent.no_blue_covers);
duplicateMovieClip(_parent.blue_cover, "blue_cover" + _parent.no_blue_covers, this.getNextHighestDepth());
trace("Enabled = " + _parent["blue_cover" + _parent.no_blue_covers]._enabled);
_parent.no_blue_covers++;
Flash Is Insane
Sorry...Feeling a bit over the gremlins today...
WHY the hell....
I have a main.swf, which uses loadClip to load in mediaPlayer.swf, just as an example... The mediaPlayer.swf is compiled using a set of classes, as is the main.swf.
It seems that when they're online, you can only update the classes of the loaded movie if you first change and re-upload the main movie first. You can change the FLA and see it right away, but not the code/classes...
what the hell is goin here??? I wasted so much time...Thinking I was testing an updated movie each time, because there were obvious graphical changes showing up, but the code was cached.
Is this nonsense intentional or is some kinda bug or what?
_please Help Me .. I'm About To Go Insane
Hi there,
I'm a despreate flash (MX) newbie about to go nuts because of a "Simple script" that doesn't work .. if you could give me a hand I would really appreciate that!
the following script should load an external mp3 file named "sound1.mp3" and display a progress bar (preloader)
when the file is loaded the script sould move the playhead to frame number 3 .. but it doesn't!
the source file is attached!
to see a working example please go to:
lewislewis2.tripod.com/
Note: try to empty your cache before you re-view any of the two .swf files in my site .. since the code will cache the file "sound1.mp3" in the browser cache anyway!!
Thank you
Load ....i Am Going Insane
I am trying to load an external swf called f into the main time line of a another swf called index wich is my main and i am having this problems:
there are many bottons on my main and when i load that into a target f since the bottons are on diffferent parts of the main they would show up under f but are still active and if somebody hit them they would unload the f.
i tryed loading into a level but i still have the same problem
or i can just load one movie into the other and viceversa but it doesn't look good.
also on the f i have some bottons that interact with index and so i really think that i need to load that into a level but how could i either mask or deactive the buttons on index?
thank everybody in advance there's probably an easy solution but as i already said many times flash is just an hobby of main and i am just a total beginner.
eveything is on flash mx and the player is flash 6
Insane Player
I downloaded this file from a tutorial. It works great and is very good. It works when I do it with the file that comes with it. I copy it to test it in a different movie and it does not work. Nothing is different from the movie and the one im working on. The code and everything is in the right place, but for some reason when you try to make one of your own it doesnt work.
I just a "Loading failed!"
This is driving me nuts and I don't know where else to turn.
I hope someone can help
thanks
PLEASE HELP XML Is Making Me INSANE
I've searched and searched what feels like THE ENTIRE INTERNET until I can't see anymore!
Here's what I want to do and I'd love it if somebody could just give me a little advice...I've followed the xml tutorial on kirupa, but still can't figure out how to do what I want to do! Please help me!
Here's what I need to do:
External XML file holds all the data for each person, right? All their accomplishments, their bio, their phone number, etc.
Buttons correspond to data - "Accomplishments" "bio" "phone numbers" right?
On press of each button, I simply want to populate my dynamic text box with ALL the data of a certain kind for each person. That is to say, ALL the accomplishments. Then the bio. Then ALL the phone numbers.
That's it.
How can I do this? I've searched and searched and everything seems so complicated. Anybody have a SIMPLE solution to this?
Please help. I'm desperate.
Thank you!
Somebody Help Me Mod This Thing Before I Go Insane....PLEASE:D
hey guys I'm trying to get this crazy line drawing thing to not go from a curved line to a straight line when its trying to hit its target. i want to keep it curved when it hits the target. Is there anyone who can help, please?
download the file to see what i am talking about.
Insane Background?
Can you make a really trippy backround for flash 8, by making shapes transform to sin(x^2) and other mathematical equations? Kinda like 'Windows Media Player' Plugins.
Thanks,
~J H Allen
Insane AS3 Performance
i came across this link today, http://www.adobe.com/jp/events/cs3_w...fs/perform.swf
it's pretty intense, awsome stuff going on here, I got it up to over 3000 particles and still no performance issues. I kind of wonder what optimization tricks he/she used in the experiment.
Couldnt find the file author though...
LoadVariables - Help Before I Go Insane
hey
okay heres the basics... i have a text file with some variable declarations in it. its perfectally fine. i have actionscript that loads those variables. they load i am sure of it. now, i want to store the variable i loaded's contents into another variable -- nothing happens. what is most confusing is, i run the debugger, it loads the variables becuase it says under level0 and in the variables tab it says the name of the loaded variable and the correct value! everything is there! i try to trace it...undefined. i try to rename it...nothing. i am so confused and i have been looking at other examples trying to get it to work and it looks so perfect but it DOESNT WORK! any help appreciated. thanks.
Telltarget Driving Me Insane
I'm simply trying to use a button in my main movie to telltarget a movie 2 subdirectories down to play frame 2.
Here's the code:
on (release) {
tellTarget ("sidebar.corpage") {
gotoAndPlay (2);
}
}
and here's the message from the output window:
Target not found: Target="sidebar.corpage" Base="_level0"
GetTimer Is Driving Me Insane
OK - Heres the Magic Dillema:
I jump to frame 10 w/ a stop function.
frame 10: On Mouseover jump to frame 20
Simple!! - I know -thats not my problem
if flash must wait for 10 seconds on frame 10 for the person to mouseover, then jump to frame 30.
thats it! I cannot figure out how to use the getimer() function or if I should be using something else.
For you gurus who want to answer this please be kind in your EXPLAINATION of the answer. I may not understand.
Thanx - thanx - Thanx,
Atreau
Music Synching Please Help Going Insane
I've got a song that plays through all scenes and since streaming wasn't working for multiple scenes I used start and then set the program to be downloaded as a zip to the user's hard drive to eliminate the problem of varying transfer rates. I inserted a preloader (perhaps incorrectly?) but still the movie doesn't play in proper time on other user's computers.
I've read every help file I could find but none seem to answer my fundamental question: how do I get my movie to play in time to a song across multiple scenes at the same rate as it plays on my computer, which is synched perfectly.
The movie is at ikcaj.com/wedding as a zip file.
Please help or email me at jacki@ikcaj.com I've spent four of my five days of vacation working on this movie, which is a wedding present to a friend and I'm truly about to go insane over it!
Thanks,
'ik
This Menu Is Making Me INSANE
Please help me out with this. A menu was done for our website by my friend, however we aren´t sure whether he made it badly. We need to put links on each item in the menu. It seems every item is one button..since you change one link and all the menu items have the same links. Putting links on the text loses the flash blurs..hence not want we want either.
Please check it out...we want to put independent links on each item in the menu and conserve the flash...
Cheers
http://dave.emotive.net.au/WEBPAGE/falsh/nav1.fla
It's A Lost Cause. I'm Now Completely Insane
It's too late. I'm breaking the rules because I've lost it. Sue me. I've just posted this to ask a question that I've already asked (or, rather andysapp asked) in a previous post that has not been adequately answered. If you could, please take time to review the original problem in the post about making a sound toggle button somewhere under this one. But the toggling isn't really the problem. It's getting a sound file to loop that hasn't been manually placed on the timeline, but rather loaded (via attachSound) into a sound object so that it can be controlled by the user. How, dear friends, oh please please tell me, how do you do this?
EnterFrame Question (i'm Going Insane)
Hi
What i'm trying to do is to move a character at a constant rate when I press a key on the keyboard, free from key stroke speeds (which vary from computer to computer). Basically, when I hold a key down, I want to be able to alter the character's x and y coordinates a little each frame. I've tried using on(keyPress), but it relies on the key stroke speed. This is why i've decided on using enterFrame, hoping that it will check whether a button is held down, if it is, move the character 10 pixels each frame. I hope i'm making sense here.
thanks!!!
Find The Error In This Please... Im Going Insane :S
ive got a SEND button... in the actions it has...
on (release) {
isuccess = "0";
loadVariables ("GuestBookSendCode.asp", "0", "GET");
submit = "true";
y = "0";
play ();
}
SOOO im thinking it should go to the NEXT frame right? and ive tried labelling the next frame and telling it to go to that, and tried telling it to go to FRAME 4...
but instead it goes to the other layer's first frame...which is blank...
this probably isnt enough information as i feel it is an error somewhere else but if youve done the tutorial and reckon you can help me THANKS HEAPS
its a tutorial from http://www.smartwebby.com/Flash_and_ASP/
Dynamic Text......GOING INSANE
I have a number of swf movies that run fine in isolation. When I try to run them from the one location everything loads and runs as it should BAR my dynamic text. All swf files and text files are in the same folder. Please help this is driving me nuts.
Help - Going Insane? VariableHELL...HELPPLEASE
please...anybody... have some mercy on me.....!!!!!!!!!!!
I'm trying to finally bite the bullet and learn AS properly as far as my poor little brain will take me - now I'm so stuck - it's driving me insane...
Just when I thought I was getting it - this dilemma...
I've set up variables for the x and y position of a butterfly movieclip, then using these for 4 directional buttons which move the clip along usng the given value - everything works fine when I set the value to a set number.
I also have a dynamic text box in place, displaying the x and y position of the clip - working fine with the set value as well.
So far so good...
Now I'm trying to have 2 input fields there for the user to be able to change the x and y value. At the moment I've got a button in place to set the variables value.
The strange thing is that my script work just fine for 2 button (up/-y and down/-x) - but the other 2 do the oddest thing and I'm just so stuck :'(
The value seems to go through but instead of adding - it just adds them at the end of whichever y postion is currently there, ie when the y position reads 200 - after the change of value to eg 20 - the y position reads 20020 (instead of the correct y poisition: 220).
So something must be wrong in my script, it currently is:
on(release){
_root.butterfly._x -= _root.x;
updateAfterEvent();
}
=>for working button
on(release){
_root.butterfly._x += _root.x;
updateAfterEvent();
}
=> for misfunctioning button
And I'm still new to variables - just playing around with them, trying to understand... scared of maths as well... so it's just freaking me out now... am I stupid ? Or don't I see the complexity yet???
Any help, any tips... - I've attached the file - just in case I was talking jibberish...
Hoping for a light at the end of this tunnel.....
Prisca
This Switch Is Driving Me Insane Please Help
I honestly can't figure why this won't work. Its been bugging me for a week and i think im going to cry lol
here is my code, assuming all instance names/symbols correctly named:
Please note: body is defined above as "blue" on load. The drag works fine cos i tested it with another event, it must be the damn switch!
---------
brush_mc.onPress = function () {
startDrag(this);
};
brush_mc.onRelease = function() {
stopDrag();
if (brush_mc.hitTest(car_mc)){
switch(body) {
case "blue":
body_mc.attachMovie("bodyYellow", "newBody");
body = "yellow";
break;
case "yellow":
body_mc.attachMovie("bodyRed", "newBody");
body = "red";
break;
case "red":
body_mc.attachMovie("bodyGreen", "newBody");
body = "green";
break;
case "green":
body_mc.attachMovie("bodyBlue", "newBody");
body = "blue";
}
}
};
-----
Any ideas? oh yeah and body_mc is located within car_mc. also this script is written on the main timeline. flash finds no errors. ive played about with names, _root. etc. please help me
Buttons Driving Me Insane
OK, I'm sure it's something simple.....
I have an animated menu 'button'
I have it as a movie clip but I want to control it like a button.
I'm sure this is done with actionscript, but I can't figure out the code (or at least the right syntax)
here's what I want:
idle state: (works fine as is, the MC sits on the 1st fram with a simple stop() command set inside it)
on rollover: (I want it to move past the stop command to fram 2 where it plays an opening animation)
on press: (don't worry about this for now, but if you could note where the code for the button action should be placed, I'd appreciate it)
on rollout: (I want it to go past the stop command set for the end of the rollover animation, similar to how rollover is done)
any help on this would be greatly appreciated
-RivenZ
Actionscript Not Working, Used To, Going Insane
This actionscript used to work but doesnt after adding some more layers and such. Could someone look at it and tell me why the script is not working now?
http://www.transformersource.net/modified/us.fla
CD Rom Problem Please Help As It Is Driving Me Insane
I am building a CDrom in Flash MX (macOSX)
It all works like a dream - BUT! the external .swfs that get loaded in, though they work, take about 30 secs to load in - this is due to the heavy weight size of them - some are about 90MB! These external movies have been put through Sorenson Squeeze and are about 15 mins in duration each - hence their file size.
Now liek I say it all works fine - but the load in time is because the CD has to spin up again, find the file and load in the file to the standalone player. That much I can work out.
IS there a way to load all these 4 .swfs into frame 1 ahead of the conent so they are kind of cached? but to have them not play
for example
frame 1 says
loadMovie("videos/welcome.swf", "_root.video1holder");
thats cool! but I then want it to stop straight away and not actually play until called for
if on the next frame 2 i put
tellTarget ("_root.video1holder") {
gotoAndStop(1);
}
Well this doesn't stop it from playing? - can a frame action not do a tell target command?
In an ideal world I want to load the following
loadMovie("videos/welcome.swf", "_root.video1holder");
loadMovie("videos/dream.swf", "_root.video2holder");
loadMovie("videos/attraction.swf", "_root.video3holder");
loadMovie("videos/buying.swf", "_root.video4holder");
and I want these .swfs that are loaded to not play or produce sound and to not even show themselves until called for by buttons later on in the file/timeline.
Please help as it is driving me insane!
I can send someone the fla if need be - I won't send you the external .swfs as they are too heavy weight.
My reason for trying to load them all in is that the CD wont have to spin up again and load it each time - it'll all be self contained. In advance you might say, well "add actions to the external swfs that you are loading in...but I can't as for some weird sorenson reason I can not re import them to flash and add actions to them such as a stop on frame 1 and shift every thing down a frame so it will start from frame 2
Any help would be so so so so so welcome
Thanks in advance
Julian
|