dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Dunc

Page 1 of 11 1 2 3 4

Search: Search took 0.36 seconds.

  1. Replies
    4
    Views
    1,087

    Hi, Sephiroth has a drag and drop tree which i...

    Hi,

    Sephiroth has a drag and drop tree which i believe is a cell renderer for the list component and since the datagrid inherits from the list class you might be able to port it somehow, other...
  2. Replies
    5
    Views
    462

    Yea that's a little annoying, try grabbing the...

    Yea that's a little annoying, try grabbing the textfield.textHeight of each text field in your loop after you set the text, you'll probably need to set a buffer of 5 pixels or something inbetween...
  3. Replies
    2
    Views
    341

    Hi, There is nothing natively that will allow...

    Hi,

    There is nothing natively that will allow you to do this in flash. But you can kind of pre-process (proper term?) your string within a dummy textfield offstage which has the same width / font...
  4. Replies
    2
    Views
    530

    Hi, That works for me, are you sure you have...

    Hi,

    That works for me, are you sure you have those 4 items in your library with linkageID's and set to export for actionscript and on the first frame?

    Dunc
  5. Replies
    1
    Views
    291

    Hi, The Tree extends the List class so where...

    Hi,

    The Tree extends the List class so where you have "selectedNode" it should be "selectedItem". You won't see selectedItem under the Tree help but if you pull up "List" in the help files you'll...
  6. Replies
    1
    Views
    287

    Hi, might be the casing on your getLocal call...

    Hi,

    might be the casing on your getLocal call to the so?

    sharedobject.getLocal("saved_info");

    should be:

    SharedObject.getLocal("saved_info");
  7. Replies
    1
    Views
    598

    Hi, that looks good to me, i just made a quick...

    Hi,

    that looks good to me, i just made a quick test and got it to work, how are you creating the textfield?



    this.createTextField("stuff", this.getNextHighestDepth(), 100, 100, 50, 50);...
  8. Thread: Listener question

    by Dunc
    Replies
    2
    Views
    328

    Hey, Depending on the situation, using...

    Hey,

    Depending on the situation, using listeners might not be the best approach but since you really just kinda want to learn about them then why not, it's a good place to start..

    I'm not sure...
  9. Thread: Button Class

    by Dunc
    Replies
    6
    Views
    506

    Hi, I think maybe the simplest way to do it,...

    Hi,

    I think maybe the simplest way to do it, although i'm not certain it is the best way, would be to create a static variable which houses the currently selected clip and maybe combine some of...
  10. Replies
    3
    Views
    645

    Hi, This might get you started... "ball"...

    Hi,

    This might get you started...
    "ball" symbol in library, linkageID = "ball"


    function distributeRadial(circCount:Number, radius:Number):Void {
    var increment:Number = 360/circCount;
    for...
  11. Thread: Scale Textbox

    by Dunc
    Replies
    1
    Views
    294

    Hi Jason, I may not be following but something...

    Hi Jason,

    I may not be following but something like this will create a textfield, set the autoSize prop to true, fill it and it will be 1 line of text...



    this.createTextField("test", 5, 0,...
  12. Replies
    6
    Views
    675

    looks like it's a problem with the onload...

    looks like it's a problem with the onload handler. to be honest i don't know why it would work in IE and not firefox. but if you dump this.onLoad and just call the propagate function it will work...
  13. there shouldn't be any special parsing, although...

    there shouldn't be any special parsing, although you may need to url encode some things for special characters like ™ ® © and so forth, i can't be 100% on that though as it's been a while and i...
  14. Replies
    6
    Views
    675

    Hi Bryan, I've never seen this problem. Is...

    Hi Bryan,

    I've never seen this problem. Is this mac or pc? Are there spaces in the file names of the images? Do you have an example for us to try online so we can replicate it and rule out the...
  15. Hi Zeusbwr, what NTD said should do pretty...

    Hi Zeusbwr,

    what NTD said should do pretty much what you need, but in your case it would look like:



    var str = "here is a link (,)href='http://www.flashkit.com'>flashkit(,)/a>";
    var stuff =...
  16. Replies
    1
    Views
    341

    Hi, you might have better luck over here: ...

    Hi,

    you might have better luck over here:

    http://www.flashcomguru.com/

    Dunc
  17. Replies
    2
    Views
    268

    Hey Hector, try: myCombo.removeAll(); do...

    Hey Hector,

    try:

    myCombo.removeAll();

    do a search in the help files for ComboBox and it will show you all the methods you can use..

    hope this helps some,
    Dunc
  18. Replies
    1
    Views
    2,894

    Hi, there's an article at flash-db that goes...

    Hi,

    there's an article at flash-db that goes over setting up an app using the data binding components, although they are using AMFPHP for remoting I would imagine the flash portion will be...
  19. Replies
    3
    Views
    496

    Hi, I'm not quite sure i understand the random...

    Hi,

    I'm not quite sure i understand the random part of the question, but this will build out a grid based on row / column amount. Movieclip in library has a linkageID of "box"... Might be of...
  20. Replies
    5
    Views
    462

    Hi, I think your problem may stem from the...

    Hi,

    I think your problem may stem from the fact that the information your loading into your field from the textfile has not loaded prior to setting the height of the bounding box for the field.
    ...
  21. Replies
    1
    Views
    353

    Hi, there are a couple things you can do, one...

    Hi,

    there are a couple things you can do, one would be to create a directory structure in the same level as your fla that looks something like:
    com/bdontwerp/ with the SuperFades.as file in the...
  22. Replies
    3
    Views
    396

    ok, yea this is a little strange and i'm not sure...

    ok, yea this is a little strange and i'm not sure exactly why the onSoundComplete won't fire when you create the sound within the switch statement. If you move the the variable declaration of...
  23. Replies
    3
    Views
    396

    Hi, try creating an empty clip for each sound...

    Hi,

    try creating an empty clip for each sound object and attaching the sound object to each clip at instantiation something like:




    case "intro":
    this.createEmptyMovieClip("introSound",...
  24. Replies
    3
    Views
    414

    Hi Hector, would something like this do the...

    Hi Hector,

    would something like this do the trick?




    function roundDec(num:Number, places:Number):Number{
    var power = Math.pow(10, places);
    var tempNum:Number = Math.round(num * power)...
  25. Replies
    5
    Views
    521

    strange indeed, to be honest i use amfphp for...

    strange indeed, to be honest i use amfphp for remoting quite frequently and have never had any problems with mo based browsers. I also don't use the components either as they seem to add a few extra...
Results 1 to 25 of 252
Page 1 of 11 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center