A Flash Developer Resource Site

Search:

Type: Posts; User: nielzzz

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    568

    I try to load as many assets during runtime, but...

    I try to load as many assets during runtime, but sometimes you just need animations of image sequences on a timeline.

    I've been Googling a bit about SWC, there is a lot of oudated info out there....
  2. Replies
    5
    Views
    568

    I have actually checked this language out a while...

    I have actually checked this language out a while back but have never tried or used it. It is cross-platform as / js / others right? Have you tried it?
  3. Replies
    5
    Views
    568

    Speeding up compile time?

    I'm looking to speed up compile time. Back in the day I used MTASC and it would just update the code of the swf.

    Since AS3 I need to publish the movie from the IDE and it takes forever because of...
  4. Replies
    1
    Views
    348

    Hmz, I update the flash player from 10 to 10.1...

    Hmz, I update the flash player from 10 to 10.1 and it seems to function properly now... still seems weird because it was publish on cs4 without the 10.1 upgrade.
  5. Replies
    1
    Views
    348

    Omit trace causes error on OSX

    Weird little problem that I ran into a few weeks ago. It went away and now it is back.

    I publish my movie on CS4, Windows. It works fine on Windows. But on OSX it just hangs, no error nothing....
  6. MVC best-practice: How would you extend an MVC with an new M and C

    Hi all,

    Ive got this MVC setup.

    The Controller has a view propery of the type View1 and a model of type Model1.

    Basic stuff.

    Now, I want to build something on top of this MVC (is this...
  7. Replies
    3
    Views
    1,540

    Thank you for your fast reply. I already knew...

    Thank you for your fast reply. I already knew about script timeout and loops and such, it's about this ___setprop___ thing that I can't seem to figure out.
  8. Replies
    3
    Views
    1,540

    ___setprop___ error

    I got this error from a swf file:


    Error: Error #1502: at classes::Window_common_chat/__setProp___id1__window_common_chat_btns_0()
    at classes::Window_common_chat()
    at...
  9. Replies
    2
    Views
    1,138

    How do I know if unloadandstop has worked?

    Well, the subject says it all really.

    I want to unload a swf and have it removed from memory, I use 'unloadAndStop'. But how can I check if the swf / MC has really been removed?
  10. Replies
    2
    Views
    484

    My first suggestion would be: var...

    My first suggestion would be:


    var color_arr:Array = new Array ( 'black', 'pink', 'green' );

    for(var i in color_arr){
    this[color_arr[i]].addEventListener(MouseEvent.Click, onColorChoice);...
  11. Not so though as I thought it was. Solved it...

    Not so though as I thought it was. Solved it myself.

    Thanks!


    public function remove_alpha() {
    var copy_img_data
    for(var i = 0; i < this.bd.width; i++){
    for (var j = 0; j <...
  12. determine bounding box of semitransparant png

    Dear all,

    I want to apply a (flint) effect on a PNG image.

    This PNG image is rather large, and only a small portion is filled with pixels. Most of the image is transparant.

    I want to...
  13. I searched a little longer and found the solution...

    I searched a little longer and found the solution and found it here.

    I had to use:



    var mc:MovieClip = myLoader.content as MovieClip;


    I have never used the 'as MovieClip' part and do...
  14. I studied your attachment. I don't really see how...

    I studied your attachment. I don't really see how it helps my issue though. I'm downloading a SWF file with a Loader class and I would like an optimal/clean way for the downloaded SWF file to...
  15. Is the Loader class the best solution for communication between SWF's ?

    Hi all!

    I want to ' import ' or ' download ' some SWF file into my main-swf file. I then want them to do a lot of communication back and forth.

    The best would be if I could just call...
  16. Replies
    1
    Views
    462

    reference textfield on timeline

    In de Flash IDE I create this movieclip 'MC1' and assign class MC1.as to it.

    On the timeline, I add a textfield 'TF1'.

    Now, in MC1.as I can change the textfield easily: TF1.text = 'text...
  17. Thoughts on how to do this bitmap filter thing

    Hi all.

    I have semi-transparant PNG Bitmap in a MC.

    I want to outline the image in the PNG with actionscript.

    How should I go about this?

    I was thinking of iterating through a...
  18. Replies
    1
    Views
    366

    Work around from extending eventListener

    I'm just goofing around a bit with AS 3.0, still use 2.0 for all production work.

    Anyway, I figured out that you cannot add your own arguments to an eventlistener. The work around is, (so I've...
  19. Replies
    3
    Views
    565

    that's awsome man! But I do have to ask: How did...

    that's awsome man! But I do have to ask: How did you know that?
  20. Replies
    3
    Views
    565

    Set a AS variable from the webpage / HTML

    Hi there!

    I used to just do a


    < [..] movie.swf?variable=something [...] >
    on the webpage.

    In flash, I then did a little
    myvar = _root.variable
  21. Replies
    6
    Views
    3,715

    How do I then 'use' this image in my code and why...

    How do I then 'use' this image in my code and why is it between [ ] ?
    (couldn't find anything about 'Embed' in the live docs :( )
  22. Replies
    6
    Views
    3,715

    What does this line do ? [...

    What does this line do ?


    [ Embed(source="data/images/image.png") ]
  23. that one's awesome! Thankx :)

    that one's awesome! Thankx :)
  24. Well, of course I know they're in the helpfile,...

    Well, of course I know they're in the helpfile, it's just that there are some uses of these operators that never occured to me or are mentioned in the helpfile. Like:



    if(!var) ...

    ...
  25. [tricks] Where to got these handy tricks from?

    I've been programming in AS for quite some time. I'm completely self-thaught OOP etc.

    Anyway, every now and then I look at some elses code and find these different handy 'shortcuts' and stuff.
    ...
Results 1 to 25 of 33
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center