A Flash Developer Resource Site

Search:

Type: Posts; User: success 10

Search: Search took 0.02 seconds.

  1. OOP gives you structure on the basic level. If...

    OOP gives you structure on the basic level. If you build a symbol of a car, you would have a class for the wheels, which defines their rotation according to the speed for instance, and other effects...
  2. Replies
    4
    Views
    462

    Jili , you need to change your thinking about...

    Jili , you need to change your thinking about flash and do some homework. there is a movieClipLoader class that is where you can assign a single preloader to all your clips.
    There are many ways to...
  3. Replies
    1
    Views
    382

    add a mouse listener , and set a flag (a boolean...

    add a mouse listener , and set a flag (a boolean variable) , that is checked every time there is a click ('onCLick') . when true - there will be an action , when false it won't do anything . As...
  4. Replies
    4
    Views
    462

    You can either load the new mc into the same...

    You can either load the new mc into the same depth of the previous one (use getDepth() to find out the level) , this way the previous mc automatically unloads , or
    you can simply unload the...
  5. Thanks for your reply. I mean importing...

    Thanks for your reply.

    I mean importing SEVERAL classes into one class.

    if I use ' import ' in a class I get the message :
    Import statements are not allowed inside class or interface...
  6. How to call several classes within 1 class ?

    Hi !

    I'm trying to make several classes operate on the same MovieClip
    withing the same class . Something like :

    Class topClass {

    private var obj_color:Color
    private var...
  7. Replies
    1
    Views
    520

    LoadVars refresh

    I'm building a flash blog.
    I have a textBox . it displays a text file using loadVars.

    THE PROBLEM :
    After I update the text file (using PHP) , the LoadVars sends the old data (without my new...
  8. Thread: File I/O

    by success 10
    Replies
    11
    Views
    644

    To write to flash text file you need to have a...

    To write to flash text file you need to have a server - side language (php, asp etc.) that would do the actual writing. Flash itself cannot do it. Since you don't want to use the web you have 2...
  9. Replies
    5
    Views
    725

    Thanks a lot guys, it did the trick... ...

    Thanks a lot guys, it did the trick...

    General question :
    If anyone works in the industry (professional flash developer) -
    what is xml and flash mainly used for ?
  10. Replies
    5
    Views
    725

    how to extract nodeValue ?

    Hi !

    How can I access the data inside a tag ? I mean

    <year> 2006 </year>

    how can I extract the '2006' ? isn't it by

    xmlObj.firstChild.nodeValue ??
  11. Come on guys ... No experts out there ?

    Come on guys ... No experts out there ?
  12. Thanks for your reply. This game uses the...

    Thanks for your reply. This game uses the 'myGame' class as a general class for the whole game, and the 'ballClass' class for a ball MovieClip. I used the same name ('ball') since these are 2...
  13. Replies
    4
    Views
    371

    I take it that it just doesn't work... the...

    I take it that it just doesn't work... the problem might be in your _root.links - what is it ? a mc ? a variable ? you seem to confuse them and expecting a mc to behave like a var
  14. class SET function doesn't set - why ???

    Hi !
    I have no idea where I go wrong ... I already spent several hours on this ...

    I have a game class :

    class myGame {
    private var ball:ballClass;
    private var...
  15. Good idea ! I'll fiddle with the XML to see how...

    Good idea ! I'll fiddle with the XML to see how it works...
    Thanks
  16. Thanks maan ! Yeah, I was quite aware of these...

    Thanks maan !
    Yeah, I was quite aware of these options , I just wondered if there is a nice elegant way like passing vars or something like that from one HTML swf to another using flash variables...
  17. Replies
    3
    Views
    1,141

    using intervals

    or alternatively you can use a function that calls an interval after 5 seconds , so that instead of gotoAndPlay("done") you put
    myInterval = setInterval(myDelayFunction,5)

    and myDelayFunction...
  18. Thanks guys... good ideas, it's just that I have...

    Thanks guys... good ideas, it's just that I have some restrictions - the website needs to be search engine friendly so unfortunatelly I can't use frames...
    Could definately use the idea of opening...
  19. How to play MP3 cont. while changing HTMLs

    Hi !

    Question : Is there a way to make flash play an mp3 without stopping
    while changing HTML pages ?


    Details : I have a website with the same swf on every page ,
    and I want to play an...
  20. how to play sound loop while changing HTML

    Hi guys !

    I need to play the same sound loop in all my website pages.
    all my pages have the same swf .

    I only succeeded to play the MP3 in a single page - each time the user switches page...
Results 1 to 20 of 20




Click Here to Expand Forum to Full Width

HTML5 Development Center