A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: layout help

  1. #1

    layout help

    Ok, I'm trying to make a page that has a flash menu thing at the top, but the rest of the page is in html. However, no matter what I do, there's always a slight gap between the flash bit and the html bit, separating the page so it looks stupid (it's supposed to be a continuous flow between the flash bit and html bit).

    Here's a diagram in case you don't understand:
    Code:
    HOW IT SHOULD BE        HOW IT TURNS OUT
    ________________        ________________
    | FLASH BIT    |        |  FLASH BIT   |
    |______________|        |______________|
    |              |        ________________
    |    HTML      |        |              |
    |     BIT      |        |    HTML      |
    |______________|        |     BIT      |
                            |______________| 
    (Continuous flow)
                            (With a break in it)

    Anyone know how to fix this?

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    357
    You will need to create a table with two rows.
    Put your Flash file in the top row and the rest of your html content in the bottom row.

    Set your border, cell padding and cell spacing to zero.
    Media Design Services
    Web & Mutimedia Development

  3. #3
    Already tried that sorry, I'm pretty advanced with HTML (just not flash). The breakage is still there

    I was thinking about if there's some sort of margin flash automatically inserts? If so can I stop it?

  4. #4
    Senior Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    357
    Are you using the Object/Embed code that is generated by the Flash program?
    Which version are you running, MX or 5?
    Media Design Services
    Web & Mutimedia Development

  5. #5
    Flash MX, and yes I'm using the code generated by the program. Should I not be? I didn't know there was any other way to do it.

  6. #6
    Senior Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    357
    No, that's fine, just checking.
    Are you using any kind of html editor to generate your code?
    Is there a sample available to look at online?
    Media Design Services
    Web & Mutimedia Development

  7. #7
    I'm just using plain old notepad
    I'll give you a link. http://www.seiken.co.uk/test.htm

    It's just my personal site for my completely random flash stuff.

  8. #8
    Sorry for double posting, I can't edit my old one.

    It's designed to be viewed in 1024x768 resolution. That might affect things.

  9. #9
    Senior Member
    Join Date
    Oct 2000
    Location
    California
    Posts
    357
    The height of your movie needs to be adjusted.

    Change the height to 256 in both your Object and Embed tags and see what happens.
    Media Design Services
    Web & Mutimedia Development

  10. #10
    I can't thank you enough. Really, thanks a LOT man. I can't believe I could have missed something so stupid... I never changed that bit, I don't know how it managed to go to 264. Thanks again ^_^

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