dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: swordfish123

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,111

    Color - radial gradient tint?

    Hi!

    I have a function for setting a background radial-gradient color. The function takes a color as a parameter.
    It's working fine, but instead of using white as the "radial gradient" color - I...
  2. Replies
    1
    Views
    749

    AIR random assets

    Hi!

    Working on a mobile application (AIR for Android).
    I have a specific class that handles the assets.
    If I load/use "FlowerImageClass2" it's woking fine, but I want to load many differnet...
  3. Replies
    0
    Views
    456

    Flash8 Tilebased game - brick collision

    Hi,

    I'm workin on a tilebased game, with some black "draggable" bricks (when mousepointer hit the tile it goes to next frame, which is black).
    Now I want to check if the bricks are connected to...
  4. Replies
    0
    Views
    335

    Flash8 Grid - drag detection

    Hi,

    I'm workin on a tile-based game (10x10), with 20 draggable bricks.
    The bricks are put out in random positions. I use a "snap-to" grid function. Both the tiles and the bricks are generated...
  5. Replies
    0
    Views
    608

    ComboBox - icon

    Hi,

    How do I put an icon (image or movieClip) inside a comboBox?
    I search the net, but haven't found anything useful yet...

    I use Flash 8 and AS 2.0.

    Regards,
    S-fish
  6. Replies
    1
    Views
    473

    [F8] Fullscreen video - resolution

    Hi,

    I'm workin on a video application and want to scale the display correctly in fullscreen view depending on screen resolution. The problem is that the video display is NOT the same size as the...
  7. Replies
    2
    Views
    670

    Sry, think I have to explain.. n =...

    Sry, think I have to explain..

    n = body_array.length
  8. Replies
    2
    Views
    670

    Dynamic MC - migration to AS 3

    Hi,

    I've programmed an animated creature for some years ago in AS 2.
    Now I want to program this in AS 3. Some of the code look like this:




    for(i=0; i < body_array.length; i++){
    if(i...
  9. Replies
    7
    Views
    1,059

    Thank you, this is working great! :thumbsup: ...

    Thank you, this is working great! :thumbsup:

    One question, can I reach another movieClip inside the "enemy_mc instance"? For example like in AS 2, enemy_mc.enemyHit_mc.gotoAndPlay(2);

    This...
  10. Replies
    7
    Views
    1,059

    Thank you for that detalied information! Let...

    Thank you for that detalied information!

    Let me see if I understand this:
    1. I've added the import flash.display.DisplayObject; ontop of the class Enemy.as
    2. No linkage for the library enemy...
  11. Replies
    7
    Views
    1,059

    I got an error, probably some casting problem (as...

    I got an error, probably some casting problem (as you said).

    1046: Type was not found or was not a compile-time constant: DisplayObject.

    Here is my Enemy.as class:



    package{
    import...
  12. Replies
    7
    Views
    1,059

    OOP game - movieClip

    Hi,

    I'm workin on a OOP game, and have a question. Is it posible to use/assign new "enemy movieClips" from Library - for each new level by using the same AS3 class (Enemy.as)?

    For example, on...
  13. Replies
    7
    Views
    1,308

    Thank you, this works for me! :)

    Thank you, this works for me! :)
  14. Replies
    1
    Views
    425

    Think I got this working, the problem was in the...

    Think I got this working, the problem was in the soundTransform part.
  15. Replies
    1
    Views
    425

    Sound problem

    Hi,

    Have a strange sound output:

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at main_animation_fla::MainTimeline/onFrameLoop()

    If I comment away...
  16. Replies
    7
    Views
    1,308

    Here is some of the code, on mousePress the...

    Here is some of the code, on mousePress the "shoot" variable is set to true and on release false:



    stage.addEventListener(Event.ENTER_FRAME, onFrameLoop);

    //loop for creating new bullets and...
  17. Replies
    7
    Views
    1,308

    No this doesn't work for me..I got an error...

    No this doesn't work for me..I got an error output:

    1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject.


    Any idea? Maby I...
  18. Replies
    7
    Views
    1,308

    Bullet off stage - remove

    Hi,

    I want to remove bullets when they go off stage.
    MoveBullet is my function that animates the bullet.



    if(e.target.x > stage.stageWidth){
    e.target.removeListener(Event.ENTER_FRAME,...
  19. Replies
    2
    Views
    321

    Thank you, I'll try that /S-fish

    Thank you, I'll try that

    /S-fish
  20. Replies
    2
    Views
    321

    [F8] Array - get surname

    Hi,

    I got an array with names, like:

    var name_array = new Array();
    name_array = ["Mikey Mouse", "Donald Duck", ""Robin Hood", "Miss Piggy"];

    Now I want to pick out just the surnames from...
  21. Replies
    0
    Views
    306

    [F8] curveTo - movieClips

    Hi,

    When I press on a large star, I want to dynamicly attach 3 small stars (from library) in random positions, and draw curves between them with the curveTo-method. The code:



    for(a=0; a <...
  22. Replies
    1
    Views
    297

    Think I got this working now by writing a...

    Think I got this working now by writing a recursive method.
    Thanks anyway.
  23. Replies
    1
    Views
    297

    [F8] Compare - Two arrays

    Hi!

    I'm workin on a search function for a record archive, and got two arrays.

    array1: contains all the record ID's.
    array2: contains the result of a search (record ID's).

    For exampel if we...
  24. Replies
    0
    Views
    479

    [F8] Fullscreen - screen resolution

    Hi!

    Working on a video system, and want the display to have the same proportions in the fullScreen view as in the normal view, independent of the resoluton (and use as much as possible of the...
  25. Replies
    0
    Views
    540

    [F8] Firefox - add to favorites

    Hi,

    Is there any way to activate a "add to favorites" from inside flash for Firefox?

    Like the one in IE:
    javascript:window.external.AddFavorite

    Regards,
    S-fish
Results 1 to 25 of 83
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center