dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: hamzaf

Page 1 of 14 1 2 3 4

Search: Search took 0.44 seconds.

  1. Replies
    0
    Views
    358

    flash remoting for .NET

    Hello,
    I'm developing a project using the .NET Flash Remoting technology.
    The project was working fine on localhost, but when I uploaded to the host server, it failed to work. When I try to connect...
  2. Replies
    2
    Views
    406

    just create a variable, and each time you create...

    just create a variable, and each time you create a new textfield, increment this variable, and use it for the depth:



    var depth = 0;

    function createField(tfname) {
    depth++;...
  3. Thread: TextFormat ?

    by hamzaf
    Replies
    1
    Views
    315

    no need for TextFormat: ...

    no need for TextFormat:



    myTextField.onChanged = function() {
    this.text = this.text.toUpperCase();
    }


    cheers.
  4. Replies
    1
    Views
    279

    there's a new method in flash mx called...

    there's a new method in flash mx called getDepth():

    var d = myMc.getDepth();

    regards,
    Hamza.
  5. Replies
    1
    Views
    308

    // pick a number randomly ran =...

    // pick a number randomly
    ran = Math.floor(Math.random()*200);

    // get the ASCII character
    char = String.fromCharCode(ran);


    arrange the number 200 so that the ascii character of the random...
  6. Replies
    7
    Views
    620

    hi, can you please tell me what do you get when...

    hi,
    can you please tell me what do you get when testing this:



    for(var i=0; i<oItems_xml.length; i++) {
    trace(oItems_xml[i].childNodes);
    trace(oItems_xml[i].firstChild);
    }
  7. Replies
    7
    Views
    620

    just a notice.. if you're using flash mx, you...

    just a notice.. if you're using flash mx, you can't use
    eval("oItem"+i+"Frames_xml") = oItems_xml[i].childNodes;
    you must use instead
    this["oItem"+i+"Frames_xml"] = oItems_xml[i].childNodes;...
  8. Replies
    4
    Views
    525

    Hi, you have to put all the parameters between...

    Hi,
    you have to put all the parameters between parentheses:



    function func1(a,b,c) {
    trace("a: " + a);
    trace("b: " + b);
    trace("c: " + c);
    }
  9. Thread: textfield alpha

    by hamzaf
    Replies
    5
    Views
    510

    in fact, the text disappears, because you hadn't...

    in fact, the text disappears, because you hadn't put your font in the library. here are the steps to put your font in the library:

    1. open the library
    2. click on the top-right corner button, and...
  10. Thread: textfield alpha

    by hamzaf
    Replies
    5
    Views
    510

    if you used embedFonts = true, you must put the...

    if you used embedFonts = true, you must put the font in your library..
    if this doesn't work, can you provide us with a sample .fla file?

    Kind Regards,
    Hamza.
  11. Thread: textfield alpha

    by hamzaf
    Replies
    5
    Views
    510

    you must embed the textfield's font outline to...

    you must embed the textfield's font outline to use _alpha

    txtfield.embedFonts = true;
    or
    in the properties panel, click on Character..., select All characters

    Cheers.
    Hamza.
  12. Replies
    1
    Views
    419

    go to Help > Using Flash in the left frame...

    go to Help &gt; Using Flash
    in the left frame (menu), click on Using Flash. Scroll down to where it says Keyboard Keys and Key Code Values, click on that.

    Hope that helps :)
    Regards,
    Hamza.
  13. Replies
    2
    Views
    443

    If you have 100 buttons: for(var i=0;...

    If you have 100 buttons:



    for(var i=0; i<100; i++) {
    this["button"+i].onRelease = function() {
    this.gotoAndStop(("frame"+i));
    }
    }
  14. Replies
    5
    Views
    496

    Do you want that each movieclip go to and play a...

    Do you want that each movieclip go to and play a random frame?



    myMC.gotoAndPlay(Math.floor(Math.random() * myMC._totalframes));


    regards,
    Hamza.
  15. Thread: ooP source code

    by hamzaf
    Replies
    3
    Views
    446

    cool game senocular! :cool: specially that it's...

    cool game senocular! :cool:
    specially that it's only made using the drawing API!

    cheers.
    Hamza.
  16. Thread: ooP source code

    by hamzaf
    Replies
    3
    Views
    446

    check out this page:...

    check out this page:
    http://www.debreuil.com/docs/

    hope this helps.
    Hamza.
  17. Replies
    1
    Views
    375

    _global.myVariable = "anything"; regards,...

    _global.myVariable = "anything";


    regards,
    Hamza.
  18. Replies
    4
    Views
    378

    you must put the mcs between double quotations: ...

    you must put the mcs between double quotations:



    on (release) {
    malogo.attachMovie("contax","contax1",2);
    }


    regards,
  19. Replies
    4
    Views
    378

    try to look in the actionscript dictionary.. ...

    try to look in the actionscript dictionary..

    regards,
    Hamza.
  20. Replies
    1
    Views
    345

    hi, you could try to hide the current mc and...

    hi,
    you could try to hide the current mc and show the new mc..
    so, at the beginning,

    mc1._visible = true;
    mc2._visible = false;

    when mc1 is pressed,

    mc1._visible = false;
  21. Replies
    1
    Views
    354

    _parent.nextFrame(); regards, Hamza.

    _parent.nextFrame();


    regards,
    Hamza.
  22. Replies
    1
    Views
    473

    try to use SciTE|Flash:...

    try to use SciTE|Flash:
    http://www.bomberstudios.com/sciteflash/

    regards,
    Hamza.
  23. Replies
    1
    Views
    326

    "%" is an operator that gives the rest of the...

    "%" is an operator that gives the rest of the division.
    10%3 = 1
    6%2 = 0
    8%3 = 2
    if you want to check if a number is even, you'll see whether n%2=0

    to call the event_genre_i variable that is...
  24. Replies
    1
    Views
    381

    no, you can't, but you can detect the user's...

    no, you can't, but you can detect the user's screen resolution using

    System.capabilities.screenResolutionX
    System.capabilities.screenResolutionY

    regards,
    Hamza.
  25. Replies
    2
    Views
    1,253

    you'll have to set the scale of clipB according...

    you'll have to set the scale of clipB according to the scale of clipA..
    so if clipA's scale is 200, clipB's scale should be 50..
    if clipA's scale is 1000, clipB's scale should be 10..

    hope this...
Results 1 to 25 of 332
Page 1 of 14 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center