A Flash Developer Resource Site

Search:

Type: Posts; User: andya

Page 1 of 20 1 2 3 4

Search: Search took 0.08 seconds.

  1. Take a look in Flash Help under ActionScript...

    Take a look in Flash Help under ActionScript Reference in the:

    Creating Interaction with ActionScript > Creating a scrolling text field

    section

    Regards

    Andy
  2. If you want to evaluate a variable name without...

    If you want to evaluate a variable name without using the array access operator, then you can still use the F4 style notation:

    eval("a"+i) = value

    Should work

    Regards

    Andy
  3. Al, You cannot target a scene from within an...

    Al,

    You cannot target a scene from within an MC. It cannot be done. The only option is using a frame label at the point to which you wish to jump and then target the frame label as in Jeron's...
  4. Replies
    4
    Views
    532

    hi, As far as I know, it's not possible to do...

    hi,

    As far as I know, it's not possible to do this, because the button cannot be given an instance name and hence cannot be targetted.

    You might want to consider making the button a movieclip...
  5. Replies
    4
    Views
    524

    Demons, Yes you can use _root._width ...

    Demons,

    Yes you can use

    _root._width

    and

    _level0._width
  6. Replies
    4
    Views
    524

    For a movieclip the relevant properties would be...

    For a movieclip the relevant properties would be

    yourMC._width
    yourMC._height

    As far as I'm aware, for the _root these properties are not accesible.

    You can achieve quite a bit with the...
  7. Replies
    3
    Views
    544

    You might also want to check out: ...

    You might also want to check out:

    http://board.flashkit.com/board/showthread.php?threadid=117394

    Regards

    Andy
  8. Thread: loop action

    by andya
    Replies
    5
    Views
    622

    I think this might be the Flash 4 style notation...

    I think this might be the Flash 4 style notation for creating a loop.

    So where you have in the tutorial:

    Loop While (m<(tmi*2)-1)

    you'd use the following in Flash 5:


    while (m<(tmi*2)-1)...
  9. Replies
    6
    Views
    752

    malaksiden, kpweb has already answered you on...

    malaksiden,

    kpweb has already answered you on this. You make a movieclip with lots of keyframes and create each individual frame of the motion so that the whole movieclip represents one complete...
  10. Replies
    3
    Views
    527

    Hoi Joris, what you just posted is sort of the...

    Hoi Joris,

    what you just posted is sort of the solution. Did you meant that you've solved it or do you need more info?

    Basically, you wouldn't use startDrag() at all, you'd just use the
    ...
  11. Thread: loop action

    by andya
    Replies
    5
    Views
    622

    malaksiden, you need to be a little more...

    malaksiden,

    you need to be a little more clear as to what you mean by "loop action"... it could be:

    1) something to create a sound loop
    2) a way to loop through a series of Frames
    3) a way...
  12. Replies
    6
    Views
    752

    There are also tools that create 3d content in...

    There are also tools that create 3d content in Flash. You might want to take a look at http://www.swift3d.com as an example of one. I suspect that the example that you quoted was done with one of...
  13. Replies
    2
    Views
    548

    hi maddalien, Flash does have the fscommand,...

    hi maddalien,


    Flash does have the fscommand, e.g.:

    on (release) {
    fred = "fred";
    fscommand ("save", fred + ".txt");
    }
  14. Replies
    8
    Views
    704

    Hi Momad, Yes indeed a lot of Flash4 syntax...

    Hi Momad,

    Yes indeed a lot of Flash4 syntax works in Flash5 and not vice versa. There are certain functions that Macormedia specifically annotates as being deprecated. The likelihood is that these...
  15. Replies
    16
    Views
    1,043

    Musicman, OKlee Doklee if we go waaaayyy back...

    Musicman,

    OKlee Doklee if we go waaaayyy back into the annals of computing, I suppose the escape key was originally for data and creating escape sequences (hence the name).

    In the first PCs...
  16. Replies
    16
    Views
    1,043

    Hey there Musicman, Escape also gets...

    Hey there Musicman,

    Escape also gets programmes out of a bind. The difference between Ctrl-Alt-Delete and Escape is that Ctrl-Alt_Delete functions at a windows OS level. It brings up a task...
  17. Replies
    8
    Views
    964

    Bluedot, You might also want to look at the...

    Bluedot,

    You might also want to look at the following:

    myDate = new Date()
    text = myDate.toString();

    which returns the date and time with the following format:

    Wed Aug 7 18:15:00...
  18. Replies
    2
    Views
    524

    You might also consider using: myDate = new...

    You might also consider using:

    myDate = new Date();
    text = myDate.toString();

    which produces an output like this:

    Wed Aug 7 18:15:00 GMT-0700 1974

    Which is OK, but if you want other...
  19. Replies
    8
    Views
    704

    Just for good form, we should also include the...

    Just for good form, we should also include the Flash 5 notation for this, since random() is deprecated in Flash5.

    gotoAndPlay (random (4)+1);

    would be:

    gotoAndPlay (Math.floor...
  20. Replies
    8
    Views
    964

    Bluedot, yup my example included seconds: ...

    Bluedot, yup my example included seconds:

    seconds = myDate.getSeconds()l

    textBox = seconds;

    would do it.


    You can even get milliseconds:
  21. Hey bhughes, Yes that's often the way. It's...

    Hey bhughes,

    Yes that's often the way. It's the library that will getcha every time. The other option is of course to have the preloader just as a very cmall swf and have it then load the actual...
  22. Replies
    27
    Views
    2,035

    Am I just missing something, or doesn't this...

    Am I just missing something, or doesn't this mean:


    on (release) {
    _root.complete_Path_To.targetMC.gotoAndPlay (frameNumber);
    }

    or use

    targetMC.play();
  23. Replies
    16
    Views
    1,043

    It's not all that stupid, 'Escape' is a...

    It's not all that stupid,

    'Escape' is a recognised key for getting out of a program that is having a problem or crashed in some way. As a result, it often gets reserved so that the user has a way...
  24. Replies
    8
    Views
    964

    Close. You use a dynamic text field (let's say...

    Close.

    You use a dynamic text field (let's say you name the variable timeText) and the date() object.

    So,


    myDate = new Date();
    hours = myDate.getHours();
    minutes = myDate.getMinutes();
  25. Replies
    16
    Views
    1,043

    Just had a thought, how about capturing the...

    Just had a thought,

    how about capturing the keyPress and do your condition based on what it is not!

    Something like:
    onClipEvent (keyDown) {

    value = key.getCode()
    if (value >0 && value <27...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center