THESE FORUMS NOW CLOSED (read only)

  • 17 Jul 2025, 06:05
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Dear ActionScript/JavaScript writers.  (Read 8083 times)

Rubby

  • The German Chancellory building
  • ***
  • Offline Offline
  • Posts: 459
    • http://members.shaw.ca/baby.snakes
Dear ActionScript/JavaScript writers.
« on: 11 Mar 2006, 15:03 »

I'm really new to flash, I only started to teach it to myself a couple weeks ago. JavaScript I know quite well. In fact I needed to learn it for my computer science degree. Anyways. I having a problem making a flash movie span the whole screen. I have this video right, and it's fairly small (something like 300x500) but I want to strech it across the whole screen. When I publish the HTML file in flash I set the height and width to 100% but on the page it's still the same size. Then I try to overwrite the
Code: [Select]
height="100%", width="100%" code with just
Code: [Select]
size="100%" in both the object parameters and the
Code: [Select]
<embed /> code, still nothing. I know I have to do something with fscommand() to do this, but I dont know where to implement this code. Within the flash document I've used this
Code: [Select]

fscommand("allowscale", true);
fscommand("fullscreen", true);

but I dont know if I need to call this from a Javascript function or what.
Do I need to do this:
Code: [Select]

function DoFScommand("allowscale", true);{
}
function DoFScommand("fullscreen", true);{
}

Would that work?
I'm just so lost and I need help.
[/code]
Logged

jhocking

  • Methuselah's mentor
  • *****
  • Offline Offline
  • Posts: 5,267
  • Corruption City USA
    • new|Arteest
Dear ActionScript/JavaScript writers.
« Reply #1 on: 11 Mar 2006, 20:14 »

Hm, logically this should be possible (Flash is vector graphics, after all) but I've never actually seen it done.  Embedded Flash is always hard-set to a specific size.  I dunno.

Anson

  • Guest
Re: Dear ActionScript/JavaScript writers.
« Reply #2 on: 11 Mar 2006, 23:47 »

Quote from: Rubby
Code: [Select]

fscommand("allowscale", true);
fscommand("fullscreen", true);

[/code]


As far as I know, this only works for projector files (in which case, you'd put this line of code into your first frame under an actions layer).

I've never actually tried to get a fullscreen Flash movie running in a browser but running a quick search I did find this tutorial:
http://www.kirupa.com/developer/mx2004/fullscreen.htm

Let me know if this works for you.
Logged

Rubby

  • The German Chancellory building
  • ***
  • Offline Offline
  • Posts: 459
    • http://members.shaw.ca/baby.snakes
Dear ActionScript/JavaScript writers.
« Reply #3 on: 14 Mar 2006, 15:22 »

Ok so I've tried everything. I'll just straight up say what I'm trying to do and hopefully get some help. The web site is for this band whose theme is very theatrical. The Front image of the cd is some weird dolls on a stage so I thought that with the site I could have it start with closed curtains, and then they open and the site content is behind them. When you click a local link, I wanted the curtains to close and open to the new page. I have a flash movie of some curtains opening and closing as so obviously I wanted that movie to span the entire screen, but now I'm worried that I just cant do this with flash. What would be some alternatives? Is there a better animation format to do this with? I know I cant use a GIF animation because I need dynamic content behind the curtains. So what do I do?
Logged

hitsfree

  • Guest
Dear ActionScript/JavaScript writers.
« Reply #4 on: 30 Mar 2006, 06:17 »

One way to fix this is to your expand image used in movies itself if possible.
Logged

Rubby

  • The German Chancellory building
  • ***
  • Offline Offline
  • Posts: 459
    • http://members.shaw.ca/baby.snakes
Dear ActionScript/JavaScript writers.
« Reply #5 on: 31 Mar 2006, 12:48 »

Quote from: hitsfree
One way to fix this is to your expand image used in movies itself if possible.

I'm not entirely sure what the means, but if you saying just make the movie the size of the screen you're wrong, sorry. Do you know why? Because my screen resolution is 1280x1024, a friend of mine has his resolution set to 1280x960, at school, the computers are 1024x786 and still another friend of mine has his resolution set to an awful 800x600. If I make the movie file itself 1280x1024 (the size of my screen) what will happen when my friends try to view the site? It'll look awful, that's what.
Logged
Pages: [1]   Go Up