A Flash Developer Resource Site

Search:

Type: Posts; User: dt1972

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    354

    Okay, I've got some code that works but does...

    Okay, I've got some code that works but does anyone know a slicker way of doing the job?...

    varReceiver = new LoadVars();
    myArray2 = new Array();
    varReceiver.load("c:\\external.txt");...
  2. Replies
    1
    Views
    354

    loadVars() into array element field

    Now I know I can load data into an array quite easily using this code:

    varReceiver = new LoadVars();
    varReceiver.load("c:\\external.txt");
    varReceiver.onLoad = function(){
    this.myArray =...
  3. Replies
    0
    Views
    271

    load XML doesn't work on scene 2

    Hi all.
    Can anyone explain why loading an XML file doesn't work when it is on scene 2?

    If I have the code on scene 1, it works fine but when I switch it to scene 2 the load just fails.

    On...
  4. Replies
    3
    Views
    318

    Thanks guys but I've sorted it: text = new...

    Thanks guys but I've sorted it:

    text = new XML();
    text.load("C:\\testtext.txt");
    text.onData = function(txt) {
    trace(txt);
    }

    Apparently using onData causes Flash to do no formatting or...
  5. Replies
    1
    Views
    287

    Thanks guys but I've sorted it: text = new...

    Thanks guys but I've sorted it:

    text = new XML();
    text.load("C:\\testtext.txt");
    text.onData = function(txt) {
    trace(txt);
    }

    Apparently using onData causes Flash to do no formatting or...
  6. Replies
    1
    Views
    287

    BIG problem with loadVars()

    Hi all.
    I want to read a text file into Flash (I'm using MX). The file is just plain text with no variable names.
    I thought I'd use loadVars() to do this which worked well until a line in the text...
  7. Replies
    3
    Views
    318

    BIG problem with loadVars()

    Hi all.
    I want to read a text file into flash. The file is just plain text with no variable names.
    I thought I'd use loadVars() to do this which worked well until a line in the text file contined...
  8. Replies
    0
    Views
    306

    substringing really slow!

    Hi.
    I am having a problem using substring and am wondering if anyone can help.
    I have a single frame movie with the following script:


    text = new LoadVars();
    text.load("C:\\readme.txt");...
  9. Replies
    1
    Views
    1,751

    Reference movieclip inside button

    Hi.
    Can anyone tell me how to reference a movieclip that I have attached to the rollover frame of a button?

    I have a button named 'info' on the main timeline.
    On the rollover frame of the...
  10. Thread: Scroller

    by dt1972
    Replies
    1
    Views
    447

    If the scroller is a movieclip on the main stage,...

    If the scroller is a movieclip on the main stage, I think you have to take into account the offset when you are working out your y coordinates.

    So, if the movieclip starts a y position 100 on the...
  11. Replies
    1
    Views
    257

    Refreshing the screen while in a loop

    Hi.
    I've tried to crack this myself, but am getting nowhere.
    I've been through all the previous posts and think the answer lies with updateAfterEvent but can't get it to work.

    My problem is that...
  12. Replies
    3
    Views
    490

    Thanks a lot mate, that works perfectly. Just...

    Thanks a lot mate, that works perfectly.

    Just 1 question - why do you have to add those numbers. What relevance do they have?

    Actually, I have just thought of another one - is there an easy...
  13. Replies
    3
    Views
    490

    attachMovie and hitTest

    Hi guys.
    I'm trying to figure out how to use hitTest on a movieclip that is created using attachMovie.

    Here's what I have got:

    A movieclip called 'Background' on the main timeline....
  14. Replies
    0
    Views
    420

    attachMovie hitTest

    Hi guys.
    I'm trying to figure out how to use hitTest on a movieclip that is created using attachMovie.

    Here's what I have got:

    A movieclip called 'Map' on the main timeline.
    'Map' is built up...
  15. Replies
    2
    Views
    1,406

    Reset movieclip scale

    Hi.
    I am wondering if there is a way to reset the scale of a movieclip once it has been scaled up.

    Here's what I have:
    I have a movieclip (clipA) on the main timeline that I scale up 1000% using...
  16. Replies
    6
    Views
    678

    I think globalToLocal is what I need, but it...

    I think globalToLocal is what I need, but it doesn't seem to be accurate enough.

    Here's the code I have on my main timeline:

    point = new object();
    point.x = HousePosX;
    point.y = HousePosY;...
  17. Replies
    6
    Views
    678

    Thanks again tyard, attachMovie works a treat. I...

    Thanks again tyard, attachMovie works a treat.
    I just have one more problem.
    By the time I place the house on the map, the map has been zoomed, so when the house appears, it is far too big. I've...
  18. Replies
    6
    Views
    678

    Hi tyard and thanks for the suggestion. It...

    Hi tyard and thanks for the suggestion. It sounds good, but I don't know how to do it.

    Here's what I have:
    Main timeline has a movieclip called 'Map' on it.
    Main timeline also has a movieclip...
  19. Replies
    6
    Views
    678

    Scale movieclip with main scene

    Hi all.
    I have a movie with a map on the main timeline.
    I also have a movieclip of a house appear on the map.

    I want to zoom the map out using Map._xscale and Map._yscale.
    I am wondering if...
  20. Replies
    5
    Views
    516

    Thanks Mike. I get it now. The picture on my...

    Thanks Mike. I get it now.
    The picture on my movieclip is made up of 3 graphic symbols. I can't edit the picture on my movieclip - I have to edit each symbol individually.

    Trouble is that I...
  21. Replies
    5
    Views
    516

    Thanks for the help, but I've checked that and it...

    Thanks for the help, but I've checked that and it is set to normal but still doesn't work.
    If I use paintbrush to draw something next to the picture I am trying to edit, I can erase what I have just...
  22. Replies
    5
    Views
    516

    Edit a movieclip

    This seems a really stupid question. Even for a newbie but I'm struggling.

    I can't seem to be able to edit a movieclip.
    Here's what I'm doing:

    1. Hit F11 for the library window, then double...
  23. Replies
    0
    Views
    450

    shooting line effect

    Hi guys.
    I was wondering if anyone can tell me how the effect of the line shooting from one dot to the next is achived here:

    http://www.heavy-rotation.net/01.swf

    I really like the way it...
  24. Replies
    0
    Views
    341

    Dynamic fading line

    Hi guys.
    I was wondering if anyone can tell me how the effect of the line shooting from one dot to the next is achived here:

    http://www.heavy-rotation.net/01.swf

    Thanks in advance for any help...
  25. Thread: Random images

    by dt1972
    Replies
    3
    Views
    665

    The example code kindly provided by Mollose...

    The example code kindly provided by Mollose worked really well, but I still have one problem.
    When the houses appear, they do not appear in the middle of the sea, but they can appear so close to the...
Results 1 to 25 of 33
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center