dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: StunnedGrowth

Page 1 of 5 1 2 3 4

Search: Search took 0.21 seconds.

  1. I get them in the debug player. Either allow all...

    I get them in the debug player. Either allow all possible combinations for your domain using AllowDomain, use a cross domain file, or check your code and verify that your not referencing the file...
  2. Replies
    4
    Views
    1,136

    Socket policy file security is in effect now,...

    Socket policy file security is in effect now, which means that you need a policy file server to return the policy file to the socket connection. Your socket connection is going to make a...
  3. Replies
    25
    Views
    1,450

    You have 2 IOErrorEvent listeners for IO_ERROR....

    You have 2 IOErrorEvent listeners for IO_ERROR. Remove the second one and the function for ioErrorHandler (or move it outside your loadImage method)
  4. Replies
    5
    Views
    739

    I'm not sure, here's a test I just ran and all...

    I'm not sure, here's a test I just ran and all works fine. Just change the url to the image your loading.

    Output:
    file:///C|/Documents%20and%20Settings/.../Desktop/06855132.jpg



    package
    {...
  5. Because of the mechanics of how addChild() works,...

    Because of the mechanics of how addChild() works, you will need to create a new display object. A child object can only exist in one display object container.



    // The display item clicked.
    ...
  6. Replies
    5
    Views
    739

    It's already stored in the loaderContentInfo...

    It's already stored in the loaderContentInfo object on the Loader.

    There are several ways, so a easy one would be to compare the url of the thumbnail in the loader object a person has clicked on...
  7. .name() method is what you are looking for. ...

    .name() method is what you are looking for.


    var myxml:XML = <top><node id="1" name="Some Name" type="typeString" /></top>;
    var list:XMLList = myxml.node[0].attributes();

    for each (var prop...
  8. Replies
    5
    Views
    739

    You have one loader pointer (imageLoader) that...

    You have one loader pointer (imageLoader) that points to a loader object in memory. Ever iteration of your loop is changing what loader object you are pointing so when your loop is finished the last...
  9. Replies
    7
    Views
    1,926

    CacheAsBitmap will redraw itself every time your...

    CacheAsBitmap will redraw itself every time your width, height change, and other stuff. Your problem is your toggling the visibility of your movie clips instead of removing them from the display...
  10. Replies
    25
    Views
    1,450

    If I run it with a clean cache in IE it hangs...

    If I run it with a clean cache in IE it hangs when the site preloader is done, then if I refresh everything works fine. Possibly an event not firing in your preloader?

    I'm not sure how your...
  11. Replies
    16
    Views
    38,213

    To followup on this as I realized the swf I was...

    To followup on this as I realized the swf I was looking at was AS2 based running in FP 10 and had forgotten how we initially set it up for AS3.

    For AS3 to be able to load a custom policy file...
  12. Replies
    16
    Views
    38,213

    That has been in the documentation since the...

    That has been in the documentation since the flash 7 player allowed cross domain policy files to be loaded. It's in the CS3 help under AS2 documentation and in the Flash 8 help, I'd check 2004 but I...
  13. Replies
    16
    Views
    38,213

    The easiest way to track this down is to run a...

    The easiest way to track this down is to run a http proxy debugging tool and watch where the swf is trying to load the crossdomain.xml from. Charles is a good one for this.

    In regards to the...
  14. Replies
    6
    Views
    1,047

    i believe Event.OPEN broadcasts prior to...

    i believe Event.OPEN broadcasts prior to receiving any data about the file, so you'd probably have to get it from the ProgressEvent.PROGRESS
    ...
  15. Replies
    3
    Views
    2,449

    you could do it with the htmlText property,...

    you could do it with the htmlText property, building the formatting into the string then appending it to the property. I'm not sure if you can apply formatting directly to the textfield in a...
  16. Replies
    6
    Views
    1,047

    bytesTotal is not a property of Event, but of the...

    bytesTotal is not a property of Event, but of the LoaderInfo object on the loader, so you'd need to do:

    myLoader.contentLoaderInfo.bytesTotal

    or
    ...
  17. It's a pointer, for a deeper understanding of...

    It's a pointer, for a deeper understanding of what goes on when you create objects take a look at grant skinners blogs he posted a few years ago.
    ...
  18. Replies
    9
    Views
    1,760

    I didn't test this, but you'll get the idea ...

    I didn't test this, but you'll get the idea


    for each (var picsChildren:XML in picsList)
    {
    var picMovie = this['pic' + (i)];
    var picThumbHolder = this['thumbholder' + (i)];
    var picThumb =...
  19. Replies
    9
    Views
    1,760

    Move your addChild into your loop when you create...

    Move your addChild into your loop when you create the holder, all the positioning and sizing will be taken care of during the init.

    Or you can position it during the loop I guess then add it, and...
  20. Replies
    9
    Views
    1,760

    Just glancing at this it looks like your running...

    Just glancing at this it looks like your running into scoping issues because your dynamically creating loader objects in a loop and redefining the event handler function every time the loop executes....
  21. Replies
    9
    Views
    1,760

    Sound like your trying to resize it before the...

    Sound like your trying to resize it before the image has actually drawn into the loader. Just because it's completely loaded, doesn't mean it's ready to be resized.

    Try using Event.INIT instead...
  22. I guess you need to ask if you need a callback?...

    I guess you need to ask if you need a callback? use currentTarget or target properties to find out what object is broadcasting the event, and extract the data that way when after the event has been...
  23. You may not be able to. In the help, look at...

    You may not be able to.

    In the help, look at the security documentation surrounding a CrossDomain xml file. That file needs to sit on the server the RSS feed is running on for you to access it.
    ...
  24. Replies
    0
    Views
    286

    Site / Bug Check

    Requires F8 Player. Let me know what you think and if you find any bugs.

    http://www.stunnedgrowth.com
  25. Replies
    3
    Views
    426

    no, you cant read the directory unless you have...

    no, you cant read the directory unless you have server code do it for you.

    I would either have a webservice return xml with everything I needed to load the images dynamically, or create a static...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center