PDA

View Full Version : non-aligned buttons in standalone


DiDi
07-21-2002, 10:52 AM
I have a lot of buttons inside a movie clip which enters the main stage in motion tween. Everything works fine in the .swf, but when I publish as .exe all of the buttons somehow move and are not in the position they are supposed to be (the same as in .fla and .swf) . Anybody had similar problem or an idea what could it be?

I am working with Flash 5 and XP (if that's of any metter) and projector is set full screen.

Thanks.

DD

Abelius
07-21-2002, 04:44 PM
OK. What do you mean by "somehow move"?

Do they enter the stage and then move around, without being quiet in their final place? Or what you mean is that they enter the stage in a different way than on the .swf file, moving with different coordinates...?

I think the full screen parameter should not affect anything, but the exactfit paramenter when publishing could be a problem... Are you using it?

DiDi
07-22-2002, 01:24 AM
"somehow move" was about alignement when motion tween ends, not while it is in it.

OK, maybe I should provide more details. What I have is a Flash intro on CD which is serving as a launcher for many files (.doc and .xls mostly). Main content is a list (index) of more than 50 files (list is in a movie clip that enters a stage in a motion tween). I had already typed the list and ordered all items as text (because first I thaugt of launching files with text link), but when I decided to launch them with buttons, I figured that instead of making 50 buttons I could make a single button symbol and simply drag one bellow every item in my text list and eventualy ajust its size. So that's what I did.

When I publish .swf all buttons are perfectly aligned with their respective text item above, but in the .exe file they are not. I don't think it has something to do with motion tween since buttons "travel" together with their text, and fullscreen shouldn't be issue either, because .swf is fullscreen too, and it looks perfectly. How come the same .fla produces .swf and .exe with such differences?

If I don't find solution for this I'll have to make more then 50 different buttons and I kinda don't like the idea.

DD

PS: Isn't exact fit the option when you publish as .html? I didn't even seen this option when you publish an .exe...

Mortimer Jazz
07-22-2002, 04:06 AM
It sounds like it could be something to do with fixed sizes. Maybe your .exe is fixed but the swf can expand. If so just try making your buttons smaller and see what happends.

Other than that it's difficult to tell. If you can post a swf it would help too :)

DiDi
07-24-2002, 01:58 AM
Thanks guys...

Nasty buttons problem disappeared as mysteriously as it appeared. Go figure... Must be one of those things that happen just without any cause to drive one crazy.

Thanks for your suggestions anyway... They may serve in future...

PS: I still didn't find any option for fixing size when publishing .exe... Where are they?

farafiro
07-24-2002, 08:11 AM
it's the fscommand (allowscale and fullscreen ) in flash 5
and
Stage.align=noScale in MX

Mortimer Jazz
07-24-2002, 10:54 AM
As far as I am aware there are no controls for doing it (sorry to disagree again Farafiro!) :)

The Stage command is for controlling the BROWSER (not the exe) so you must view your swf through a browser window to make it work. You can't view an exe through a browser window.

FS commands are mainly used for the same thing but also have extended uses too. I've never investigated them enough to know if they can control exe size too but I doubt it.

Be warned, FS commands are available in Flash 5 but they have quite a few browser-incompatability problems (see Moocks site for LOTS more info http://www.moock.org/webdesign/flash/fscommand/)

If you're working for a company, this is the time to comvince them to upgrade to MX (you never actually fixed that problem did you - hint hint! hehe)


Hope this helps :D
Mort

farafiro
07-24-2002, 11:02 AM
Mortimer Jazz I think we are after the same thing but everyone get it from another point of view
I didn't use the Stage object/MX with *.exe yet, but I always used to do that with flash 5 (fsaommand allowscale/fullscreen), and It worked very fine as I want.
And I'm talking from the resizing/not resizng when publishing as *.exe, as these commands won't REsize the objects on the screen when publishing.

Mortimer Jazz
07-24-2002, 11:52 AM
Hey Farifiro :)

Because you mentioned Stage.align it looked like you were answering the question about resizing after publishing - a totally different question!

My concern is that the mis-info would confuse anyone reading the thread in the hope of an answer that is all. Didn't mean to offend :D

Mortimer Jazz
07-24-2002, 12:07 PM
Okay, I just want to tidy up this thread so as it will be useful to people searching in the future:

1) You can use fscommands to set size-attributes of exe's and swfs (I believe that all FS Commands have to be set before runtime - but don't quote me on that!)
For example: allowscale/fullscreen.
You can set your published exe/swf to be scaleable. You can also set your published exe/swf to go Fullscreen.

2) The Stage command (flash MX) is related to the BROWSER not the swf or exe, (but you can resize elements of your movie based on the size of the browser).
It is a way for your published movie to communicate with the browser that holds it AT RUN TIME.

Hope this helps :D
Mort

DiDi
07-24-2002, 06:32 PM
Hey guys, stop quarreling around "my" thread... :D :D

Anyway, I think Mortimer here made better point (sorry Farafiro ;) ). I didn't get the chance to experiment a lot with MX yet, but I used fullscreen/allowscale fscommands in Flash 5 (from Actions Panel) and it worked perfectly from the beginning. But when Abelius said something about exactfit and Mortimer mentioned fixed size, I thaught there were those options when you publish .exe from File/Publish Settings menu, and there were none, at least not on my copy of Flash. That's why I asked that at the end of my last post.

Originally posted by Mortimer Jazz
If you're working for a company, this is the time to comvince them to upgrade to MX (you never actually fixed that problem did you - hint hint! hehe)
tz, tz, tz... Nasty Mortimer to suggest such a horrible thing... I wouldn't dare lying to my as.org community (to the client maybe, if it were necessary). Problem really disappeared by itself and I was the first to be extremely surprised. So don't take it with me for this one, comps and all around (and in) them just have their bad moments sometimes.

I work as a free-lance (when I can get a job) and I have both Flash 5 and MX, but I couldn't use MX for this project because here I use Flash to launch other programs and fscommand is severely crippled in MX.

Originally posted by Mortimer Jazz
FS commands are mainly used for the same thing but also have extended uses too. I've never investigated them enough to know if they can control exe size too but I doubt it. Best resources for usage of fscommand I found so far on the web are here:

http://66.70.72.50/forums/showthread.php?threadid=63443&perpage=20&pagenumber=1

That guy Sx (alias fscommand subsociolect guru) seems like programming genius to me (but I really suck in programming, so I might not be the right person to say it), and I really learnt a lot from him.

Hope this calm down the discussion...

Cheers :D :D ...

DD

Mortimer Jazz
07-24-2002, 08:01 PM
Heheh this isn't quarreling DiDi!
We don't pretend to know everything here and we're not competing to give 'the best advice' either. That all sounds like far too much of an effort!

It just so happened that in this instance Farifiro made a reasonable assumption about the Stage object which I couldn't find any evidence to support, so I thought it needed mentioning.

If anyone should reply to this thread and be able to say "Ha! Ha! In your face Mortimer Jazz, you're wrong. It can be done. Look, I'll show you" - then that's perfectly fine by me because I'm here to learn too, so I wouldn't take offence.

If they could do it but refused to show me how....well.... then it may result in a serious bout of fistycuffs or a pistol duel! but until then...
_______________________________
What do you mean lie to your as community?! I was talking about the employer - and besides, I was messin with ya!

DiDi
07-24-2002, 11:51 PM
Gee, guys, I hate when this happen... You know, when "I was messing with ya..." thing is there on both sides but remain kinda hard to see/understand...

Well, my fault anyway, should have put quarreling and discussion between quotes too...

Mortimer, I really appreciated your and Farafiro's help, and I didn't mind the debate at all (I was just messing with you two... (sic)) - as you pointed out we're all here to learn/help and constructive "discussions" are veeeeeeeeery useful. So go on, challenge more in the future and please, be there next time I have another apparently unresolvable problem, I'll for sure need it. I just hope one day I'll be able to help you or Farafiro in something (it may take a while, but it doesn't matter, I am patient, you just wait and see...)

See ya...

DD

Mortimer Jazz
07-25-2002, 12:12 AM
I just hope one day I'll be able to help you or Farafiro in something (it may take a while, but it doesn't matter, I am patient, you just wait and see...)


Providing I live that long. I hear that Farafiro is already on his way over to the UK to kick my monkeyarse, and apparently he's 2 stories tall and built like a brick sh*t house!
Nice knowing you

DiDi
07-25-2002, 01:01 AM
Originally posted by Mortimer Jazz

...and apparently he's 2 stories tall and built like a brick sh*t house!
Nice knowing you

Ooh, cannot imagine him at all like this... Must be that name and the nice little lady on his avatar missled me...

Wish you luck then, maybe angels/devils need Flash developers too, you never know... :D World is changing fast... :D Let us know...

DD

farafiro
07-25-2002, 07:33 AM
Originally posted by Mortimer Jazz
........... Grrrrrrrrrrrrrr :mad:
and apparently he's 2 stories tall and built like a brick sh*t house!
Nice knowing you
:mad:
now u know, and u make it to public
oh my GOD, what am I gonna do now
think I'm gonna hang u over my BRICK-HOUSE
:p