A Flash Developer Resource Site

Search:

Type: Posts; User: digitalecartoon

Page 1 of 14 1 2 3 4

Search: Search took 0.02 seconds.

  1. target objects created dynamically in library items

    In my library I've got a movie clip. Completely empty, just containing this code:


    var myText:TextField = new TextField;
    addChild(myText);
    myText.text="old text"

    Then from the main timeline...
  2. Replies
    2
    Views
    996

    No, actually what made it work was removing that...

    No, actually what made it work was removing that xmldoc from the xml script. Only know a little xml, but removing that made the error go away. Can't find anything about 'xmldoc'. Does anyone?
    ...
  3. Replies
    2
    Views
    996

    saving xml data

    From the 'Learning Actionscript 3' book I'm trying out reading/writing to an xml file.


    var txtFld:TextField = new TextField();
    txtFld.width = 500;
    txtFld.height = 350;
    txtFld.multiline =...
  4. Replies
    1
    Views
    966

    declare variables in for loop

    This works and traces '2' five times:


    for (var i = 0; i < 5; i++)
    {
    var d:int = 2;
    trace(d);
    }

    I sort of understand why this doesn't:
  5. Replies
    1
    Views
    1,689

    Another approach on anther font. I embedded two...

    Another approach on anther font. I embedded two variations of the same font, 'regular' and 'bold'. Also gave them AS linkages. Then used this code:

    ...
  6. Replies
    1
    Views
    1,689

    Can't get font styles to work

    I've added the 'Bembo Std' font into my Library, set the character ranges, the font style and gave it a name:
    74207
    Gave it an AS linkage:
    74209
    Did the same for the Bold version of Bembo Std:...
  7. Replies
    0
    Views
    1,054

    Can't get bold tags to work for font

    I've added four fonts to the library. The regular and bold version of Times New Roman and the regular and bold version of FrutigerCE. I've placed two dynamic textfield on stage. Now I want to do some...
  8. Replies
    1
    Views
    854

    bundle exe file with air app

    For the Mac I'm using the apple widget PNGPong to shrink png files. It's using Optipng to shrink the png file which is dragged upon this widget. For windows I was thinking about creating something...
  9. Replies
    1
    Views
    1,419

    can't change render size quicktime

    When I export to quicktime in cs5, I can't change the render width/height before I export. Render size remains the stage size. I can change the size in the Quicktime settings. But when for example...
  10. Replies
    1
    Views
    1,516

    combobox same value

    I can use this to trace the new combobox value every time the user changes it:
    // Create listener object.
    var cbListener:Object = new Object();
    // Create event handler function.
    cbListener.change...
  11. Replies
    0
    Views
    1,205

    fake combobox tutorial

    I want to use a combobox for in a banner, but components are notorious for being big in file size. My banner should not be larger than 40 kb and even without graphics my combobox component reaches 80...
  12. Replies
    1
    Views
    4,941

    Search incredibly slow

    I've noticed that the search function of this board is very slow indeed. When I enter a search it takes about 20 seconds for it displays any search results. Sometimes it doesn't display any results...
  13. Replies
    1
    Views
    795

    Already found out a better way: import...

    Already found out a better way:

    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    slider();
    //
    function slider() {
    var slide:Tween = new Tween(gallery, "_y", Bounce.easeOut,...
  14. Replies
    1
    Views
    795

    looping tween class

    I've used the Tween Class to put together an image gallery scroller. As you can see in attached example the top 3 images are the same as the bottom 3. For a reason. The tween class shifts the images...
  15. Replies
    3
    Views
    1,241

    Read a similar topic on the...

    Read a similar topic on the http://www.**********.com forum:
    http://www.**********.com/forum/customer-assistance/14178-help-flash-as2-path-000-pages.html

    Read post 2: "txt files are blocked for...
  16. Replies
    3
    Views
    1,241

    Found out that it had something to do with the...

    Found out that it had something to do with the test webhost I was using (http://www.**********.com/). When I put it on my own host server it works just fine and the textfield is filled with the...
  17. Replies
    3
    Views
    1,241

    loadvars doesn't work online?

    I've got a simple text file which I want to read with LoadVars:

    &tekst=This is a test&

    I'm loading it with LoadVars and let the text of one dynamic textfield be replaced by the 'tekst'...
  18. Replies
    3
    Views
    1,407

    Well, I found a way to do it with lineTo too:...

    Well, I found a way to do it with lineTo too: using cacheasbitmap.


    After adding these two lines, the mask is drawn in realtime like I wanted.
    _root.attachMovie("clip","clip",0);...
  19. Replies
    3
    Views
    1,407

    @dawsonk: no, that's just the other way around....

    @dawsonk: no, that's just the other way around. Now the rectangle is serving as a mask to the line being drawn. I want the line being drawn serve as a mask of the rectangle.

    I found the answer in...
  20. Replies
    3
    Views
    1,407

    lineto & setmask don't work

    I've got a movieclip of a rectangle in my library which I place on stage to attachMovie. Then I create an empty movieclip which I want to use as a mask on that rectangle clip through setMask. Users...
  21. Replies
    1
    Views
    5,142

    reduce vector file size

    When it comes to imported vector graphics are there any methods to decrease the swf's file size as much as possible?

    So far I have:
    - imported an illustrator ai file (strokes 'expanded' in...
  22. Replies
    3
    Views
    5,318

    png optimization

    Can anyone tell me the most effective way to optimize a transparant png image, making it as small as possible without losing too much quality?
  23. Replies
    2
    Views
    1,066

    No it doesn't. I've started Flash and opened a...

    No it doesn't. I've started Flash and opened a new default document. I entered 30 in the FPS section of the Property Inspector. Closed the document and started a new one. In the Property Inspecter it...
  24. Replies
    0
    Views
    505

    stroke aligning

    In Flash when using a stroke the line is a 'center line'. In Illustrator you can align a stroke to center, outside or inside. Is there a way to do that in Flash too? For example. When using a...
  25. Replies
    3
    Views
    2,929

    convert pdf to swf

    I want to convert a pdf magazine into multiple swfs (one for each page), so I can use them in a page flip application. swf because then the user can soom and vector stays vector so when zoomed the...
Results 1 to 25 of 327
Page 1 of 14 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center