A Flash Developer Resource Site

Search:

Type: Posts; User: cintaria

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. d'oh >.< thought you wanted horizontal align!

    d'oh >.< thought you wanted horizontal align!
  2. CSS2 does not have vertical centre attribute, but...

    CSS2 does not have vertical centre attribute, but tables do. What you need to do is tell CSS to treat your div as a table, and the content as a table cell and vertical align the content in the cell:...
  3. Replies
    4
    Views
    3,847

    I think I sorted it. pseudo-code: for each...

    I think I sorted it.

    pseudo-code:
    for each page,
    movieclip:MovieClip = new MovieClip
    load page gubbins into movieclip
    save movieclip to array movieclips
    -
    add movieclips[0] to stage.
  4. Replies
    4
    Views
    3,847

    it is the stage. When I addChild(movieclip) it...

    it is the stage.
    When I addChild(movieclip) it works (it's in a loop so I get all the movieclips on stage at once), but when I try to get just one out of the array I get an empty screen :(
  5. Replies
    4
    Views
    3,847

    MovieClips array?

    I'm creating multiple movieclips, containing a TextField and an image as a background. In order to keep track of them I'm storing them in an array. The problem is that I can't add the movieclip to...
  6. Thread: AS3 Mask?

    by cintaria
    Replies
    1
    Views
    861

    AS3 Mask?

    I have a script that loads an xml file then displays a picture whose filename is drawn from the xml file for 10 seconds, then displays the next one and so on.
    I've decided that I want to put in some...
  7. Replies
    2
    Views
    378

    Is ok, I've found out what the problem is. After...

    Is ok, I've found out what the problem is.
    After several days, countless alterations and uploads, I've found the problem as being with the host!... and Firefox! There's something specific with the...
  8. Replies
    2
    Views
    378

    OK, an event listener isn't working; it stops the...

    OK, an event listener isn't working; it stops the program from doing anything :(



    imageLoader.load(new URLRequest(xmlFile.IMG[counter]));
    addChildAt(imageLoader, 0);
    var outTween:Tween=new...
  9. Replies
    2
    Views
    378

    Loading an image?

    I'm trying to load a few .gif images, set them as a background image and fade them out. On my pc it all works, but on my host it's either not downloading fast enough or not downloading the images at...
  10. Replies
    2
    Views
    346

    Thanks for the reply. Your example code got me...

    Thanks for the reply. Your example code got me thinking and I came up with



    var myTimer:Timer = new Timer(10000); //10 seconds
    counter =0;
    myTimer.addEventListener(TimerEvent.TIMER, extract);...
  11. Replies
    2
    Views
    346

    XML For Each loop with timer?

    I've loaded an xml file and I want to iterate through it with a for each loop. How do I pause the loop after each iteration for a bit before continuing?

    One idea I've been thinking is set up a...
  12. Replies
    6
    Views
    6,875

    No, I didn't. In hinde-sight, using maths to...

    No, I didn't.

    In hinde-sight, using maths to change the printable area might work? So you get the size of the movieclip, divide it by the height of the page, and keep calling the print function...
  13. Replies
    6
    Views
    6,875

    [as3] print multiple pages?

    how do I get the printjob to print as many pages as my movieclip needs?

    If I have this code:



    if (pj.start()) {
    pj.addPage(mc, new Rectangle(-30, -30, 800, 800));
    pj.send();
    }
  14. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    and it's not even printing on an iMac >.< damn...

    and it's not even printing on an iMac >.<
    damn screwy code >=(
  15. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    My movie clip is still not adding the components...

    My movie clip is still not adding the components fast enough before the print is called :(
    How do I get my mc to finish adding everything correctly before printing? I've already removed as much as I...
  16. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    using timer to slow/pause process between...

    using timer to slow/pause process between movieclip loading the printjob printing.
    Either it times out and won't print, or it finishes loading and thinks about printing, but doesn't actually print...
  17. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    Good news, I can print :D only took me three...

    Good news, I can print :D
    only took me three days to work it out >.>

    Atm I'm starting a printjob, creating a movie clip and loading my bits into it, then adding the movie clip as a page to the...
  18. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    ok, what I'm doing atm is creating some...

    ok, what I'm doing atm is creating some movieclips, shoving my stuff in those, and printing them.
    Oh, I think I found a way to print >.>
    anywho - I'm adding a textarea (can be a textfield if...
  19. Replies
    1
    Views
    648

    you know how to print? Could you supply some...

    you know how to print?
    Could you supply some sample code please? I'm struggling to get anything to print :(
  20. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    I have two textAreas, a textField and a...

    I have two textAreas, a textField and a movieClip. What I was going to do was three frames with the components laid out differently on each one then print using that layout. What I am doing now is...
  21. Thread: [as3] print

    by cintaria
    Replies
    6
    Views
    1,239

    [as3] print

    I am new to this function, so am looking for some good tutorials and/or examples.
    What I want to be able to do is create a stage/canvas (when the print method is called) and print it.

    Thanks :)
  22. Thread: Clearing form

    by cintaria
    Replies
    2
    Views
    406

    it sounds like s/he's got a form whos content is...

    it sounds like s/he's got a form whos content is to be cleared when the submit button is clicked?

    In the method you have under your submit button, may I suggest putting my_txt.text=""; for each of...
  23. Replies
    2
    Views
    7,219

    Sorry, I thought I posted here already. I sorted...

    Sorry, I thought I posted here already.
    I sorted it myself earlier :)

    Thanks for the help, though :)
  24. Replies
    2
    Views
    7,219

    [as3] getting xml elements/children?

    my xml file


    <cookbook>
    <recipe>
    <type>string</type>
    <name>string</name>
    <serves>int</name>
    <ingrediant amount="int" unit="string" name="string"/>
    <ingrediant amount="int"...
  25. Replies
    11
    Views
    13,384

    got it :) var number:Number = new...

    got it :)
    var number:Number = new Number(txt.text);

    :)
Results 1 to 25 of 36
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center