A Flash Developer Resource Site

Search:

Type: Posts; User: pnaj

Search: Search took 0.02 seconds.

  1. Don't quote variables ... on (release) { ...

    Don't quote variables ...


    on (release) {
    // Testing
    popUp = 'test.html';
    windowProp = 'left=312,top=100';
    getURL("javascript: void window.open(popUp, '', windowProp);");
    } Paul :)
  2. Thread: unit circle

    by pnaj
    Replies
    1
    Views
    1,344

    Hi eugene, In mathematics, 3 o'clock is...

    Hi eugene,

    In mathematics, 3 o'clock is usually considered to be the natural baseline (0 degrees, 0 radians) and positive angles are measured counter-clockwise.

    So,

    3 o'clock: 0 degrees...
  3. Thread: Math help

    by pnaj
    Replies
    3
    Views
    1,384

    Have a look at Physics and Maths Forums...

    Have a look at Physics and Maths Forums

    Paul.
  4. Replies
    12
    Views
    2,249

    Just to jump in here ... probably depends on just...

    Just to jump in here ... probably depends on just how calculations you make, and how complex each one is ... just test both for your application.
  5. Replies
    3
    Views
    616

    Show us what you've got. In Flash, it's very...

    Show us what you've got.

    In Flash, it's very easy to lose your way because you can put code all over the place.
  6. If I've understood you correctly ... I would put...

    If I've understood you correctly ... I would put the following code on frame 1 of [home]:

    ===========================================
    _root.createEmptyMovieClip("container", 1);
    container._x =...
  7. Replies
    6
    Views
    532

    The header()...

    The header() function has a lot of uses ... one of them is to tell 'HTTP' what kind of document (Content-type) is being requested.

    http://www.phpbuilder.com/manual/function.header.php

    If you...
  8. Replies
    6
    Views
    532

    This should produce the correct format for...

    This should produce the correct format for 'import' into a single flash variable called myVar, in a movieclip called mcData.

    _root.mcData.loadVariables("news.php");




    <?php
    // news.php...
  9. Replies
    12
    Views
    2,249

    Have you got C code to do the job, but just...

    Have you got C code to do the job, but just having trouble translating it into AS?

    If so, post the C code as a text file and I'll try and help you do it.
  10. Replies
    1
    Views
    774

    This might be what you want: Let x = x(t) ...

    This might be what you want:

    Let x = x(t)
    y = y(t) be two parametric functions

    where t = t(0), t(1), t(2), t(3), ...

    We can write, x(n) = x(t(n)) for simplicity ...

    Let d = x(n+1) -...
  11. Try putting the following in the first frame of...

    Try putting the following in the first frame of your mc ...
    var w = this._width;
    var h = this._height;

    That might solve your problem!!
  12. Thread: Pendulum

    by pnaj
    Replies
    2
    Views
    1,380

    The equation you gave is actually wrong. If we...

    The equation you gave is actually wrong.

    If we let the pendulum go from a stationary position at the angle theta_max to the vertical, then it should be:

    theta = theta_max*cos(sqrt(g/l)*t)

    In...
  13. Replies
    7
    Views
    420

    It's http://www.phpbuilder.com/ and go the...

    It's http://www.phpbuilder.com/ and go the 'community' page on the main menu.

    P.S. I'm paulnaj on the PHP forum (as opposed to pnaj here).

    Good luck with PHP. It'll be a doddle to pick up if...
  14. Replies
    7
    Views
    420

    I do a php forum as well (which is more my scene)...

    I do a php forum as well (which is more my scene) and it happens to me all the time. I pick up tons of 'technicalities' from trying to answer other peoples questions.

    Thanks again.
  15. Replies
    7
    Views
    420

    It sure does!! Thanks.;)

    It sure does!!

    Thanks.;)
  16. Replies
    3
    Views
    470

    Suppose you had a function in your top-level...

    Suppose you had a function in your top-level movie that loads and unloads movies into itself.

    Then you can call that function from anywhere using _level0, even in external 'loaded' movies.
  17. Replies
    7
    Views
    420

    Movie Size - Offstage

    Does anyone know how to restrict the movie size so that you can only ever see within the bounds of the movie width/height?

    My client only wants me to supply an swf with no html. In order to view...
  18. Replies
    1
    Views
    281

    Importing data into an swf

    I'm making a countdown banner that requires the server time rather than the user's local computer time.

    I only need to get the time once and can use php (or perl) to get it from the server and...
Results 1 to 18 of 18




Click Here to Expand Forum to Full Width

HTML5 Development Center