A Flash Developer Resource Site

Search:

Type: Posts; User: sstalder

Page 1 of 20 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    3
    Views
    560

    That pattern would match any string with a - in...

    That pattern would match any string with a - in it, no matter what the position. Doesn't appear to work in my tests but if it works for you then problem solved.
  2. Replies
    3
    Views
    560

    This should get you started. var str:String =...

    This should get you started.

    var str:String = "- My String, test test.";
    var re:RegExp = /^-\s?/;// Search for a string that starts with "-" or "- "

    // String before changes
    trace(str);

    //...
  3. You can reference it in the createInstant...

    You can reference it in the createInstant function as e.target, "e" being the MouseEvent parameter.
  4. I can't imagine just typing code would help you....

    I can't imagine just typing code would help you. Wouldn't you rather code something that has a purpose or meaning?

    It would be sort of like stripping the paint off a car and re-painting it... you...
  5. The way I am sending to the server.

    The way I am sending to the server.
  6. Opinions on the best way to send an image to a server (ASP.NET C#) and save it

    My process is the following...

    1) Send image from flash to server
    2) Server reads data from flash and sends proper headers for flash to pickup and read back into memory to save to local disk
    ...
  7. Replies
    5
    Views
    1,837

    The first problem I see is you are data-typing...

    The first problem I see is you are data-typing myCounter.text to a number then comparing it as a string (if number == string) which will always be false.

    Try: if(Number(myCounter.text) == 10)...
  8. Replies
    1
    Views
    548

    It really depends on the size of the SWF when...

    It really depends on the size of the SWF when it's all said and done. Anything under 1MB probably wouldn't be terrible but anything over then some users may see a while space there until it loads.
    ...
  9. Works fine for me as well. Windows / Chrome.

    Works fine for me as well. Windows / Chrome.
  10. Replies
    4
    Views
    1,895

    I have moved your thread to the scripting &...

    I have moved your thread to the scripting & backend area as this is not related to AS 3.0. Someone here should be able to assist.
  11. Replies
    4
    Views
    1,895

    As long as your server knows how to handle that...

    As long as your server knows how to handle that page then it should work.

    With that said is your URL rewrites setup properly in Apache / IIS?
  12. Replies
    4
    Views
    931

    There is no flash function that will pass data...

    There is no flash function that will pass data like that. The only thing I can think of is to send the data in a url parmeter (i.e. www.mysite.com/index.php?param1=test&param2=test2).

    Then you...
  13. Replies
    4
    Views
    931

    I don't know where you found that example but...

    I don't know where you found that example but there are so many errors :d

    Start out here: http://www.webdesignmo.com/blog/2008/08/14/flash-contact-form-in-actionscript-3/

    A more in depth...
  14. Replies
    5
    Views
    1,231

    Rule # 1: Don't use scenes, ever. Secondly is...

    Rule # 1: Don't use scenes, ever.

    Secondly is your FLA something you can post for us to investigate?
  15. Replies
    5
    Views
    1,231

    I would do it this method as I feel it's a more...

    I would do it this method as I feel it's a more proper use of events.

    stop();

    import flash.ui.ContextMenu;
    import flash.events.ProgressEvent;

    var loaded:Number;
    var percent:Number;
  16. Step one: Talk to your employer. Otherwise things...

    Step one: Talk to your employer. Otherwise things will just keep getting worse. You guys clearly need to get on the same page before things will improve.
  17. Replies
    4
    Views
    610

    To add onto neznein's comments... Once you are...

    To add onto neznein's comments...

    Once you are familiar with manipulating text fields and strings I suggest using TweenLite (google it) to perform your moving / tweening operations. They have a...
  18. Replies
    4
    Views
    610

    I would suggest checking out www.gotoandplay.com...

    I would suggest checking out www.gotoandplay.com and www.kirupa.com to learn the basics. Once you have a grasp on that then shoot for creating a simple game.
  19. Are you able to grab a predetermined length...

    Are you able to grab a predetermined length before this loop function is called? For example xml_object.length()?
  20. Replies
    7
    Views
    2,672

    Interesting. Good to know I suppose :) Glad you...

    Interesting. Good to know I suppose :) Glad you got it figured out!
  21. Replies
    7
    Views
    2,672

    Your code: ...

    Your code:

    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +...
  22. Replies
    7
    Views
    2,672

    Seems like it should work. How can you tell that...

    Seems like it should work. How can you tell that it's not? Clicks won't show up immediately on analytics. Have you checked lately if you are seeing any results?
  23. Replies
    1
    Views
    440

    navigateToURL(getnextpage5, "_self"); ...

    navigateToURL(getnextpage5, "_self");

    Reference here: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#navigateToURL()
  24. Oh wow - I fixed it! I have a friend named Justin...

    Oh wow - I fixed it! I have a friend named Justin Weeks and I must have just typed it without thinking :O
  25. Thanks Jonathon. It's awesome to see people from...

    Thanks Jonathon. It's awesome to see people from the community share such things!
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center