dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: stoc

Page 1 of 18 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Movie Clip Button

    by stoc
    Replies
    7
    Views
    411

    anything else diff. than 0 ,in this case, means...

    anything else diff. than 0 ,in this case, means true ...
    It works also with ... -1, -2345 , 1, 2, 33434 etc
  2. Also check if the flash isnt blocked to acces the...

    Also check if the flash isnt blocked to acces the internet ... in your firewall
  3. Replies
    1
    Views
    339

    I dont know what happends in your library , but...

    I dont know what happends in your library , but for sure is you disabled the first frame export ...those sumbosl are not loaded anynore hust if ..:

    I used to add those movieclips in an invisible...
  4. Replies
    2
    Views
    401

    Here is th code I changed - and it is works ok if...

    Here is th code I changed - and it is works ok if you put it in any movieclip

    What I did :

    I added a global variable in which I stored reference to current movieclip :
    _global.mc_root = this...
  5. Replies
    3
    Views
    488

    Stage.scaleMode = "noscale" Stage.align = "tl"...

    Stage.scaleMode = "noscale"
    Stage.align = "tl"
    stage_list_ = new Object()

    Stage.addListener(stage_list_)

    stage_list_.onResize = function(){
    _root.onEnterFrame = move_to_center
    }
  6. You can also use : Stage.align = "mc"; ///...

    You can also use :

    Stage.align = "mc"; /// middle -center
  7. Replies
    12
    Views
    1,587

    hey pastthepresent ... im almost sure low...

    hey pastthepresent ...


    im almost sure low cost contries ... are the base of the us ... but you are free to think what you want , no matter is true or not :>

    To be IN topic :
    rjbeals, I...
  8. Replies
    3
    Views
    361

    My suggestion is to use an interval function ,...

    My suggestion is to use an interval function , wich runs , to say ...every .5 sec and check/write in the database if the user (youll keep his id in flash after authentication) changed the frame(flash...
  9. Thread: XML Preloader

    by stoc
    Replies
    8
    Views
    880

    are you sure your xml file is correct formated?!...

    are you sure your xml file is correct formated?!

    is it contains

    <?xml version="1.0" encoding="iso-8859-1"?>

    !?

    As I remember I had this problem in the past, and Im not sure , but I think...
  10. Replies
    2
    Views
    517

    message = ( time>=8 && time

    message = ( time>=8 && time<=16 ) ? 'Im at the office' : 'I drink a beer at home'


    condition ? true : false
  11. Thread: xml search

    by stoc
    Replies
    4
    Views
    991

    XPath

    this can be also useful
    http://www.xfactorstudio.com/Actionscript/AS2/XPath/
  12. Replies
    2
    Views
    695

    XML file :

    XML file :

    <?xml version="1.0" encoding="iso-8859-1"?>
    <siteList>
    <site id="1">
    <name>Site Name1</name>
    <url>site url1</url>
    <desc>A brief description of the...
  13. Replies
    1
    Views
    991

    for sure you made smt wrong in your parsing code...

    for sure you made smt wrong in your parsing code !

    I used this script to read it ...and it worked :


    xml_ = new XML()
    xml_.ignoreWhite = true

    xml_.load("projects.xml")
  14. Replies
    2
    Views
    2,211

    instead of : xmlObject.onLoad() (wrong) use :...

    instead of :
    xmlObject.onLoad() (wrong)

    use :
    xmlObject.onLoad = function() (this is correct one )
  15. Thread: <childnode><br>

    by stoc
    Replies
    1
    Views
    964

    why you need this ? probably you parse that...

    why you need this ?

    probably you parse that xml obj ... so I cant understand why you need every node on separate line.

    If you need the < br > tag in a html text field, just use it in your xml...
  16. Replies
    5
    Views
    628

    I suggest you to use many xml files instead of 1....

    I suggest you to use many xml files instead of 1. I built few months ago an app in which I loaded around 3500 records with 20 fields each.
    The time for loading and parsing that file was around 10...
  17. Replies
    4
    Views
    2,886

    save your xml file as UTF-8

    save your xml file as UTF-8
  18. use it like this : variables = new...

    use it like this :



    variables = new LoadVars()

    variables.load("content.txt")

    variables.onData = function(txt){
    fruits = txt.split("|")
  19. Replies
    19
    Views
    1,046

    ofcourse because every time you reinit the...

    ofcourse because every time you reinit the text3.text and in "for in" function the array is followed from last element to first one ...

    So the solution is : instead of
    text3.text =...
  20. I think the shorter way is : function...

    I think the shorter way is :


    function strip_xml_newlines(str){
    new_str = str.split("\n").join("")
    new_str = new_str.split("\r").join("")
    return new_str
    }
  21. ignoreWhite

    did you used xmlObject.ignoreWhite = true ?

    Maybe if you post the files , I can help you more.
  22. Replies
    1
    Views
    439

    ..... function check_loaded(mc){ if...

    .....

    function check_loaded(mc){
    if (mc._width>0){ .. if width>0 for sure you have acces/control for width and h of the img
    trace (mc._width)
    proc = mc._width/mc._height
    max_width = 100 /// to...
  23. Replies
    2
    Views
    369

    sorry, i thought you used LoadVars obj... ...

    sorry, i thought you used LoadVars obj...

    this.worldpay_vars.getURL ("https://select.worldpay.com/wcc/purchase", "_blank", "POST");

    because of this , maybe is a proble in php file : try to...
  24. Replies
    2
    Views
    369

    this can be right solution : ...

    this can be right solution :


    this.worldpay_vars.name = "";
    this.worldpay_vars.address = "";
    this.worldpay_vars.business = "";
    this.worldpay_vars.postcode = "";
    this.worldpay_vars.email = "";...
  25. Thread: xml menulist help

    by stoc
    Replies
    1
    Views
    676

    var list:XML = new XML(); list.ignoreWhite =...

    var list:XML = new XML();
    list.ignoreWhite = true;
    list.load("channels.xml");
    list.onLoad = function(success) {
    myMenu = list.firstChild;
    var i:Number = 0;
    while (i<myMenu.childNodes.length)...
Results 1 to 25 of 428
Page 1 of 18 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center