Topic: Flash4/Dreamweaver Import .swf (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11204" title="Pages that link to Topic: Flash4/Dreamweaver Import .swf (Page 1 of 1)" rel="nofollow" >Topic: Flash4/Dreamweaver Import .swf <span class="small">(Page 1 of 1)</span>\

 
chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-04-2001 02:32

Ok I'm a rook in this area so I need alitle help here. I made something in Flash that has sound in it so I saved it as a .swf file so I could upload it to a web page. Well I can't get the background to fit in my browser right so I went to import it to Dreamweaver hoping I could solve the prob there. Is the only way to import the file is to go to Insert>Media>Flash? Basically I want to black background to fit to the browser....any way possible. Any suggestions? Thank's!



Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 06-04-2001 03:14

Arr... What? I can't quite understand what your saying.. It would help (as always) if you could show us what you currently have cause I just going of what you said here so I may be wrong.

In Dreamweaver select the swf (just click on it) then go to the properties panel and make sure it's been expanded (double click on it, if it get small, double click again simple) try changing the height and width to 100%, 100%.

Or, open it in a non WYSIWUG editor (notepad!) and look for the EMBED and OBJECT tags and set the width and height's of these tags to 100%.

That should solve your problem...

If not show me what you've got and I'll try again

Edit: oops! I thought HTML switched off in this ubb... my bad....



[This message has been edited by Dracusis (edited 06-04-2001).]

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 06-04-2001 05:47

I second Dracusis's comments. I'm confused about the problem too. Show and tell. Upload the page, give us the URL and maybe that will clear things up.

One thought - if both your Flash movie and your HTML page are defined with a black background, the Flash movie ought to appear to fill the browser page (assuming it's smaller than the page). If you center the movie, it should be in the middle of just about any sized browser window, and if the page is the the same color as the movie background it should look cool.

chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-04-2001 17:49

OK well I tried to save the emabarrasment but here ya go! This was something I just made over a two day period so I could get some basic's down, please don't laugh, lol. It not something that will go anywhere I just needed something to work w/. I think what you where saying Drac may work. I wasn't able to open it in Notepad~ crazy looking format??? I'm not to savvy w/ html..thank's to Mark I got the .swf file made and went from there. FYI Mark...I did try different thing to get it to work bud! I may have not exhausted all resource but I gave it a good shot! Oh yeah I didn't stick it to this forum either I took your suggestion and made a link instead, lol Thank's folk's!

taxon
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 06-04-2001 20:19

isn't that the same one you posted a while back?

chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-04-2001 21:05

Yes, but it's new and improved.....now comes w/ sound!!!! Hehehe.

taxon
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 06-04-2001 21:36

sound when no buttons are pushed or moused over = bad
annoying sounds = bad
both of those together = very bad
very bad = the sort of things not to do
the sort of things not to do = what you did
what you did = almost give me a heart attack
almost give me a heart attack = bad


...well.. something like that..... you get the idea.

chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-04-2001 22:05

Lol Taxon...if you read I said I didn't want to post it again...you crack me up! I'm just new to this and experimenting w/ no background to computer graphic's or animation...and I sure the heck am no artist. I just want to figure out how to get thing to look right from my browser (don't go in to the cross browser crap...way over my head)

Lmao, I can just picture you when you clicked on the link and herd this load BEEP BEEP BEEP, lol, lol, lol. Sound's like hiroshima's about to drop right on top of ya, right? I love the humor.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 06-04-2001 23:38

Yeah - he had published it as an animated gif previously so he could post it here.

I'm not sure I understand the issue. On my monitor, it's too tall to fit the window, but not wide enough. The issue is the white left and right? I'd stay with my suggestion to define the html page as black. Then it won't show if it's not exactly the right size. But I don't think I'd try to use Dreamweaver to manipulate the Flash movie size. You might get some distortion. I think you're better off resizing it in Flash. 'Course that'll mess up the button interface you did in Photoshop ....

Always something.

chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-05-2001 01:24

Steve your reading my mind now brother! So I screwed up to begin w/, right? That what I see on my browser also. So what would your opion be as far as starting from scratch? What should be the size of the image/page, what ever it's refered as? In Flash and in Photoshop? Go by pixel's, %, inches?

Steve remeber you said a good start would be to do a screen shot and paste it in PS and then crop it to the browser size? Well I did that, it was like 799pix by 488pix. So I don't know if that is right..cause usually images are best viewed at 800 x 600 pixel, right? I'm kinda confused on that one. Thanks
Edit: Try smaller size on sig





[This message has been edited by chad_711 (edited 06-05-2001).]

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 06-05-2001 02:42

Chad: I'd go by your own results, minus a little for safety. That 800x600 is pretty arbitrary to begin with, and does not account for all the browser junk at the top and bottom of the window - the navigation buttons and the status bar that are part of your browser's interface (not the stuff that you build into your own navigation system). So 800x600 is misleading.

If you got 799pix by 488pix from your own situation, I'd try your next Flash movie at no bigger than 750 px wide by 475 px high and see how that feels. Also - if all you need out of html is the "container" to hold the Flash movie, you don't even need DreamWeaver. Set up the publish options in Flash to save the swf *and* html, and when you choose "Publish", Flash will generate the html, setting the background to be the same as your Flash background. Automatically! It will specify the same background color as the background you have selected for the Flash movie, so if your browser window is bigger than the Flash movie, the color matches. I will sometimes go into the html and add center tags to move the movie away from the top left corner, but otherwise it's pretty painless.

Go get 'em. I like persistant people.


chad_711
Bipolar (III) Inmate

From:
Insane since: Apr 2001

posted posted 06-05-2001 20:58

Thanks Steve I will try that.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu