| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2002
Location: BCN
Posts: 383
|
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 |
|
|
|
|
|
#2 |
|
Worldkit Vote Holder
|
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?
__________________
Cordially, Abelius Commuting between Birmingham, AL, Miami, FL and Beijing, China http://www.worldkit.com |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2002
Location: BCN
Posts: 383
|
"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... |
|
|
|
|
|
#4 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
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 ![]() |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jun 2002
Location: BCN
Posts: 383
|
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? |
|
|
|
|
|
#6 |
|
Addicted To FLASH
|
it's the fscommand (allowscale and fullscreen ) in flash 5
and Stage.align=noScale in MX
__________________
â€* GOD Is Near â€* Questions Don't PM for Questions An eye for an eye, make the whole world blind _____________________________________________GHANDI Last edited by farafiro; 07-24-2002 at 10:57 AM.. |
|
|
|
|
|
#7 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
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 Mort
__________________
............................ FLEX/FLASH BLOG Previous Flash Tutorials ............................ |
|
|
|
|
|
#8 |
|
Addicted To FLASH
|
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.
__________________
â€* GOD Is Near â€* Questions Don't PM for Questions An eye for an eye, make the whole world blind _____________________________________________GHANDI |
|
|
|
|
|
#9 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
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
__________________
............................ FLEX/FLASH BLOG Previous Flash Tutorials ............................ |
|
|
|
|
|
#10 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
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 Mort
__________________
............................ FLEX/FLASH BLOG Previous Flash Tutorials ............................ |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| buttons in external swf | halkiede | ActionScript 2.0 | 2 | 02-16-2005 04:49 AM |
| Loading buttons into movie clips in ordered sequence? | datter | ActionScript 1.0 (and below) | 3 | 12-08-2004 07:25 PM |
| Scrolling through number of Buttons | bjory | Components | 3 | 09-23-2004 08:57 AM |
| Buttons under buttons under buttons... | Mortimer Jazz | ActionScript 2.0 | 2 | 07-14-2004 01:27 PM |
| SOLUTION for hideing min, max and close buttons in standalone Flash movie | chilli | ActionScript 1.0 (and below) | 2 | 09-09-2001 07:50 PM |