A Flash Developer Resource Site

Search:

Type: Posts; User: a_modified_dog

Page 1 of 20 1 2 3 4

Search: Search took 0.61 seconds.

  1. Replies
    15
    Views
    6,208

    that would be the expected result on removing...

    that would be the expected result on removing that particular section of script.

    what the script does there is pull a random swf file out of the list of swf
    files that it loads from the xml file....
  2. Replies
    15
    Views
    6,208

    if you do not need a random movie to load on each...

    if you do not need a random movie to load on each visit, yes :)
  3. Replies
    15
    Views
    6,208

    open a new fla in the same folder as the test.xml...

    open a new fla in the same folder as the test.xml and swf files.

    copy/paste the above code into the Actions Panel, frame#1 of the main timeline.
  4. Replies
    15
    Views
    6,208

    for simplicity, output the xml file as -

    for simplicity, output the xml file as -

    <?xml version="1.0" encoding="iso-8859-1"?>
    <root>
    <node swf='1.swf' />
    <node swf='2.swf' />
    <node swf='3.swf' />
    <node swf='4.swf' />
    <node...
  5. Replies
    2
    Views
    743

    addItem requires a capital "I" alternate code...

    addItem requires a capital "I"

    alternate code (Flash 8, AS 2 componenet, instance name - yearCombo )


    yearArray = [];

    for (var n=1910;n!=2010;n++) yearArray.push({label:n});
    ...
  6. Replies
    1
    Views
    1,191

    send to php (using LoadVars - AS2) - ...

    send to php (using LoadVars - AS2) -

    myLoadVars = new LoadVars();
    myLoadVars.delete_path = "your.jpg";
    myLoadVars.sendAndLoad("your.php", myLoadVars, "POST");
    myLoadVars.onLoad = function(){...
  7. Replies
    3
    Views
    609

    add an image attribute to the XML -

    add an image attribute to the XML -
    <?xml version="1.0" encoding="iso-8859-1"?>
    <menu>
    <menu buttonName = "item 1" imgName="1.jpg"/>
    <menu buttonName = "item 2" imgName="2.jpg"/>
    <menu...
  8. Replies
    2
    Views
    644

    Flash8 use onEnterFrame to constantly poll the position...

    use onEnterFrame to constantly poll the position of the clip timeline.
    when clip._currentframe == clip.totalframes, end the onEnterFrame
    and navigate to your next frame
  9. Replies
    7
    Views
    1,022

    Here is a breakdown of your output - del_pic =...

    Here is a breakdown of your output -

    del_pic = _root.galpic;
    /members/1/images/31.jpg,/members/1/images/32.jpg,/members/1/images/33.png,/members/1/images/34.jpg,/members/1/images/35.png,...
  10. Replies
    7
    Views
    1,022

    so can you extend the output and show where the...

    so can you extend the output and show where the code falls down ..
    make del_pic a multiline textfield and --

    on (release) {
    del_pic = _root.galpic;
    tmp = _root.galpic.split(",");
    del_pic +=...
  11. Replies
    7
    Views
    1,022

    when you try - on(release){...

    when you try -


    on(release){
    trace(_root.galpic); // what is the output here ?
    }
  12. Replies
    8
    Views
    622

    could be your problem stems from i=1 when arrays...

    could be your problem stems from i=1
    when arrays always start from zero.

    does this method address your problem ?


    var bombs = 10;
    mainArray = new Array();

    for (var i=0; i!=10; i++) {
  13. Replies
    7
    Views
    1,022

    split to an array using the comma delimiter then...

    split to an array using the comma delimiter
    then split the array to separate the numbers -
    ...
  14. Replies
    1
    Views
    483

    where you are sending - ...

    where you are sending -

    http://www.domain.com/file.php?myVar=1
    try using -

    <object ...>
    <param name="movie"
    value="file.swf?myVar=<? echo $_GET['myVar']; ?>" >
    <embed...
  15. Thread: Problem

    by a_modified_dog
    Replies
    4
    Views
    485

    Flash8 defaultString = "http://www.example.com#"; ...

    defaultString = "http://www.example.com#";

    myButton.onRelease = function(){
    addString = myText.text;
    fullString = defaultString + addString;
    trace(fullString);
    getURL(fullString,...
  16. TextField onChanged handler

    make use of the TextField onChanged handler -

    dayNum.onChanged = function(){
    if(dayNum.text.length>1) Selection.setFocus("monthNum")
    };

    monthNum.onChanged = function(){...
  17. Thread: Problem

    by a_modified_dog
    Replies
    4
    Views
    485

    Flash8 // button, input textfield and code all on main...

    // button, input textfield and code all on main timeline

    defaultString = "http://www.example.com#";

    myButton.onRelease = function(){ // instance name of buttton
    addString = myText.text; //...
  18. CS3 just to be sure :) you have removed the comment...

    just to be sure :)
    you have removed the comment operator on the getURL line ??

    // getURL(param,"_blank");

    should be -
    getURL(param,"_blank");
  19. Replies
    5
    Views
    1,222

    seeing the images above, i used this code in a...

    seeing the images above, i used this code in a test file -

    btnArr = [btn1,btn2,btn33,btn56]; // note: button and clip instance
    clipArr = [clip1,clip2,clip33,clip56]; // names all end in numbers
    ...
  20. is it still failing in Opera ? try a google...

    is it still failing in Opera ?

    try a google search -- opera window focus
  21. Replies
    1
    Views
    646

    best method is to use Flash to communicate with...

    best method is to use Flash to communicate with an online database of users
    this way you can ensure unique username/passwords are used for login/register

    a good start would be -
    ...
  22. Replies
    5
    Views
    1,222

    Hi and welcome is this example any help to you...

    Hi and welcome

    is this example any help to you ? it is in AS2 (you haven't specified your version)


    cArr = [clip0, clip1, clip2]; // instance names of movieclips

    for(var a in...
  23. edit your html file to -

    edit your html file to -

    <body onLoad="window.document.${application}.focus();">
  24. CS3 force the server to send a fresh file by...

    force the server to send a fresh file by appending a timestamp -

    myMovie.loadMovie("http://www.nathanderksen.com/book/trailer.swf?timestamp="+new Date().getTime());
    Flash cannot clear your cache...
  25. Replies
    15
    Views
    6,208

    to be more specific in any answer i could give, i...

    to be more specific in any answer i could give, i would need
    to know which version of Flash that you are using and which
    version of ActionScript you are publishing with (AS2 or AS3)

    you also...
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