dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: hts5000

Page 1 of 7 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    587

    Try this: var countDownTime:Number = 10;...

    Try this:


    var countDownTime:Number = 10;
    var startTimeUTC:Number = getTimer()/1000;
    trace(startTimeUTC);
    timeText.text = String(countDownTime);
    btn1.onPress = function() {
    var...
  2. Replies
    4
    Views
    1,376

    All you need to do is dynamically create the...

    All you need to do is dynamically create the name. Like this:


    _root["button_"+myArray[0]]._x = 100.0;
    _root["image_"+myArray[0]]._x = 100.0;
    _root["sound_"+myArray[0]]._x = 100.0;
  3. Replies
    0
    Views
    1,232

    AS2 Pre Selecting a List Component

    I have a list component that I would like to pre select the first option. Does anyone know how to do this? Any help would be greatly appreciated.
  4. Replies
    3
    Views
    2,013

    AS 2 newDepth = 2;...

    newDepth = 2;
    movieClipTitle.swapDepths(newDepth);


    If you just want the clip you are dragging to be on top of the hittest mc you can simply use the mc name you are using for the hit test in...
  5. Thanks Whispers for the great information. I will...

    Thanks Whispers for the great information. I will look into that.
  6. Thanks Whispers for your reply. Unfortunately...

    Thanks Whispers for your reply. Unfortunately even if I did post the correct link you would not have been able to open it as its an internal address only.

    So just to be clear when it does and...
  7. (AS2) - Loading a SharePoint XML data into flash

    I was hoping someone could help me out here. I am trying to read XML data from a SharePoint site. The issue I am having is that the flash project works just fine when I preview the swf in flash,...
  8. Replies
    3
    Views
    2,534

    It sounds like you are not retrieving an actual...

    It sounds like you are not retrieving an actual value for pointtotal. Try this:


    onClipEvent(load){
    trace("pointtotal = "+pointtotal);
    var finalpoints = int(pointtotal);
    score = finalpoints *...
  9. Replies
    2
    Views
    390

    Flash8 In stead of loading the data into variable, try...

    In stead of loading the data into variable, try loading them into an array.
  10. Replies
    4
    Views
    670

    Without seeing all of the code it may have...

    Without seeing all of the code it may have something to do with where the if statement is and if something else is telling it to go to frame 2.

    Try writing the if statement like this:

    stop();...
  11. Replies
    4
    Views
    670

    try putting trace(_root.image2) just before the...

    try putting trace(_root.image2) just before the if statement. This will at least tell you what _root.image2 equals before the if statement is run.

    I have a feeling it will come back undefined and...
  12. Replies
    1
    Views
    627

    _root.p1 = 1; “_root” = This references the...

    _root.p1 = 1;

    “_root” = This references the main timeline
    “p1” = This is a variable on the main timeline
    “= 1” = This tells that variable to equal 1

    pages.gotoAndStop(_root.p);

    “pages” =...
  13. Replies
    2
    Views
    651

    That code seems to work fine for me. Try starting...

    That code seems to work fine for me. Try starting a new file altogether with just a button and the .mp3. This way you can tell if its the code (which i don't think it is), or something else.
  14. Replies
    2
    Views
    664

    If using AS2: onClipEvent (load) {...

    If using AS2:



    onClipEvent (load) {
    if(_root.mc1._visible == true && _root.mc2._visible == true){
    _root.mc3._visible = true;
    } else {
    _root.mc3._visible = false;
    }
  15. Replies
    4
    Views
    629

    If you are using AS2 this page helped me out. ...

    If you are using AS2 this page helped me out.

    http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003504.html

    If I was to guess...
  16. Replies
    6
    Views
    692

    You can definitely save your flash file as an...

    You can definitely save your flash file as an exe. Simply go File > Publish Settings > Put a check next to "Windows Projector (.exe) > Click the Publish button at the bottom. Hope this helps.
  17. Not sure what version of flash you are using, but...

    Not sure what version of flash you are using, but if its AS2 code this should work.....



    on(release){
    if (inputTextFieldName.text == "earth"){
    gotoAndStop(2);
    } else {
    gotoAndStop(3);
    }
  18. Replies
    7
    Views
    772

    CS3 Ah, there were several things going on here. You...

    Ah, there were several things going on here. You did not give any of the input or dynamic text fields names....you gave them variable names (not the same thing). Also, I am not sure what is going on...
  19. Replies
    7
    Views
    772

    CS3 Seems to work for me. I have attached a test fla...

    Seems to work for me. I have attached a test fla that may help you.
  20. Replies
    7
    Views
    772

    CS3 It looks like you were referencing the input...

    It looks like you were referencing the input fields but you weren't referencing a specific aspect of the input fields. Try this:



    on (release) {
    typetotal = Number(typenumber.text)*12;...
  21. Replies
    2
    Views
    813

    Thanks, I think I get what you are doing. So...

    Thanks, I think I get what you are doing.

    So all I need to do is figure out where I want the text to start wrapping and change this, right?

    _txt.width = (i * 50) + 50;
  22. Replies
    2
    Views
    813

    (AS2) Dynamically sized movie clip?

    Does anyone know if it is possible to dynamically add a movie clip to the stage with text and have the size of the movie clip dynamically generated by the amount of text?

    In other words I am...
  23. Replies
    5
    Views
    1,278

    I have never accessed the web cam before but...

    I have never accessed the web cam before but maybe you could simply create a movie clip with that code? That way you can load and unload the movie clip to start and stop the cam?
  24. Replies
    5
    Views
    1,434

    Thanks mneil, it seems to work now. Quite...

    Thanks mneil, it seems to work now. Quite honestly I was only copy and pasting the code from that tutorial (not that the code I was working before was any better).

    Having said that I wasn't even...
  25. Replies
    5
    Views
    1,434

    Thanks mneil for posting that link. However, I...

    Thanks mneil for posting that link. However, I did try that and I am still running into issues. I read the entire article and using their method the program is still freezing. I posted a test fla and...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center