PDA

View Full Version : Please Help! Super Panic Attack! Deadline Coming!



lunatic
September 25th, 2003, 11:01 PM
Okay I am totally freaking out. I thought I had another 2 weeks to get this done but I've got FOUR FREAKING DAYS!

Ok, deep breath. I really hope someone out there can help me with this!

Issue #1) I have this menu system that I copied from:
http://www.ericd.net/slidingNav3.html

I had to hard code the numbers used for dimensions because I don't know how to do it any other way. It looks great on my 19" screen but is there a way to do it for any screen size?

Issue #2) which is related, sort of. The deadline mentioned in the subject title is for an interactive map contest. I have to have my map posted on the web. How the heck do I publish my fla file so that it fits any screen? I've tried both the "match movie" option as well as the "100%" option and neither work. I figure if I can get it to fit any sized screen then maybe that takes care of Issue #1?

Issue #3) The sliding menu is great but if you roll your mouse over it a few times back and forth it disappears!! WHY? IT'S MAKING ME CRAZY.


You can see what I've done so far at:

www.humboldt.edu/~mgk9/template.html

The words "Atlas of California" (the menu) is supposed to be right at the ede of the screen, not sticking out.

Please oh please oh please can anyone help me with any of these? It would be so cool if it worked out!

lunatic
September 26th, 2003, 04:44 PM
I've seen some absolute BRILLIANCE out there . . .

anyone wanna throw some my way? :)

Inflicted
September 26th, 2003, 05:24 PM
I saw your movie, and on my 19" it's larger than the screen. Did you put 100% in the HTML code?
And that slide menu..is that a rollover too?

regards

lunatic
September 26th, 2003, 07:53 PM
Not in the code but I tried all the publishing settings and it's too big both at 100% and at "match movie" settings. Argh! I've tried making it smaller too but I can't get the rollover movie to work out. Yes there is a rollover menu at the left hand side of the screen. User is only supposed to see "Atlas of California" until they roll over it.

Maybe I should try a mask? Will that help?

I can give a link to fla if that helps . . . I am super desparate if you couldn't tell! :beam:

Inflicted
September 27th, 2003, 12:44 AM
can you upload it to your server? Or send it via my website inflicted.nl

regrds.

lunatic
September 27th, 2003, 01:44 AM
Dude fo' real?! You have no idea how much this means to me. Any help you can give would be awesome. I'm sweatin' bullets out here man.

www.humboldt.edu/~mgk9/template.fla

Please feel free to pm me or whatever if need be!

(-:

Inflicted
September 27th, 2003, 04:41 AM
O.K., I think I fixed your slideNav problem. If you open this slideNav from the library , in the code it twice says:

delete this.onClosedMenu;

Im def not an AS wizard, I'm a beginner. I just look at the code, and try to understand it. I think deleting was not what you wanted, so I removed that code.

Now for the size. Why don't you make the movie and all it's elements smaller, to fit an average screen size. For instance, make the jpg map smaller in Photoshop.

let me know if it helped. here's the files:

http://www.inflicted.nl/template_files.zip

regards

Inflicted
September 27th, 2003, 05:11 AM
works fine in test mode, but after uploading it to the server, nope...
Try a new thread calling lostinbeta or senocular, in the code I saw they made it.

sorry, good luck

regards

Voetsjoeba
September 27th, 2003, 05:50 AM
1 & 2) Try this:


<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0"><TR align="center" valign="middle"><TD>
<object><embed>...</embed></object>
// the object and embed is your swf embedding
</td></tr></table>

3) I've uploaded a FLA with a simplified version of the code for you to check out here (http://www.voetsjoeba.com/stash/template.fla)

Inflicted
September 27th, 2003, 06:06 AM
Voetsjoeba,

The biggest problem is in his files. There is a slider that opens on mouseMove. But it doesn't work. Well it works, but after a couple of times it just disappears. And me as a newbie couldn't figure it out. Maybe you can help him.

regards

Voetsjoeba
September 27th, 2003, 06:17 AM
You mean the blue box on the left ? That's what I fixed ...

Inflicted
September 27th, 2003, 06:25 AM
Can you tell me what the problem was? I've been working on this for a while, and now I would like to know as well. For my learning process, you know....

lunatic is going to be a happy man!

regards

Voetsjoeba
September 27th, 2003, 06:29 AM
I didn't went searching for a problem, I used another code of which I am sure it works. The code that existed was basically the same, but had too much yaddayadda around it for me. So I replaced it with my skinned down version.

lunatic
September 27th, 2003, 12:10 PM
Sweet crimini it's like Christmas! You stay up late, you finally go to bed somewhat grumpy 'cause you got nowhere by staying up, you wake up the next morning and get the most wonderful present in the whole world!

So I didn't need all that AS on the navigation clip itself with the OpenNav function etc.? Your code is so beautifully simple!

I have a question though, for future reference. Where did you come up with the numbers for tarX? That's one thing I've never really understood.

It looks really really great - thanks so much to both of you! I can't believe you stuck with me for so long Inflicted - I hope you can use this stuff someday.

Peace,
lunatic

Who is no longer :hair: but now very :s:

lunatic
September 27th, 2003, 12:12 PM
One last thing though . . .

It looks super super cool when I publish it and preview it but when I upload it to my server it isn't loading. Or at least, it's taking a really really really long time. Now granted I'm still stuck in dial up land ($#!@#%#!) but my previous versions weren't getting stuck like this.

Is there something i need to do?

Thanks guys!

Voetsjoeba
September 27th, 2003, 12:15 PM
The tarX values I simply got from placing the movieclip in the openen and closed positions, write down the _x positions. Then I just filled them in in the actionscript :). If it's taking long to load, you might wanna use a preloader. Nothing I did that increases the filesize ...

lunatic
September 27th, 2003, 12:35 PM
Thanks Voetsjoeba, that's simple enough!

I'll try the preloader too - probably needs one anyway.

Thanks again!

:thumb:

Voetsjoeba
September 27th, 2003, 12:39 PM
You're welcome =)

Inflicted
September 27th, 2003, 01:12 PM
lunatic,

I'm glad your happy, but the real work was done by Voetsjoeba.
One more thing. Your card is a jpg. Double click it in the library, and you'll see that it's a normal jpg.

Then click the button "update", that makes your jpg. lossless, which is less memory.

There are more tricks to make your movie smaller, but I think you're happy enough right now!

good luck,

regards

lunatic
September 27th, 2003, 01:30 PM
Dude of course I'm happy! And there is no doubt in my mind who has done the work here! I see your point though and I'll be sure to add this forum to my credits page.

More tricks? Make everything smaller? Yes please! If you've got some tips to share I'll take everything I can get!

I seem to be having trouble with my preloader. I used the one found on Kirupa's page done by Lost in Beta. Everything is kosher and the bar itself works great but the text isn't happenning. It's supposed to say "Loading . . . x%". And I can't figure out why?

Thanks all -

HappyLunatic:P

Voetsjoeba
September 27th, 2003, 01:42 PM
Are you sure you gave instane names, and if so, the correct ones ? Is the textfield html enabled ? If so, use htmlText instead of text.

lunatic
September 27th, 2003, 01:54 PM
Yes, the instance names are right. The bar itself works great, it's just the text that isn't showing up. There is no instance name for the dynamic text box, just a "Var:" name which in this case is "LoadText". Here is the code I have on the action layer:



bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*200;
this.loadText = "Loading . . . " + Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}


which is copied directly from the tutorial with the exception of the 200 which is the length of my loadBar MC.

Voetsjoeba
September 27th, 2003, 01:57 PM
Don't use the variable, use loadText.text = "Loading ... +++"; and of course give the dynamic textfield the instance name loadText.

lunatic
September 27th, 2003, 02:11 PM
no go . . . :*(

Voetsjoeba
September 27th, 2003, 02:21 PM
If it's html enabled, use instancename.htmlText = ...

lunatic
September 27th, 2003, 02:43 PM
Uf. Still no go. Sorry to keep taking your time but this is really weird? It worked at one time I swear!

Here is the fla I'm working on if that helps . . .

www.humboldt.edu/~mgk9/railroads.fla

Voetsjoeba
September 27th, 2003, 02:49 PM
Lol, it works perfectly for me and I didn't even change anything yet ! :P At frame 3, you want to stop it really bad, don't you ? One stop action is enough ;)

lunatic
September 27th, 2003, 03:12 PM
Wait a minute wait a minute.

Are you saying that you see the text when it's loading?

Then how come I can't?

If you go to www.humboldt.edu/~mgk9/atlas.html, get past the dumb intro screen, and load the Railroads map (under "Historical" section of menu) then you see the preload bar AND the "Loading . . . x%" text?

I am so confused! :trout:

chaz
September 28th, 2003, 01:29 AM
i cant even download that file from his site to try and help you. where is the download button?

Voetsjoeba
September 28th, 2003, 03:10 AM
No, I don't see the text there, but I do in Flash in the file you sent me.

lunatic
September 28th, 2003, 11:20 AM
Well that's what I mean - everything is there and it all looks kosher but you don't see the text at all when you look at the site online. How come? I actually did see it on one page - the credits page - but that's it. And the code is the same on every page! Weird huh?

Got any suggestions?

Sorry Chaz - I only get a very limited amount of server space so I have to pull files off constantly. I'll post another one though . . .


. . . here it is. (http://www.humboldt.edu/~mgk9/railroads.fla)

Thanks for any help!