Aaahhh
This should be so easy but I can't figure it out. How would i get the date in YYYYMMDDHHMMSS format from five days ago?
i.e. today is 20040804104935 and i need to subtract 5 days from that. Somehow i would get: 20040731104935. (notice the date today is 8/4 and 5 days ago was 7/31.)
Thanks to anyone who can help.
Aaahhh Jaggies
I am importing a png, and I need to rotate it slightly, and when I do, it looks like crap. No matter what I do, it always goes jaggy. I set the png to lossless, exported the move with no jpg compression. Is there any way to solve this?
see it here
the problem is the key at the top.
Thanks
Russ
AAAHHH Just When I Think I'm Finished...HELP
Alrighty now, here is my situation. I designed a flash site... obviously - I'm here. Here's me site link... www.nsomniaweb.com/wideawake.html
Press the Contact button... WHY IS IT GOING BACK TO THE BEGINNING?????? It's not set to. It's set to stop on the 3rd or 4th frame.
It was working before I added the preloader. Now it's all screwy, and I can't figure it out. In case someone will ask, here's the A/S for the preloader....
Preloader is 4 frames long.... Nothing in the first frame.
In the 2nd frame, here's the script;
loadedbytes=getBytesLoaded();
totalbytes=getBytesTotal();
loadedkbytes=Math.ceil (loadedbytes/1024);
totalkbytes=Math.ceil(totalbytes/1024);
if (loadedbytes == totalbytes) {
gotoAndPlay (4);
}
percentage = int(loadedbytes/(totalbytes/100));
loader.gotoAndStop (percentage);
In the third frame;
gotoAndPlay(2);
and no script in the fourth.
What gives???
Do I calculate the total number of frames in the entire movie? There's alot. Or do I go by total bytes? Not quite sure if I have the wrong number in the script.. the number that's there right now, you'll see, is 1024.
Actionscript / JavaScript... AAAHHH
OK. i'm using a button with actionscript to open up a chromeless window. (don't roll your eyes yet). The chromeless window opens and works fine.
My problem is: after i click the button (with the "getUrl: openIT..." function) the browser opens up the chromeless window and then forwards the original browser window to an empty page that says [object] and the address line contains the actionscript from the button. What gives? I've been reading the boards and tutes but haven't seen anything on this proboem yet.
Thanks for the help.
More Problems With Text.... AAAHHH
Hi there, im still having problems with loading an external txt file into a text box... it loads the txt variable into the variable atribute of the text box, the text loads, and ok. but characters like acentuation appear as small squares... whats wrong? ah, and navigating between sections, i have to double click the buttons, but its not intended to do this.... plz, help!!!