A Flash Developer Resource Site

Search:

Type: Posts; User: sphoenixee

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    557

    Sorry for not being clear, I meant displaying a...

    Sorry for not being clear, I meant displaying a formula. Though graphing would be nice. (So in reflection, I realize I mean both).

    Of course I can create a new bitmap and textfield. But can I...
  2. Replies
    4
    Views
    1,022

    thank you.

    thank you.
  3. Replies
    2
    Views
    557

    Math Pretty Print

    Say I want to print a summation or integral on the screen. Is there some kind of API I can use to do this? Or do I have to import images?

    Thanks.

    Shengzhi
  4. Replies
    4
    Views
    1,022

    Simplest way to draw a 3d line

    What is the simplest way to draw a 3d line? E.g. I want a vector from (0,0,0) to (50, 100, 50).

    Do I have to do it the old school way with maths or is there some new 3d drawing API? (I heard f10...
  5. Replies
    5
    Views
    691

    You're welcome.

    You're welcome.
  6. Replies
    5
    Views
    691

    Have you tried testing the movie in debug mode? ...

    Have you tried testing the movie in debug mode?

    Adobe says "When testing your movie with trace, no output is sent in the output panel. Use debug movie to view trace statements. "...
  7. Replies
    5
    Views
    691

    Which IDE are you using? I know in Flex...

    Which IDE are you using?

    I know in Flex Builder you have to run as debug to get trace out of anything (whereas in Flash IDE, you can trace normally, for Flash prgms at least).
  8. If it's something simple and you don't want to...

    If it's something simple and you don't want to handcode and don't want to download stuff, I recommend using the built in Tween class, fl.transitions.tween.Eg:

    import fl.transitions.Tween;
    ...
  9. If you cast parent as MovieClip it works. ...

    If you cast parent as MovieClip it works.

    namely, MovieClip(parent).gotoAndStop(frameNumber);

    Otherwise, the compiler will think parent is a DOC (even if it's actually a MovieClip)
  10. Replies
    3
    Views
    1,320

    The links don't work for me... I am guessing...

    The links don't work for me...

    I am guessing you are interested in something like TileList. You can see sample of that at http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html under...
  11. Replies
    2
    Views
    424

    Maybe something like this?...

    Maybe something like this? http://www.flashgallery.org/

    There are so many free flash galleries, I think it's a waste to spend money unless you are looking for super customized features.

    If you...
  12. Replies
    0
    Views
    1,963

    Using XML Dataprovider for DataGrid

    I am a bit lost on this...

    Am trying to use XML as dataProvider for datagrid.

    When I load the xml using HTTPService, it works as expected: the datagrid displays the child nodes of the...
  13. Replies
    6
    Views
    439

    You're welcome. Best of luck.

    You're welcome. Best of luck.
  14. Your row data field is a string, so you need to...

    Your row data field is a string, so you need to access it with the [] syntax:
    trace(event.currentTarget.selectedItem[rowDataField]);

    This method works for all objects in general...
  15. Replies
    7
    Views
    1,112

    Alternatively, you can use try/catch/finally if...

    Alternatively, you can use try/catch/finally if you wanted to do something with the error (though in this case, it appears the error will always be the same).
  16. Thread: File Upload

    by sphoenixee
    Replies
    3
    Views
    632

    Your code works for me after I change the PHP...

    Your code works for me after I change the PHP script to


    <?php
    move_uploaded_file($_FILES['Filedata']['tmp_name'], './'. time().$_FILES['Filedata']['name']);
    ?>
    You accidentally had an 'i'...
  17. Replies
    3
    Views
    957

    An alternative to doing the addItem loop is to...

    An alternative to doing the addItem loop is to write your XML differently. CB dataproviders have two properties, label and data. Label is what is displayed. Data is the data that corresponds to each...
  18. Replies
    6
    Views
    439

    One problem is how you're trying to access the...

    One problem is how you're trying to access the property:
    event.currentTarget.selectedItem.rowName

    rowName is a string, however, by writing it like you do, Flash will try to access a property of...
  19. Replies
    3
    Views
    535

    I think static text is saved as images so that...

    I think static text is saved as images so that you do not need to embed the font to get the look (albeit, the images aren't amazing quality).
  20. It doesn't need to be dynamic? For me, compile...

    It doesn't need to be dynamic?

    For me, compile time checking spits 1119 if it's not...
    1119: Access of possibly undefined property myVar through a reference with static type...
  21. Is it outputting any error messages? To me the...

    Is it outputting any error messages?

    To me the code looks fine....(but I'm pretty new at this too).

    Also, is this code on the main timeline on in a movie clip? If it's in a movieclip, then you...
  22. Replies
    1
    Views
    1,564

    I'm a bit confused by what you wrote with respect...

    I'm a bit confused by what you wrote with respect to question 1.

    Are you saying that strDBData is not tracing correctly?

    With regards to question 2,

    one way you could do this is
    1) add a...
  23. Thanks. To clear possible confusion, one has...

    Thanks.

    To clear possible confusion, one has to cast the parent object as dynamic, or this.parent.root.somevar does not work, in my experience at least.

    How would I access properties from a...
  24. Can a loaded swf access properties and methods of the swf that loaded it?

    Question in title.

    Basically, I have a swf, call it 'main.swf'. 'main.swf' will load 'module.swf' using a Loader. I can access 'module.swf' using loader.content from 'main.swf' (assuming my Loader...
  25. Replies
    3
    Views
    436

    None of your other event listener functions...

    None of your other event listener functions account for frame 1205. E.g. onButtonClickNextPub does not account for 1205 in its switch statement.

    So, the functions might be running, but the there...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center