A Flash Developer Resource Site

Search:

Type: Posts; User: mexicanbean

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Flash8 onPress only non-transparent area in PNG movieclip?

    Is this possible? I have an irregular shape png with transparency contained in a movieclip, but when i use onPress on the movieclip it presses the whole bounding box.

    ActionScript Code:
    ...
  2. Flash8 Need help with a string to array function

    Im looking for a string function similar to split, i need to find text within a string and store it in an array...

    For example..

    Useless text i dont need
    [start]this is the text i need to find...
  3. Flash8 yeah thats working properly now, thanks for the...

    yeah thats working properly now, thanks for the help fruitbeard :)
  4. Flash8 That wont work, i dont want to use text files,...

    That wont work, i dont want to use text files, the text that i am wanting to format is generated so text files wouldnt work.

    Is there any particular reason why tags dont work?
  5. Flash8 Here is the .fla, u will see that its all working...

    Here is the .fla, u will see that its all working but it wont color the tags...
    (im using flash 8 so if you re-save it make sure i can open it :) )
  6. Flash8 do u mean the button that says "render text as...

    do u mean the button that says "render text as html" cos if so i already have that unchecked...?
  7. Flash8 It works good, but it wont change any words that...

    It works good, but it wont change any words that are tags such as <tag> it will only change actual words.

    Any idea why?
  8. Flash8 thanks

    thanks
  9. Flash8 Change color of certain words within dynamic textbox..

    Is this possible, cos all my attempts havent worked..
    here is what i have:
    function colorChange(field,findstring) {
    var tf = new TextFormat();
    tf.color = 0x800080;
    var pos =...
  10. Thread: Keypress

    by mexicanbean
    Replies
    1
    Views
    1,797

    stop diagonal by using 'else if' rather than just...

    stop diagonal by using 'else if' rather than just 'if' on your key.isDown code
  11. Replies
    1
    Views
    1,873

    Question about game sponsorship

    Hi,

    What game sites are best to contact regarding exclusive sponsorship these days and how long does a reply usually take?

    Also how safe is FGL for someone wanting exclusive sponsorship?
    ...
  12. Replies
    1
    Views
    599

    Flash8 Quick question about depths...

    Hi,

    Can anyone tell me if and how it is possible to have a forground when using getNextHighestDepth?

    The problem i have is that unless the forground is the highest depth then anything else...
  13. Flash8 Help - shape hittesting with transparent png

    Hi,

    Can anyone help me with this.. im trying to do a shape hittest against a imported png with transparent areas..



    if (_root.circlePNG.hitTest(_root.square._x, _root.square._y, true)) {
    ...
  14. Replies
    4
    Views
    815

    Thanks guys, i ended up using the array method, i...

    Thanks guys, i ended up using the array method, i completely forgot i could do it as an array, but thanks koenahn for your loop method, i wrote it for future reference :)
  15. Replies
    4
    Views
    815

    Question about variable names...

    Hi

    Can anyone help me with this..


    textNumber = 0;
    text0 = "Sentance one";
    text1 = "Sentance two";
    text2 = "Sentance three";
    textX = text[+textNumber].toUpperCase();
  16. i just want it to act like a wall, so you can...

    i just want it to act like a wall, so you can move away from it but not through it.
  17. cant get this to work correctly, any help please?

    I cant get this moving background style hittest to work correctly, its kinda working but not correctly.

    I'll explain.. You can move the background using the left and right keys and move the...
  18. Replies
    17
    Views
    1,130

    any way to make it viewable for flash8?

    any way to make it viewable for flash8?
  19. Replies
    17
    Views
    1,130

    its saying 'unexpected file format' when i try to...

    its saying 'unexpected file format' when i try to open it.. are you running flash8 or cs3.. if its cs3 you will need to save it as flash8 so i can see it
  20. Replies
    17
    Views
    1,130

    attach your fla and i'll have a look

    attach your fla and i'll have a look
  21. Replies
    17
    Views
    1,130

    put this on your enemy and get rid of the line...

    put this on your enemy and get rid of the line
    attack = Math.round (Math.random ()*2)+0;


    onClipEvent(load){
    attack = random(3);
    }

    onClipEvent(enterFrame){
    _root.textbox.text =...
  22. Replies
    17
    Views
    1,130

    so you mean you never know what its going to do...

    so you mean you never know what its going to do despite the attack variable number
  23. Replies
    17
    Views
    1,130

    I have no idea what you mean.. do you mean even...

    I have no idea what you mean.. do you mean even though the value says 0 the enemy does both attack and defend?
  24. Replies
    17
    Views
    1,130

    try this onClipEvent(enterFrame){ if...

    try this


    onClipEvent(enterFrame){
    if (_root.attack == 0){
    _root.bad.gotoAndPlay(12);
    } else {
    _root.bad.play();
    }
    }
  25. Replies
    0
    Views
    382

    Flash8 Problem with rotational gravity

    Hi, can anyone help me with this..

    I have made a simple gravity function and it works ok, but i am wanting it to be able to rotate the walls/floor etc and it remain within the boundaries..

    At...
Results 1 to 25 of 37
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center