A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Making an object visible off stage

  1. #1
    Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Question Making an object visible off stage

    I would like to make an object visible off stage. So that the object is floated over the HTML. Any Ideas. I don't seem to be able to do it using Transparent Window in the HTML publish options and think it may only be possible using javascript (layers) but I would much prefer to only use flash so if anyone has a idea I'd love to hear it.

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    It is not possible to render anything outside of the actual stage area. But you should be able to use wmode transparent and composite flash over html. In this case, you would have your stage be as big as the area you actually want to use ("offstage" rendering included), but only use part of it for the majority of your project.

    To ACTUALLY put stuff over the html, you'd have to dynamically create a bitmapdata, export that to javascript via externalinterface and base64 encoding, and have javascript create an img or canvas from your bitmapdata. Any animations or interactivity would further complicate the mess.

  3. #3
    Junior Member
    Join Date
    Apr 2009
    Posts
    3

    Thumbs up Thanks for the heads up

    Its much as I thought and advised. Very messy and not advisable. But I am true to my word and I took a look at the possibility.

Tags for this Thread

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