LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




ReplyREPLY THREAD
 
Thread Tools Display Modes
  #1  
Old 05-09-2005, 04:05 PM
cayohueso cayohueso is offline
Registered User
 
Join Date: Jan 2005
Posts: 19
Rep Power: 0
cayohueso is on a distinguished road
Cool scaling a movie in Firefox or Mozilla

Hi everybody,

I created a movie that should scale with "showall" mode, when the user manipulates the internet browser window.

Internet Explorer and Safari work fine, but when I try to use Mozilla or Firefox, the movie does not scale.

Does anyone know why this happens and how it can be solved?

Thank you very much for your assistance.

Peace,
Cayo Hueso
Reply With Quote
  #2  
Old 05-17-2005, 12:03 AM
PaLoBo PaLoBo is offline
Registered User
 
Join Date: May 2005
Posts: 13
Rep Power: 0
PaLoBo is on a distinguished road
I also have the same problem. In IE all seems to diplay fine but in forefox i get only part of the movie. I to ask for any help.

Thanks
P.
Reply With Quote
  #3  
Old 05-17-2005, 03:33 AM
cayohueso cayohueso is offline
Registered User
 
Join Date: Jan 2005
Posts: 19
Rep Power: 0
cayohueso is on a distinguished road
Cool A solution that may work for you

Hi PaLoBo,

I found a solution for the problem I had. It works if you erase the tag doctype in the HTML page that you want to open.

I hope this helps you.
Peace,
Cayo Hueso
Reply With Quote
  #4  
Old 05-17-2005, 01:40 PM
PaLoBo PaLoBo is offline
Registered User
 
Join Date: May 2005
Posts: 13
Rep Power: 0
PaLoBo is on a distinguished road
Thanks so much Cayo. That did work. Now all I have to do is learn a bit more, explore a bit more and elaborate my site.
Reply With Quote
  #5  
Old 07-13-2005, 04:26 PM
Scottae's Avatar
Scottae Scottae is offline
God Moderator
 
Join Date: Oct 2003
Location: United States
Posts: 6,532
Rep Power: 16
Scottae is on a distinguished road
Search Filling the brower with Flash in Firefox

Here's a link on Filling the brower with Flash in Firefox.

Quote:
Sometimes you need to have a full browser screen filled with a swf. Everyone knows how to do that. You go into Publish Settings, set Dimensions to "Percent" and Width and Height to 100.

The problem is that you still end up with a margin around the edge of the page. So you dive into the HTML and add in something to change the margin and padding to 0 for the body.

That works fine on many browswers, but on Firefox, maybe Mozilla too, it is totally broken. The Flash only fills about 100 pixels or so at the top of the page. After searching around, I found that Mozilla is very strict about its percentages. You are telling the swf to take up 100%, but 100% of what? The swf is in the body tag. The body tag is in the html tag, which is in the browser window. Most browsers will scale the html size to fill the browser window and scale the body to fill the html size.

Not so with Mozilla/Firefox. It doesn't assume that html fills 100% of the browswer, or that body fills 100% of the html. So you have to tell it that.

The following little snippet in a styles tag in the html head handles all of this:

Code:
body,html { 
    margin:0px; 
    padding:0px;
    height:100%;
}
I actually put this right into the default.html file in the templates Flash uses to create its html. Of course you have to take it out if you don't need it, but I found it easier to delete than have to remember when I need it. That's just me. If I were really organized, I'd create a whole new template for this purpose.
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius

Blog | Shared Items

Last edited by Scottae : 12-19-2005 at 10:25 PM
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best way to do this? rolento Newbies 29 12-09-2005 10:12 PM
eventhandling for nested movie clips |_vanishing of runtime shapes while scaling tbuer Actionscript 2.0 1 11-26-2004 07:14 PM
Movie clip problem xl_hybrid Flash MX 2004 11 03-16-2004 06:22 PM
Attach movie problem rbruhn Flash MX ActionScript 1 07-29-2003 11:08 PM
preloading plankd Newbies 4 08-25-2000 11:15 AM




All times are GMT. The time now is 08:31 PM.