dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: Embussy

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    700

    Thank you 5TonsOfFlax, getChildByName was what I...

    Thank you 5TonsOfFlax, getChildByName was what I needed
  2. Replies
    2
    Views
    700

    "text" + counter

    I am trying to use the code below to access buttons on the stage (btn1, btn2, btn3 etc).
    The trace returns the correct output ie. btn5 but I get an error when the tweener part of the code is added...
  3. Replies
    3
    Views
    3,437

    neznein9, Many thanks for your reply, I tried...

    neznein9, Many thanks for your reply, I tried using your code but I can't make it work.
    Could you tell me where I'm going wrong please?
    I have attached the test file as well but here is the code I...
  4. Replies
    3
    Views
    3,437

    TLF right to left text

    Hi, My flash files all import text from xml and now I need them to support Arabic text as well.
    I can get the Arabic text to work except for the direction from left-to-right to right-to-left without...
  5. Replies
    2
    Views
    2,168

    Thanks 5TonsOfFlax, I took your advice and...

    Thanks 5TonsOfFlax, I took your advice and simplified the code and can now trace the week number using this code.

    // NEW CODE
    var today = new Date();
    var firstOfTheYear = new...
  6. Replies
    2
    Views
    2,168

    Week of the year AS3, CS4

    I'm trying to use some code I found to tell me what week number of the year it is and use that number to load an xml.

    ie, const TEAMS_XML_URL:String = "week"+ what ever week number it is...
  7. Replies
    1
    Views
    862

    Load image using xml node + png

    Hi, I am trying to load an image using a node from xml, adding the prefix, and loading into my movie.

    This loads the text from the xml node ok
    driver1Txt.htmlText = xmlData.info[5].toString();
    ...
  8. Replies
    0
    Views
    742

    CS3 Sorted it don't bother reading

    Can anyone please tell me why car1.swf won't load into carMain that is inside teams_mc?

    var carLoader =new Loader();

    carLoader.load(new URLRequest("images/car1.swf"));...
  9. AS 2 Aaaaah!!! Loads the 2nd time round not 1st

    I really hope this makes sense I uploaded a stripped down version to http://www.baselinetestsite.com/new_otd/test.html to show what happens
    Basically I'm using an xml to load one of 4 xml's
    I'm...
  10. Replies
    2
    Views
    773

    Hi Cancerinform, Thank you so much for the code I...

    Hi Cancerinform, Thank you so much for the code I was quite a way off with the code I had. Yours is about a quarter of the size and beautifully simple. Thanks again
  11. Replies
    2
    Views
    773

    convert AS2 xml, css to AS3

    Hi I have been using AS2 and am trying to convert to AS3 but have hit a problem at the first hurdle. I've spent most of the day looking for examples and have found loads of info on loading xml and...
  12. Replies
    0
    Views
    464

    AS 2 Use xml to load another xml

    Hi I'm sure this is possible and probably very easy but I can't figure it out.
    I want to use one xml to load another xml
    My code loads GN00000.xml which is a list of other xml's in the same folder...
  13. Replies
    7
    Views
    698

    CS3 Hi gparis,I tried it but it doesn't work, any...

    Hi gparis,I tried it but it doesn't work, any idea why?

    for(h=0; h<Header_Data_xml.childNodes.length; h++)
    if(Header_Data_xml.childNodes[h].nodeName == "n_PhaseStatusCode")
    stage_status =...
  14. Replies
    3
    Views
    708

    CS3 Thanks gparis, That has posed another problem in...

    Thanks gparis, That has posed another problem in that the node will return Sections 1 to 22 depending on which xml gets loaded. Is there a way of stripping 'section' out of all of them or do i need...
  15. Replies
    7
    Views
    698

    CS3 Thanks gparis thats a great help, incidentally,...

    Thanks gparis thats a great help, incidentally, how would you do it without convert to string?
  16. Replies
    7
    Views
    698

    CS3 Would I have to do an 'if' for each number or is...

    Would I have to do an 'if' for each number or is there a way of saying all numbers from 8 to127
    if(stage_status.toString()=="8-127") {
  17. Replies
    7
    Views
    698

    CS3 Sorry, I didn't explain that very well. The...

    Sorry, I didn't explain that very well. The number comes from an xml node, the code is

    for(h=0; h<Header_Data_xml.childNodes.length; h++)
    if(Header_Data_xml.childNodes[h].nodeName ==...
  18. Replies
    3
    Views
    708

    CS3 Strip out part of node

    Hello, I'm struggling to strip out the word 'Section' from a text box that loads from xml.

    for(i=0; i<xmlNode.childNodes[1].childNodes[0].childNodes.length; i++)...
  19. Replies
    7
    Views
    698

    CS3 AS2 Node values vary

    Hi, The code below works but now I have the problem that the node value has three possible images to load. Numbers from:
    1-7 needs to load image1.png
    8-127 needs to load image2.png
    128-500 needs...
  20. Replies
    2
    Views
    708

    CS3 Thank you so much for your help its exactly what...

    Thank you so much for your help its exactly what I was looking achieve I really appreciate it.
    Embussy
  21. Replies
    2
    Views
    708

    CS3 AS2 Buttons in rollover movie problem

    This is probably very simple but I can't seem to work it out.
    I have a movie clip that sits at the bottom of my movie, when onRollOver over it slides up to reveal some buttons and when onRollOut it...
  22. Replies
    5
    Views
    573

    CS3 Brilliant!!!! Thank you

    Brilliant!!!! Thank you
  23. Replies
    5
    Views
    573

    CS3 Hi gparis, Thanks for your reply I attached a...

    Hi gparis,
    Thanks for your reply I attached a stripped down version of the file its only 20kb.
    The output panel doesn't say anything its completely blank. I know the xml loads as '1408' appears in...
  24. Replies
    5
    Views
    573

    CS3 'if' doesn't work but 'else' does

    Hi, I am trying to more between frames using the data returned from a node n_EventID in an xml, when the node returns "1408" I want to move to frame 1 but if it returns anything else I want to move...
  25. Replies
    1
    Views
    467

    CS3 Hide "Undefined"

    Hello, I have made it this far with much help and all was working well until the xml changed. Sometimes the c_Result node does not exist and my c_points text box returns 'undefined'. I have tried...
Results 1 to 25 of 70
Page 1 of 3 1 2 3




Click Here to Expand Forum to Full Width

HTML5 Development Center