A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: Errr :[ Help.

  1. #1
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252

    Errr :[ Help.

    Ok I am working on a site. Not real use to using pixel fonts and what not. This is so confusing though.

    Alright here is the problem.

    When i view the swf of my layout on my computer the font shows up fine, and the site is perfect. But when I look at my site here http://www.angelfire.com/d20/divinem...tional/ef.html sometimes the font is screwed up and sometimes its not. Also the site screws up in different screen resolutions as well.

    My movie size is 550x450.
    My screen resolution is at 1280x1024
    In the html posting the flash I have the height and width at 55% to make the site view the same size that I can see the swf on my computer.

    Wtf am i doing wrong I know i screwed something up. How can i make it so everyone can view my site the same and the pixel font doesn't screw up

    Just noticed after posting this that the font only shows up good on my resolution when site is maximized. :X
    Last edited by Divine Media; 05-05-2003 at 02:49 AM.
    flash the planet

  2. #2
    Harmony & Justice Veniogenesis's Avatar
    Join Date
    Jul 2002
    Location
    Washington D.C.
    Posts
    4,434
    You can't embed a movie into
    a html document with a scaled size
    (for example: 55%)

    For pixel fonts to show correctly,
    the movie size has to be dictated
    and has to be the same as the original.

    It screws up in different resolutions
    because the movie will always cover
    55% of the window screen. Thus, the
    movie is scaled. (Which distorts pixel
    fonts)

    Regards,
    Venio
    Flash Kit Moderator . Duke University
    Thomas Jefferson High School for Science and Technology

  3. #3
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    venio

    ok I changed it to 100% in the flash. It makes it look superhuge now, and its ugly. also the fonts still dont show up in any resolution besides mine. what can i do or what am i doing wrong?
    flash the planet

  4. #4
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    You don't want to change to 100%, you want to use the native size of the movie, 550 by 450 (according to your first post).

    Cheers,

    Flick

  5. #5
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    Ok, now you guys are confuseing me. I want my movie to be the same size i made it and I want it to show up for everyone i never thought it was this complicated. one says i need 100% and the other says i dont someone sort this out. :X
    flash the planet

  6. #6
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    No one said set it at 100% - both Venio and I said the movie has to be set to its original size.

    Cheers,

    Flick

  7. #7
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    Well what % do i set it at to make it show as the original size? Im confused cmon man fill me in.
    flash the planet

  8. #8
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    You don't set it as a percentage. Your code should look something like:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="600" height="200">
    <param name=movie value="341title03.swf">
    <param name=quality value=high>
    <embed src="341title03.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="200">
    </embed>
    </object>

    where you are interested in the height and width parameters.

    Cheers,

    Flick
    Last edited by wcoleman; 05-06-2003 at 07:15 AM.

  9. #9
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    err now I am getting this http://www.angelfire.com/d20/divinem...tional/ef.html
    being a newbie sucks
    flash the planet

  10. #10
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    My guess is that you need the full path to your swf file - http://www.angelfire.com/d20/divinem...otional/ef.swf rather than just ef.swf

    Cheers,

    Flick

    (Are you doing this in Swish or Flash? If you still have problems post the source file. ,fla or .swi, and we will take a look.)

  11. #11
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    nope same thing. still that box with the scroll bar. im doing in flash mx how can i post the swf?
    flash the planet

  12. #12
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    Put the .fla file on your website and give a link (by the way, I copied your html code, changed the link to the swf file and was able to see it from my machine, so it should work).

    Cheers,

    Flick

  13. #13
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    Look in your code for this line

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ver

    sion=5,0,0,0" width="550" height="450">

    It should read <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ver

    sion=5,0,0,0" width="550" height="450">

    You are missing :D after clsid

    I have changed your code (and gotten rid of all of the AngelFire stuff) and saved it as www.wellesley.edu/Chemistry/Flick/ef.html

    You will see that you do have problems with the pixel fonts, but I need to see your fla file for ef.swf in order to see what they are, assuming that you have followed all of the rules for pixel font use.

    Cheers,

    Flick
    Last edited by wcoleman; 05-06-2003 at 07:14 AM.

  14. #14
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    fan*****ingtastic! the site looks good in any resolution on my pc plus I can read the font just fine. it was just a freaking :?. Here let me check it out some more and ill get back to you


    ohh one more thing. ok when i select device fonts... sometimes it cuts my text off when i view it in .swf format or it will will move stuff around on its own why is that?
    Last edited by Divine Media; 05-07-2003 at 02:39 AM.
    flash the planet

  15. #15
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,797
    Device fonts take the font from the browser yet sit in the
    text box if the box isn't big enough the text falls off

    Usually for device fonts you can set the pixel width
    or the lines if the device font cannot extent to the
    box it will wrap.


    Ergo make sure you've got a big enough box to hold the font.
    if the font has a line count or a pixel width
    you will need to use text scroll or max text scroll to
    accomodate.

    I'm not an MX user you may find more help on that subject in
    actionscripting. It's hard to say.

    Frets

  16. #16
    Senior Member FFF's Avatar
    Join Date
    Feb 2002
    Posts
    955
    It looks as if you haven't embedded your font.

  17. #17
    Senior Member
    Join Date
    Oct 2002
    Location
    louisiana
    Posts
    252
    err im a pixel font newbie. How can embed my font?
    flash the planet

  18. #18
    Senior Member FFF's Avatar
    Join Date
    Feb 2002
    Posts
    955
    Embedding applies to all fonts (not only pixel).

    In the text properties box, press on CHARACTER

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center