Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by peterworth

  1. peterworth

    scope when using new

    thanks for all your help.
  2. peterworth

    .eps files loaded by MovieClipLoader

    ah, i see. i'll change the eps to an swf. thanks.
  3. peterworth

    .eps files loaded by MovieClipLoader

    but, i've imported this .eps file using the import to stage option in flash before and all was good...
  4. peterworth

    scope when using new

    hmmm, strange.. i've even tried having a different mcl and lo objects for each image( as in code below), and the output is still the same. with the extra traces, the output is this: loading floorplan1.jpg loading floorplan2.jpg loading floorplan3.jpg _level0.floorplan2: 65536 bytes of 79705...
  5. peterworth

    .eps files loaded by MovieClipLoader

    when i load a .jpg with a MovieClipLoader object, it displays fine, but the exact same code loading a .eps file doesnt work. it loads the clip without any errors, and calls it's listener's onLoadInit function, suggesting everything is fine, but then nothing is displayed. any ideas? thanks.
  6. peterworth

    scope when using new

    the correct output (the name of the image files which are to be loaded). and the images load fine and appear on the stage. it's just the listener which isnt working...
  7. peterworth

    scope when using new

    i've got the below now, but the output is still wrong - 3 "loading..." but only 1 "loaded". var lo = new Object(); var mcl = new MovieClipLoader(); lo.onLoadInit = function(target) { trace(target+" loaded"); target._width = floorplanWidth; target._height = floorplanHeight...
  8. peterworth

    scope when using new

    i'm not sure how scope works in actionscript - am i doing something wrong in the code below? the loop runs 3 times, so there should be 3 movieclip loader objects and 3 listeners. but in the output, there is only 1 "loaded" trace. i.e. only one of the listener objects has called the onLoadInit...
  9. peterworth

    how low (level) can you go?

    ...yeah i guess so (good idea)
  10. peterworth

    how low (level) can you go?

    because the data in memory won't be random - there will be image data, ascii, audio data, repeating patterns, only occasional random sections etc.
  11. peterworth

    how low (level) can you go?

    this is the piece which sparked my interest: http://turbulence.org/Works/arcangel/ the stuff i'm working on is different but it would be useful to indiscriminantly read memory like Arcangel has here.
  12. peterworth

    resizing a swf movie loaded with loadMovie

    perfect, thanks!
  13. peterworth

    resizing a swf movie loaded with loadMovie

    hi, the following gives some funny behaviour: loadMovie("li.swf","rect_mc"); rect_mc._width = 50; rect_mc._height = 50; button_mc.onRelease = function() { rect_mc._width = 50; rect_mc._height = 50; } the first alteration to _width and _height make the movie a particular size, then when...
  14. peterworth

    how low (level) can you go?

    thanks for the reply. i like the idea of allocating memory and not initializing it best i think. good point about the compression. i think the other way round - interpreting uncompressed data as compressed, could be interesting though... if every other bit of rgba data in a bitmap is taken to...
  15. peterworth

    how low (level) can you go?

    ... but files aren't stored sequentially on hard drives..." doesn't matter! in fact it's even better. "If you tell us what you're trying to accomplish, we might be able to give you a better or easier solution." it's just for the sake of a piece of art which involves visualizing and/or...

Part and Inventory Search

Back
Top