A Flash Developer Resource Site

Search:

Type: Posts; User: Rob.Shelley

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Yes, you CDATA wrap the text you want in XML...

    Yes, you CDATA wrap the text you want in XML which is why I wanted to see a fuller example of the text string you're trying to bring in. For example:



    <data>
    <string><![CDATA[Some text you...
  2. Sounds like you need to CDATA wrap your string...

    Sounds like you need to CDATA wrap your string elements. Post up a decent chunk of your XML so people can evaluate your problem with a bit more useful data.
  3. Do you ever clear _root.myTimer? Might be that...

    Do you ever clear _root.myTimer? Might be that it's just maintaining multiple instances of the timer object each time you hit the frame again so you get multiple calls to wait().
  4. Replies
    5
    Views
    15,171

    Stop being popular and helpful ;)

    Stop being popular and helpful ;)
  5. It needs to be set as a 'graphic' with...

    It needs to be set as a 'graphic' with appropriate looping rather than a 'movieclip' on the main timeline. Movieclips only run their timelines when displayed in an interactive format i.e. a swf, they...
  6. AS 2 Here you go: _root.timerVal = 6000000;...

    Here you go:



    _root.timerVal = 6000000;
    _root.maxTime = 15000; // number of milliseconds required to count down in
    _root.decPerMS = _root.timerVal/_root.maxTime; // amount required to reduce...
  7. The external class file is compiled in to the...

    The external class file is compiled in to the swf, it does not need to sit next to it on the server.
  8. Replies
    1
    Views
    7,976

    Air if you want desktop and mobile support...

    Air if you want desktop and mobile support otherwise something like MDM Zinc will give you PC, OSX and (some) Linux support for a desktop app.
  9. Replies
    6
    Views
    1,846

    Flash8 Slightly different approach here: import...

    Slightly different approach here:


    import flash.display.BitmapData;

    // set the bViewWind boolean true to see a larger presentation of the
    // perlin noise bitmapData
    var bViewWind:Boolean =...
  10. Replies
    7
    Views
    1,563

    In answer to the original question, no you're...

    In answer to the original question, no you're probably not doing enough calls to Math.abs to make any noticeable different. Changing the loop value in the above tests to 300 sees traces in the 0-1ms...
  11. Replies
    7
    Views
    1,563

    I should've added that was CS3 to FP9 so maybe...

    I should've added that was CS3 to FP9 so maybe things have improved?
  12. Replies
    7
    Views
    1,563

    Hmmmm. var t:int = getTimer(); var...

    Hmmmm.


    var t:int = getTimer();
    var n:Number;
    var num:Number = -1.23456789;

    for (var i:uint=0;i<100000;i++){
    n = Math.abs(num);
    }
  13. Replies
    6
    Views
    1,109

    Dunno, seems to be shrinking in a pretty...

    Dunno, seems to be shrinking in a pretty concentric way. Somewhere in the code there's something that's messing with the x/y scale or the width and height, simple as that but I can't open the file so...
  14. MovieClip(getChildByName(e.target.name +...

    MovieClip(getChildByName(e.target.name + "H")).gotoAndStop(2);
  15. Use getChildByName e.g.: var mName:MovieClip =...

    Use getChildByName e.g.:

    var mName:MovieClip = this.getChildByName(e.target.name + "H");

    Cheers,
    Rob
  16. Replies
    9
    Views
    4,184

    Surely 'lunatic' is more appropriate than...

    Surely 'lunatic' is more appropriate than 'insane' ;) I wonder if Ming is up to something?
  17. Replies
    8
    Views
    2,523

    Better yes, but no need to reset loopCheck twice...

    Better yes, but no need to reset loopCheck twice in the if.

    my_var = true;
    loopCheck = true;

    onEnterFrame = function(){
    if(_root.loopCheck == true){
    _root.loopCheck = false;
    ...
  18. Replies
    8
    Views
    2,523

    Howabout adding a boolean check to make sure that...

    Howabout adding a boolean check to make sure that loadVariables isn't called on every enterframe, somewhat of an overkill there!
  19. Replies
    3
    Views
    16,826

    Nice, is it your own engine or something like...

    Nice, is it your own engine or something like Papervision? Only neg comment would be that the forward back motion seems slow compared to the left/right panning, just a personal opinion of course....
  20. Replies
    9
    Views
    8,186

    actionscript.org and kirupa will give you a...

    actionscript.org and kirupa will give you a broader audience.

    Is your solution actionscript based or is it preprocessing to create a sequence of morphing images? If the former people could well...
  21. Replies
    5
    Views
    8,199

    Hi, Check out the attachment. Look in the...

    Hi,

    Check out the attachment. Look in the mc_embedded_fonts movieclip in the library, you'll see the 4 weights as separate textfields. If you select one then click the 'Embed...' button in the...
  22. Replies
    5
    Views
    8,199

    If you're embedding your font, have you embedded...

    If you're embedding your font, have you embedded the bold, italic and bold-italic weights of the font too?

    Cheers,
    Rob
  23. Replies
    4
    Views
    8,488

    No. You'd need to convert the PDF to SWF using...

    No. You'd need to convert the PDF to SWF using something like swftools PDF2SWF. Or if you're working with InDesign CS4 or greater that can export multipage swfs with the God awful pageturn effect...
  24. Replies
    8
    Views
    2,849

    AS 2 If you're making an offline CD then you should...

    If you're making an offline CD then you should ideally be using something a bit more than a bog standard Flash projector, you may want to look at AIR or ZINC or some of the other swf2exe tools. I...
  25. Without starting from scratch again and including...

    Without starting from scratch again and including an alpha channel in your original video you might be able to get away with using the 'Lighten' blending mode because you got lucky and the background...
Results 1 to 25 of 37
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center