A Flash Developer Resource Site

Search:

Type: Posts; User: fruitbeard

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    443

    AS 2 Hi, Just to add, I don't think you can load an...

    Hi,

    Just to add, I don't think you can load an image without the extension, it won't be able to find it without the extension applied to the linkage.
    having different numbers in the multiple...
  2. Replies
    9
    Views
    443

    AS 2 Hi, Its actually looking for today's date and...

    Hi,

    Its actually looking for today's date and deducting 5 years off the current year, it gets today's day and gets the relevant number from the days array, same with months, it so happens that you...
  3. Replies
    9
    Views
    443

    AS 2 Hi, Thinking about it, it would probably give...

    Hi,

    Thinking about it, it would probably give wrong dates after a few months or with short months and so on.

    however if you were to rename your images and years to current dates then it would...
  4. Replies
    9
    Views
    443

    AS 2 Hi, If you were to get it working today then...

    Hi,

    If you were to get it working today then this would follow suit from now on.

    var TheAlpha:Number = 70;

    function GetImage()
    {
    // Declare New Date
    Today = new Date();
  5. Replies
    9
    Views
    443

    AS 2 Hi, this does not use server side language, I...

    Hi,

    this does not use server side language, I just put the code inside php brackets out of habit.
  6. Replies
    9
    Views
    443

    AS 2 Hi, Here is something that can help you look...

    Hi,

    Here is something that can help you look for and load the correct image from the correct folder on a daily basis.

    paste this into a new fla and see what happens
    var TheAlpha:Number = 70;...
  7. Replies
    2
    Views
    566

    Hi, Ok, it does output, but it is traced, so...

    Hi,

    Ok, it does output, but it is traced, so you will not see it in the created swf file.

    If you make a multiline text field, selectable ( so you can scroll it), and embed the font (any font),...
  8. Replies
    12
    Views
    881

    Hi, When I use the code it works, perhaps you...

    Hi,

    When I use the code it works, perhaps you are putting the code in the wrong place, it needs to go on the main timeline of scene 1, and not inside the movieclip, i could post the fla, I use ...
  9. Replies
    12
    Views
    881

    Hi, Try this, give the main movie clip on...

    Hi,

    Try this, give the main movie clip on scene 1 a name of "a", then put this on the timeline of scene 1

    stop();
    a.b.onPress = function()
    {
    gotoAndStop("Scene 2", 1);
    };
  10. Replies
    12
    Views
    881

    Hi, which is the button, is it the big green...

    Hi,

    which is the button, is it the big green box and you want to go to scene2
  11. Replies
    12
    Views
    881

    Hi, Try gotoAndStop("Scene1", 1); or...

    Hi,

    Try
    gotoAndStop("Scene1", 1);
    or
    gotoAndStop("Scene2", 1);
    depending upon which scene it is you want to go to as I can not make head or tail of your fla file.
  12. Hi, I suggest you make a background clip...

    Hi,

    I suggest you make a background clip inside your clip and give it a name, say "Base", place it below the buttons on another layer.
    Then exit your movie clip and place this code on the main...
  13. Hi, From what I remember, the AS tags were...

    Hi,

    From what I remember, the AS tags were acting funny for a while, so people used the php tags, it makes no difference other than a bit of coloration to the coding.
    I was going to test the AS...
  14. Hi, Maybe myVideo.autoPlay = false; //...

    Hi,

    Maybe


    myVideo.autoPlay = false;
    // or
    myVideo.autoPlay = true;

    myVideo.volume = 0;
  15. Hi, You could always use movieClipLoader, like...

    Hi,

    You could always use movieClipLoader, like so
    MyLoader = new MovieClipLoader();
    MyListen = new Object();
    MyLoader.addListener(MyListen);

    MyLoader.onLoadStart = function(ContainerMC)
    {...
  16. Replies
    1
    Views
    302

    Hi, This is something I hacked together,...

    Hi,

    This is something I hacked together, perhaps it can be jiggled around a bit for better coding ???

    try it and see what it traces for you.

    var A = ["abcde", "abcde", "abcde", "abcde",...
  17. Hi, You might need to look into...

    Hi,

    You might need to look into MovieClipLoader(), so you can do things with your images after they have loaded, with loadmovie() you have less control over them
    TheLoader = new...
  18. Replies
    1
    Views
    1,010

    Hi, Not totally sure what you mean by the...

    Hi,

    Not totally sure what you mean by the question but here is a method to figure out if a number is divisible by 4, or any number if you change the MyNumber var



    var MyNumber:Number = 4;...
  19. Hi, I took a look at your file, this will help...

    Hi,

    I took a look at your file, this will help you, although I am not sure how it will effect the other items as they were not in the file, replace all of your code on the timeline with this
    var...
  20. Replies
    15
    Views
    1,957

    Flash8 Hi, Lets see if we can help you, the button...

    Hi,

    Lets see if we can help you,

    the button on (click) will not work, its on (press), but try this,
    all on the time line. with your button called myButton, remove the code placed on your...
  21. Replies
    4
    Views
    330

    Hi, Hers a wacky way of doing it with keeping...

    Hi,

    Hers a wacky way of doing it with keeping to your set up !!!
    input.restrict = "0-9";
    input.maxChars = 3;

    var ziro = 0;
    var TheText = "000";

    total.text = TheText;
  22. Replies
    7
    Views
    652

    AS 2 Hi, Simple, for your coding practices as well...

    Hi,

    Simple, for your coding practices as well do this,

    remove the code off of the button , give the button an instance name of "button" no quotes.

    and put this under your A and B variables...
  23. Replies
    7
    Views
    652

    AS 2 Hi, attach your file or link to it, perhaps...

    Hi,

    attach your file or link to it, perhaps post your full code
  24. Replies
    7
    Views
    652

    AS 2 Hi, Try if (_root.A >= _root.B) {_root.A =...

    Hi,

    Try

    if (_root.A >= _root.B) {_root.A = _root.B;}
  25. Replies
    1
    Views
    223

    AS 2 Hi, onClipEvent (enterFrame) { if (_root.V...

    Hi,


    onClipEvent (enterFrame) {
    if (_root.V == 1)
    {
    _root.MC.gotoAndStop(2);
    }
    }
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width


HTML5 Development Center