Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Flash MX in a HTML file? Can it be done?

  • 12-12-2004 1:19pm
    #1
    Registered Users, Registered Users 2 Posts: 36


    Please help me, i have a project to do in work and i am having trouble finishing it, it is in Flash MX on Windows (XP)... if you are familiar with flash you will know how to get your work Published, and then you can simply send the .swf file to your colleges and all that...

    my problem is however that i want to send a web page and when people open the web page that the flash file will be there...

    i have made a game (for work) and my bosses want to send out a .html file with the game in it... can anyone help?

    new user by the way, Hello World


Comments

  • Registered Users, Registered Users 2 Posts: 9,284 ✭✭✭RobertFoster


    In Dreamweaver:

    Insert > Media > Flash

    Not in Dreamweaver:

    [HTML]<object width="550" height="400">
    <param name="movie" value="somefilename.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>[/HTML]

    Remember to incude the swf file with the HTML file when sending it :)


  • Registered Users, Registered Users 2 Posts: 110 ✭✭Big P


    wow, that has to be the worst way of explaining imbedding a flash movie in a HTML file :P
    Anyway the correct way to embed a movie is as so:
    [html]
    <object type="application/x-shockwave-flash" data="/banner.swf" width="392" height="72">
    <param name="movie" value="banner.swf" />
    </object>
    [/html]


  • Registered Users, Registered Users 2 Posts: 9,284 ✭✭✭RobertFoster


    wow, thanks, you're such a nice person to correct me, and in such a nice tone too.

    I think you should get in contact with w3schools.com and tell them their way of embedding a flash file is incorrect.


  • Registered Users, Registered Users 2 Posts: 2,426 ✭✭✭ressem


    Perhaps I'm reading the original post wrongly, but it sounds as though utilitarian wants to embed the actual flash code within the html page, as you can do with a multipart MIME document with content ID (a la html email ). And doesn't want to provide a zip with 2 files, or external link.

    I don't know that you can though.


  • Registered Users, Registered Users 2 Posts: 6,571 ✭✭✭daymobrew


    I hate to suggest something that uses Internet Explorer but it provides a solution:

    In IE you can save a web page as a single file (.mht I think). It does a sort of MIME encoding, like an email.
    If your company uses IE you could create a mht file (create a page on your machine that references the sfw file - like examples given earlier). Then save the page as a single unit.
    Of course this will NOT work for other browsers, afaik.

    Why is it not sufficient to send out the swf file? Does the player not launch standalone swf files? Users could be directed to launch the attachment (swf file) or at the most detach it and double click it.


  • Advertisement
Advertisement