A Flash Developer Resource Site

Search:

Type: Posts; User: prt1

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Frames + Links

    by prt1
    Replies
    2
    Views
    364

    Try using the asfunction function in Flash. opt...

    Try using the asfunction function in Flash.
    opt is a variable containg the frame number

    ie list_txt.htmlText = "<a href=\'asfunction:playframe,opt\'>frame 1</a><br>";

    function playframe(opt) {...
  2. Replies
    1
    Views
    323

    It is being redrawn but so fast you only see it...

    It is being redrawn but so fast you only see it when it has finished.
    Functions run instantly.
    Try using the OnClipEvent(enterframe) { function with a counter
    ie if your framerate is 30...
  3. Replies
    0
    Views
    453

    BBC UI Components??

    Back in December 2004 there was an article about the BBC releasing their versions of the Flash MX 2004 components, a quarter of the size and twice as fast.
    Has anyone heard what is happening.
    ...
  4. Thread: editting buttons

    by prt1
    Replies
    2
    Views
    308

    The background colour is the default movie colour...

    The background colour is the default movie colour
    Double click the fps box on the main timeline to edit the general movie settings.

    On further investigation are trying to run before you can walk?...
  5. Replies
    1
    Views
    313

    Have you gone to www.flash-db.com its a very good...

    Have you gone to www.flash-db.com its a very good site and has lots of information about database connection to Flash etc.
  6. Thread: Frame rate?

    by prt1
    Replies
    2
    Views
    281

    Unfortunately frame rate is really dependant on...

    Unfortunately frame rate is really dependant on size of moving area and how much actionscript if any that needs to be processed.
    Some one with a 2G processor can process more than a 600Mhz one, PC...
  7. Replies
    7
    Views
    355

    Why not drop a scrollbar onto the text box,...

    Why not drop a scrollbar onto the text box, problem solved.
    Just get the components for Flash MX and load into Flash MX 2004, it works a treat.
  8. Thread: MySQL Help

    by prt1
    Replies
    3
    Views
    322

    MySQL Help

    Is it possible to select all fields from a table except a specific one, apart from namimg all the fields individually, something like:-
    SELECT * FROM USERS EXCEPT FIRSTNAME
  9. Replies
    3
    Views
    372

    Take any movie clip on the game frame and just...

    Take any movie clip on the game frame and just add a test for the score ie to go to frame 21

    onClipEvent(enterFrame) {
    if (score > 20000) {
    _root.gotoandstop(21)
    }
    }

    Hope this helps
  10. Thread: flash & mysql

    by prt1
    Replies
    2
    Views
    350

    Can I suggest you go to www.phpforflash.com...

    Can I suggest you go to www.phpforflash.com they have tutorials and download files of the book PHP for Flash.
    This is an excellant book
  11. Replies
    2
    Views
    311

    Normally its a movie clip that increments or...

    Normally its a movie clip that increments or decrements the _x depending if the mouse positon is left or right of centre
    onClipEvent(enterframe) {
    if (_xmouse > 400 ) {
    xx = +2;
    } else {
    xx...
  12. Replies
    9
    Views
    850

    This was part of code attached to a movie clip...

    This was part of code attached to a movie clip (enterframe)
    If you change the value of rr it will continue to move in that direction until rr is changed again.
    The *8 just moves it a larger amount...
  13. Thread: Need Opinion.

    by prt1
    Replies
    5
    Views
    399

    Your site may be very good, but I like a lot of...

    Your site may be very good, but I like a lot of other people without broadband will probably not wait for it to load.
    Is there any way you can go part way into the site and display something whilst...
  14. Thread: blurry fonts

    by prt1
    Replies
    5
    Views
    524

    In general the following rules should be obeyed:-...

    In general the following rules should be obeyed:-
    1) The text field must be on exact x and y coordinates
    2) There should be no transform applied to the text field
    3) If the text field is within a...
  15. Replies
    3
    Views
    292

    You need to use the EVAL function ie hey =...

    You need to use the EVAL function ie
    hey = eval("car"+i);

    The EVAL tells Flash to use the value of the variable 'car5' rather than the string car5.

    Hope this helps.
  16. Replies
    8
    Views
    465

    Slightly hard to tell from the jpg. The text...

    Slightly hard to tell from the jpg.
    The text seems very hard to see though this might be the jpg.
  17. Replies
    3
    Views
    324

    Try:- z = substring(random(5),1) +...

    Try:-
    z = substring(random(5),1) + substring(random(6),1);
  18. Thread: inventory

    by prt1
    Replies
    23
    Views
    716

    If you can zip a copy up I will have a look for...

    If you can zip a copy up I will have a look for you.
  19. Replies
    3
    Views
    393

    Look at the code for the buttons, I think it...

    Look at the code for the buttons, I think it should start with:-
    on (release) {

    change to on (rollover) {

    Change the code attatched to the pictures from
    if (test1 == 1 and _alpha > 0) {
    to ...
  20. Replies
    1
    Views
    446

    In general terms make a movie instance in your...

    In general terms make a movie instance in your movie that is the size of the middle section.
    Make the first frame of this new movie blank and subsequent frames containing the information relevant to...
  21. Thread: inventory

    by prt1
    Replies
    23
    Views
    716

    You could use an object to store the inventory,...

    You could use an object to store the inventory, ie
    inv = new Object();
    inv.key1 = "show";
    inv.key2 = "show";
    inv.key3 = "noshow";

    or an array
    inv = new Array();
    inv[0] = "show";
    inv[1] =...
  22. Replies
    3
    Views
    393

    Have a look at the attached file, it was...

    Have a look at the attached file, it was something that someone else wanted and is very similar to your needs.
    If you click any of the three names the relevant picture will fade in and the old one...
  23. Thread: Weird Bug

    by prt1
    Replies
    2
    Views
    256

    I expect your problem is that if your movie rate...

    I expect your problem is that if your movie rate is say 10 frames per second ie the code will refresh 10 times a second but your slider is moving faster than 10 frames per second, then some of the...
  24. Replies
    4
    Views
    454

    Go to File / Publish Settings On the HTML tab...

    Go to File / Publish Settings
    On the HTML tab set
    Dimensions to Percent
    Scale to Show All

    Then whenever the browser window is resized the Flash movie will also resize.
    Hope this helps
  25. Replies
    2
    Views
    253

    on (release) { ...

    on (release) {
    loadMovie("movie.swf",_root.blank1);
    loadVariables("text.txt", "_root.Variables");
    }
    This will load the movie into movie blank1
    This will load the variables in text.txt into...
Results 1 to 25 of 36
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center