Jump to content
Search Community

kostjanix

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by kostjanix

  1. I think you have 2 options:

    1. Build your elements so that the background is a nested <div> (or some other element like that). Then you can easily tween the opacity and it won't affect the other content.
    2. Tween each object's backgroundColor individually to an rgba() value so that it can apply opacity to the background color. Beware, however, that older browsers don't all support rgba() values. For example, IE8 (if I remember correctly). 

    I'd personally opt for #1 if at all possible. 

    Hi Jack,

     

    how would you do option 2? Can you supply an example please?

     

    Thanks,

    Sami

  2. Hello,

     

    I just started working with LoaderMax and it worked quite well till the point I wanted to load the project into another project also with SWFLoader.

     

    It throw's an error that it cannot figure out what the width of the swf is. The same code loading another swf where no LoaderMax stuff was used at all just worked fine. I don't see anything wrong with my code here.

     

    I attached the project, so it would be cool if you can try to export the b2s_special.fla and tell me why it is throwing this error:

     

    Error: Error #2099: Das ladende Objekte ist noch nicht weit genug geladen, um diese Informationen zu liefern.
    at flash.display::LoaderInfo/get width()
    at com.greensock.loading.display::ContentDisplay/_update()
    at com.greensock.loading.display::ContentDisplay/set rawContent()
    at com.greensock.loading.core::DisplayObjectLoader/_initHandler()
    at com.greensock.loading::SWFLoader/_init()
    at com.greensock.loading::SWFLoader/_rslAddedHandler()
    at flash.display::DisplayObjectContainer/addChild()
     
    Best,
    Sami

    b2s.zip

×
×
  • Create New...