dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: ZeroIQ

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    2
    Views
    659

    In Flash 5 it lokks like this: mouseX =...

    In Flash 5 it lokks like this:




    mouseX = _root._xmouse; // X coord. in _root
    mouseY = _root._ymouse; // Y coord. in _root
  2. Replies
    2
    Views
    414

    Try use this in first frame (for example): ...

    Try use this in first frame (for example):

    fscommand("allowscale", false);

    ZeroIQ
  3. Replies
    4
    Views
    500

    The easiest way to do this is define the variable...

    The easiest way to do this is define the variable in the root and use it in the child movie, and then pass it to the PHP file (by using loadVariables action)... (sorry, but i'm very busy right now...
  4. Replies
    4
    Views
    500

    The easiest way to do this is define the variable...

    The easiest way to do this is define the variable in the root and use it in the child movie, and then pass it to the PHP file (by using loadVariables action)... (sorry, but i'm very busy right now...
  5. Maybe this... according to Your example: ...

    Maybe this...
    according to Your example:


    onClipEvent (keyDown) {
    if (circle.hitTest(square) && Key.isDown(Key.SPACE)){
    gotoAndPlay(frame_number);
    }
    }
  6. Replies
    1
    Views
    340

    There are two methods (or more): 1. But this...

    There are two methods (or more):

    1. But this also hides parent clip:


    onClipEvent (load) {
    this._visible=0;
    }
  7. Replies
    1
    Views
    500

    You can use this function: function...

    You can use this function:



    function RemoveAllMC(){
    for (thisClip in _root){
    if (typeof(_root[thisClip]) == "movieclip"){
    _root[thisClip].removeMovieClip();
    }
    }
  8. Go to the movies section in this site, and then...

    Go to the movies section in this site, and then to the games sections... There is everything... :D

    ZeroIQ
  9. Replies
    4
    Views
    523

    Place this code in every button action: ...

    Place this code in every button action:


    on(release){
    _root.movie1._width=... ;// or movie1._xscale=...
    _root.movie1._height=... ;// or movie1._yscale=...
    _root.movie1.gotoAndPlay(...);
    ...
  10. Replies
    4
    Views
    466

    You don`t have to use getURL(); Take a look at...

    You don`t have to use getURL();
    Take a look at this fla:


    http://www.kki.net.pl/~zeroiq/text1.zip

    See Ya

    ZeroIQ
  11. Replies
    4
    Views
    523

    1 Question: One way to do this is: In the...

    1 Question:

    One way to do this is:

    In the movieclip, (if it isn`t a movieclip, then convert it) with numbers button make 2 key frames. In first keyframe
    make buttons inactive (for example by...
  12. Replies
    4
    Views
    466

    Here are some possible solutions to your...

    Here are some possible solutions to your problem...

    Load text from txt file using :


    loadVariablesNum("text1.txt",0);
    if (_root.done==1){
    scroll_text=_root.loaded_text1;
    } else {
    ...
  13. Make this input field a movie clip, and add this...

    Make this input field a movie clip, and add this action



    onClipEvent (keyDown) {
    if (Key.isDown(Key.ENTER)){
    ......... // some action
    }
    }
  14. Replies
    4
    Views
    527

    You only have to change this line:

    You only have to change this line:


    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/
    flash/swflash.cab#version=5,0,0,0"...
  15. Replies
    2
    Views
    432

    You can use JavaScript in this way: In HTML...

    You can use JavaScript in this way:

    In HTML where swf is embedded, write java script function:


    <HTML>
    <HEAD>
    <TITLE>Test</TITLE>
    <script language="JavaScript">
    <!--
  16. Replies
    2
    Views
    433

    Check this out: bit_rate = bps/1024; ...

    Check this out:



    bit_rate = bps/1024;
    temp=String(bit_rate);
    // +3 means two digits after 0
    bit_rateKbs=temp.substr(0,temp.indexOf(".")+3) add " Kb/s";
  17. Replies
    4
    Views
    527

    Prepare yourself: Here is the code of HTML &...

    Prepare yourself:

    Here is the code of HTML & JavaScript:


    <HTML>
    <HEAD>
    <TITLE>Test</TITLE>
    <script language="JavaScript">
    <!--
  18. Replies
    1
    Views
    368

    Here You have something... action for button:...

    Here You have something...

    action for button:


    on (release){
    if (counter<0){ // variable defined in _root (var counter=start_value)
    _root.count=0; // count - dynamic text field var
    }...
  19. Replies
    1
    Views
    330

    Hmm... I don`t know the algorythm which Use...

    Hmm...

    I don`t know the algorythm which Use use for lucky number, but here some clues:

    On the stage place:

    for every title (age, month, day,result) Static Text field...
    for input place...
  20. Replies
    1
    Views
    274

    First: if you are loading movie to level0 (but...

    First:

    if you are loading movie to level0 (but it`s better to load to higher levels i.e. level2), so use this action:

    _level0.gotoAndPlay(frame);

    if level1:

    _level1.gotoAndPlay(frame);
  21. Replies
    2
    Views
    429

    You are quite right with the names, and here is a...

    You are quite right with the names, and here is a little explanation about DEPTH (it`s similar to z-index in DHTML):

    The depth level is the stacking order that determines how movie clips and...
  22. Replies
    2
    Views
    390

    This kinda tricky way to do this... Make a blank...

    This kinda tricky way to do this...
    Make a blank frame (I mean empty) with action stop() in your rolly, name frame "hide_cur" (just for hiding the dragged clip) and then...
    Place this script in...
  23. Replies
    1
    Views
    475

    Maybe You can try: ...

    Maybe You can try:



    variable=parseInt(Access_variable); // for the first time


    If not, then I don´t know...

    ZeroIQ
  24. Replies
    1
    Views
    319

    I don`t know what You mean by "open", but...

    I don`t know what You mean by "open",
    but setting _x, _y should be OK.
  25. Replies
    1
    Views
    355

    Maybe You can try this: if...

    Maybe You can try this:



    if (test.length==0){
    ....
    }


    ZeroIQ
Results 1 to 25 of 44
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center