Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Flash expert needed

  1. #21
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Here you go Chuck.
    Attached Files Attached Files

  2. #22
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Kembond Thank you
    2001 S10 ZR2

    Chucks Skin - to old

  3. #23
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Ok, I am trying to load an image on start of the flash instead of the preloaded one.

    I can get an image to load but it loads over top of the date and time so you canít see it.

    Any help would be appreciated

    Here Is the ChucksTop.fla and ChucksTop.jpg
    Attached Files Attached Files
    2001 S10 ZR2

    Chucks Skin - to old

  4. #24
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Anything loaded at runtime either externally or from the library will always be on top of whats on the stage. You would have to load the date and time mc from the library then you could control which one was on top.

    The work around which I did is to put a blank mc on the stage below the date and time and above the current bkg and then load the external image into that clip.

    Your good to go.

    PS: I changed the text to white just so I could see it.
    Attached Files Attached Files

  5. #25
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Kembond Thank you again

    You make it look easy
    2001 S10 ZR2

    Chucks Skin - to old

  6. #26
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Kembond do you think you could do the same to this?
    Attached Files Attached Files
    2001 S10 ZR2

    Chucks Skin - to old

  7. #27
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Never mind I figured it out
    2001 S10 ZR2

    Chucks Skin - to old

  8. #28
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Glad you got it working.
    I made this component, might be able to use it in the future. It will allow you to attach an image dynamically, and you can position it on the stage like normal.
    Attached Files Attached Files

  9. #29
    FLAC Chuck's Avatar
    Join Date
    Sep 2003
    Location
    Ellicott City, MD
    Posts
    1,671
    Thatís neat


    Kembond is there a way I could load these colors from a txt file on load?


    Code:
    
    //
    // COLOR CHANGE
    //=====================================================
    var $color1 = 0xFFFF00;
    var $color2 = 0x00FFFF;           //<<<<<<<<<<   load colors on start from color.txt file
    var $color3 = 0xE6E6E6;
    var $color4 = 0x000000;
    //=====================================================
    var myListener:Object = new Object();
    myListener.onKeyDown = function() {
    	var my_fmt:TextFormat = new TextFormat();
    	if (Key.isDown(Key.CONTROL) && Key.getCode() == 89) {
    		my_fmt.color = $color1;
    	} else if (Key.isDown(Key.CONTROL) && Key.getCode() == 66) {
    		my_fmt.color = $color2;
    	} else if (Key.isDown(Key.CONTROL) && Key.getCode() == 80) {
    		my_fmt.color = $color3;
        } else if (Key.isDown(Key.CONTROL) && Key.getCode() == 75) {
    		my_fmt.color = $color4;
    }
    	currentfmt = my_fmt;
    };
    Key.addListener(myListener);
    //=====================================================
    function setTextColors() {
    	display_mc.date_txt.setTextFormat(currentfmt);
    	display_mc.time_mc.time_txt.setTextFormat(currentfmt);
    }
    2001 S10 ZR2

    Chucks Skin - to old

  10. #30
    Low Bitrate
    Join Date
    Apr 2004
    Location
    Ft Lauderdale, FL
    Posts
    78
    Here you go Chuck.
    Code:
    // COLOR CHANGE
    //=====================================================
    var colorArray = new Array();
    //=====================================================
    var colorLoadVar = new LoadVars();
    colorLoadVar.onLoad = function(success){
    	if(success){
    		trace("Loaded");
    		addColorsToArray(colorLoadVar);
    	}else{
    		trace("Not Loaded");
    	}
    }
    colorLoadVar.load("colors.txt");
    //=====================================================
    function addColorsToArray($data){
    	var $num = $data.colorNum;
    	for(var i=0;i<$num;i++){
    		colorArray.push($data["color"+i]);
    	}
    	delete colorLoadVar;
    }
    //=====================================================
    var myListener:Object = new Object();
    myListener.onKeyDown = function() {
    	var my_fmt:TextFormat = new TextFormat();
    	if (Key.isDown(Key.CONTROL) && Key.getCode() == 89) {
    		my_fmt.color = colorArray[0];
    	} else if (Key.isDown(Key.CONTROL) && Key.getCode() == 66) {
    		my_fmt.color = colorArray[1];
    	} else if (Key.isDown(Key.CONTROL) && Key.getCode() == 80) {
    		my_fmt.color = colorArray[2];
        } else if (Key.isDown(Key.CONTROL) && Key.getCode() == 75) {
    		my_fmt.color = colorArray[3];
    }
    	currentfmt = my_fmt;
    };
    Key.addListener(myListener);
    //=====================================================
    function setTextColors() {
    	display_mc.date_txt.setTextFormat(currentfmt);
    	display_mc.time_mc.time_txt.setTextFormat(currentfmt);
    }
    Attached Files Attached Files

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. compact flash raid
    By B3AND1P in forum General Hardware Discussion
    Replies: 37
    Last Post: 03-13-2008, 07:23 PM
  2. help needed with flash Clock
    By Nomader in forum Road Runner
    Replies: 0
    Last Post: 06-26-2006, 04:07 PM
  3. Flash solution needed
    By netrider in forum Software FAQs, Solutions, Tutorials
    Replies: 0
    Last Post: 01-23-2006, 06:08 AM
  4. Open Call, Flash help needed for tracker !!!!
    By frodobaggins in forum Software & Software Development
    Replies: 28
    Last Post: 05-08-2005, 06:25 PM
  5. Help needed from VB expert !
    By CdRsKuLL in forum Software & Software Development
    Replies: 4
    Last Post: 12-27-2004, 03:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •