A Flash Developer Resource Site

Search:

Type: Posts; User: mgb

Page 1 of 20 1 2 3 4

Search: Search took 1.20 seconds.

  1. Thread: Newbie Question

    by mgb
    Replies
    6
    Views
    698

    Are you putting the button on stage, highlighting...

    Are you putting the button on stage, highlighting it and putting the command on the button itself? Beginners often try to put the command inside the button in one of its states.

    ~mgb
  2. Replies
    3
    Views
    625

    The best thing to do is to load the mc as a...

    The best thing to do is to load the mc as a seperate swf on level1. That way you won't have to duplicate it for all scenes.

    [edit] oops, Miss Rabbit got there just b4 me!

    ~mgb
  3. Thread: substring (flash5)

    by mgb
    Replies
    3
    Views
    535

    Try targetFullName.substr(8); ~mgb

    Try

    targetFullName.substr(8);

    ~mgb
  4. Replies
    9
    Views
    863

    getURL("javascript:scrollPage(100,100)"); and...

    getURL("javascript:scrollPage(100,100)");

    and put the function on the head section of the html page-

    function scrollPage(a, b)
    {
    scrollTo(a,b);
    }

    a, b represent the x, y coordinates of...
  5. Replies
    5
    Views
    530

    What version of Flash are you using? Try- ...

    What version of Flash are you using?

    Try-

    on (rollOver) {
    _root.pantalla2.gameinfo = "Jigsaw Puzzle: Put together exciting pictures of camp. What is your best time?";
    }
  6. Replies
    5
    Views
    530

    set(_root.movieClipName.gameinfo, "the info"); ...

    set(_root.movieClipName.gameinfo, "the info");

    ~mgb
  7. Replies
    2
    Views
    1,036

    Are you using "var" when you declare the...

    Are you using "var" when you declare the variable?

    Can you post the code you are using?

    ~mgb
  8. Replies
    4
    Views
    665

    Ahhhh! I see... ;) ~mgb

    Ahhhh! I see... ;)

    ~mgb
  9. Replies
    2
    Views
    617

    For a web page- ...

    For a web page-

    getURL("javascript:self.close()");

    for Projector-

    fscommand, quit.

    ~mgb
  10. Replies
    4
    Views
    665

    Use [j] instead of i or your code will italicise...

    Use [j] instead of i or your code will italicise due to Visual Basic being implemented.

    ~mgb
  11. Replies
    1
    Views
    475

    Are you working with a movie loaded on a level?...

    Are you working with a movie loaded on a level? If so use-

    on(rollOver)
    {
    overSound=new Sound(this);
    overSound.attachSound("bloop");
    overSound.start(0,1);
    }

    The "this" keyword is...
  12. Replies
    7
    Views
    701

    Try this._visible = true/false; ~mgb

    Try

    this._visible = true/false;

    ~mgb
  13. Replies
    7
    Views
    939

    donno why this board acts crazy with "[" Use...

    donno why this board acts crazy with "["

    Use [j] instead of i or vB will make your code italic.


    ~mgb
    [Edited by mgb on 08-08-2002 at 05:02 AM]
  14. Replies
    3
    Views
    534

    "javascript:launchwin('map/map.html' ,...

    "javascript:launchwin('map/map.html' , 'newwindow' , 'height=150,width=300");

    The opening single quote b4 the h in height is not closed.

    ~mgb
  15. Replies
    6
    Views
    757

    It might be easier to make the text file...

    It might be easier to make the text file variables strings.

    myVar = "01,02,03"

    var A = new Array();

    A = myVar.split(",");

    This will return an array of strings-
  16. Replies
    2
    Views
    540

    On the button put _root.nextSwf =...

    On the button put

    _root.nextSwf = "movieB.swf";

    on the last frame of the fadeout put-

    _loadMovieNum(_level0.nextSwf, 1);

    [ use the above if the fadeout is playing above level0, if it's...
  17. Replies
    9
    Views
    693

    You can resize the opener by putting in the body...

    You can resize the opener by putting in the body tag-

    <body onfocus="resizeWin()">

    where resizeWin() is a function which does the reverse of the one that hides it.

    ~mgb
  18. Replies
    2
    Views
    513

    This will only move it 2 pixels for each mouse...

    This will only move it 2 pixels for each mouse press. Try this-

    onClipEvent (enterFrame) {
    if (_root.move == "left") {
    _root.ads._x = _root.ads._x - 2;
    if (_root.move ==...
  19. Replies
    9
    Views
    693

    Yes, I think there's a workaround, but Microsofts...

    Yes, I think there's a workaround, but Microsofts idea is that the user should have control of the main window - which strikes me a very fair.

    I don't know what the workaround is though.

    ~mgb
  20. Replies
    9
    Views
    597

    _root.mcName.varName = "YES"; or, if V2 is a...

    _root.mcName.varName = "YES";

    or, if V2 is a root variable whose value you want to send to the clip-

    _root.mcName.varName = V2;

    ~mgb
  21. Replies
    2
    Views
    488

    Yes, use the substring or substr functions. ...

    Yes, use the substring or substr functions.

    ~mgb
  22. Replies
    9
    Views
    693

    Put this in the head section of the html page...

    Put this in the head section of the html page that pops up-

    <script language="javascript">

    function hidePage()
    {
    opener.moveTo(100,100);
    opener.resizeTo(100,100);
    }
  23. Thread: random

    by mgb
    Replies
    9
    Views
    660

    This is working fine for me- var name="hello";...

    This is working fine for me-

    var name="hello";

    bgArray=[p1, p2, p3 ,p4];
    bg=int(Math.random()*bgArray.length);
    bgArray[bg](name);

    function p1(n)
    {
  24. Replies
    1
    Views
    515

    Put this between the closing 'title' and closing...

    Put this between the closing 'title' and closing 'head' tags in your html page-

    <script language = "javascript">
    if(screen){
    var topPos=0;
    var leftPos=0;
    }
    function theWindow(theURL,wt,ht) {...
  25. Replies
    9
    Views
    693

    Explorer won't let you close a window without the...

    Explorer won't let you close a window without the warning.

    What you can do is make it fit behind with the

    window.moveTo(a,b) and window.resizeTo(x,y) functions so that it is hidden behind the...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center