Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

holysocks's Achievements



  1. Hi I noticed that my latest project has some problems when playing video. When a video is playing, all my mouse inputs are 'queued'. Flash does not read and act on those inputs until the video has finished playing. For example, if I play a video and then press another button while the video is playing, the button does not get clicked until the video stops playing. It is published as an exe (projector file). It happens on newer computers but not my 5 year old pc. I noticed that unchecking hardware acceleration (right click -> settings) fixes the problem. Also it seems to only happen when in full screen mode. I am using VideoLoader, but not sure if that's the problem. Anyone know what's going on?
  2. Seems like a pretty elegant solution to me. A loadingBar class that takes in values and handles it appropriately (eg ignoring negative/lesser values). You can even tween the bar movements for smoooooth bar moving.
  3. this will swap image at i with the image that's at the top of the displaylist of container_mc (pushes it above all other images) container_mc.swapChildren(_imageArray[i],container_mc.getChildAt(container_mc.numChildren-1)); OR container_mc.setChildIndex(_imageArray[i],container_mc.numChildren-1); _imageArray is an array of all the loaded images in container_mc as shown in my previous posts
  4. The moment you set the container parameter in Imageloader, it automatically adds its content into that container (even before it loads). So in your case, it would be added to container_mc in order as the xml. I believe you will need to read up on and understand the displaylist mechanics of as3. http://www.republicofcode.com/tutorials/flash/as3displaylist/
  5. l.content is a ContentDisplay object that extends Sprite - meaning it's a sprite with some extra properties and methods. It is what greensock loaders use as a container it loads. You can use it and manipulate it just like a regular display object on screen (x, y, scaleX, scaleY, rotation, alpha, width, height, etc etc). Also you can pretty much forget about the loaders and LoaderMax once they've done their job loading your images. See it this way, loaders are just responsible for loading and LoaderMax is just a queue of loaders. They are useful to use to organize and get information for the loading process. You can learn more about each class at http://www.greensock.com/as/docs/tween/ under the com.greensock.loading packages. hope this helps somewhat... also didn't see a need for that new thread~
  6. not sure what you are asking but if you want an array of the loaded images, LoaderMax.content gives you that. So in your code, just add _imageArray=queue.content; after the for loop. if you want to do it manually inside the for loop I guess it would be var l:ImageLoader; for (var i:Number = 0; i { //append one or more loaders l=new ImageLoader("_images/"+xml.feature[i].@url, { estimatedBytes:2400, container:container_mc, alpha:1, y:10+30*i }) _imageArray.push(l.content); queue.append(l); }
  7. I think it's the hotlinking protection on the free hosting account I am using. Though when I try to access the image directly, Safari did not work and Chrome worked. Guess I'll have to try it on a better server. Thank you.
  8. Hi, I have a simple image loader/display. For some reason, the images do not appear in Firefox. It works fine in IE,Chrome, and Safari. I am using LoaderMax and ImageLoaders. I have messed with maxConnections, noCache, auditSize but they didn't help. I am also using swfIN.js. Can anyone provide some hints I should look into? You can try it at http://h3games.awardspace.com/test Thanks in advance.