Jump to content
Search Community

sakre

Members
  • Posts

    7
  • Joined

  • Last visited

sakre's Achievements

1

Reputation

  1. Carl, thank you for your suggestion. It certainly merits a try!
  2. Our swf is a template that can be loaded into an edit mode, where clicking on UILoader triggers a JS function that pops up a HTML image selector. The selected image is then loaded into the UILoader. Then, when the swf is loaded for presentation, the image source paths are pulled from a DB and the correct images are loaded. This enables the end-user to quickly change the image in the swf from any image in our extensive DB. It would be easy to replace UILoader with LoaderMax for this, were it not that we need UILoader because the component needs to be placed/manipulated in the Flash editor GUI, as our designer cannot code. Furthermore, putting the UILoader in a MC will send the wrong instance name to the JS, which will cause the swf to try and load the image into MC.source instead of MC.UILoader.source. Of course, it would be possible to rewrite the code to do just that, except that when designing in the GUI this will make things quite a hassle. The point is, currently we have a system that enables our designer to create templates with minimal knowledge of AS3 or coding. I want to keep it that way. Could you elaborate on extending the UILoader class?
  3. I'm sorry, but due to the nature of the project that is simply not possible. Is there really no other way?
  4. sorry, kind of rushed it, here is the link: http://ge.tt/6oqb6Vo1/v/0?c
  5. ok, I just managed to get the files uploaded (took some playing around with the 500kb limit)
  6. yes, I have tried everything. I can get width and height before, during and after transformation and I know for a fact that it happens also if you explicitly wait for the loader to finish loading its content. I am adding the files to my OP so you can test for yourself. Left (UILoader) is what happens, right (Bitmap) is what I want.
  7. It still seems to transform with the original reference point (0,0) of the UILoader? edit: it works fine with bitmap that I place on the scene and turn into an MC though. centrepoint.swf.zip
×
×
  • Create New...