dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: shaunfreeman

Page 1 of 4 1 2 3 4

Search: Search took 0.19 seconds.

  1. Replies
    1
    Views
    402

    MX04 I have also tried: record =...

    I have also tried:



    record = _root.portfolio.recordhold.attachMovie("record", "record"+i, i+100);//add mc
    //
    preloader(record);


    function preloader(clip) {
  2. Replies
    1
    Views
    402

    MX04 problem with preloader in loadmovie

    In the main timeline I have this.



    function preloader(clip) {
    this.onEnterFrame = function() {
    filesize = Math.round(clip.picholder.getBytesTotal());
    loaded =...
  3. Many thanks dog.:) Would never of thought of...

    Many thanks dog.:)

    Would never of thought of using



    if(clip._width>0){


    Stroke of genius.
  4. The problem is that I need to load the css before...

    The problem is that I need to load the css before the xml data.
    So I was thinking something like this:



    _root.portfolio.createEmptyMovieClip("recordhold",1);//create mc...
  5. Thanks dog but still no joy. I have just noticed...

    Thanks dog but still no joy. I have just noticed it only applys the ccs to the last mc loaded.if I trace the the mc being created it comes back as the last one.
  6. Ok I found the problem:) When loading the css:...

    Ok I found the problem:)

    When loading the css:



    var myCSS = new TextField.StyleSheet();
    var cssURL = "textfiles/portfolio/fontssize.css";
    myCSS.load(cssURL);
    myCSS.onLoad =...
  7. I worked out that this should be correct. ...

    I worked out that this should be correct.



    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <portfolio>
    <data thumbnail='pics/thumbnails/image1.jpg' image='pics/zoom/image1.jpg'>...
  8. heres the mx2004 file. No picture just the text....

    heres the mx2004 file. No picture just the text.

    css file. xml file and of course the fla file.
  9. The css tags in the xml, displays fine in flash...

    The css tags in the xml, displays fine in flash "in the html dynamic textboxes its just the stylesheet it not being applied.

    All I get is <tag>text</tag> in a dynamic textboxbox. not sure whats...
  10. Thanks a_modified_dog, works great. :)But I would...

    Thanks a_modified_dog, works great. :)But I would prefer to use css tags linked to my ccs stylesheet which I have used successfully throughout my site.

    I tried this but with no luck



    <?xml...
  11. I have this: ...

    I have this:


    <data usrage="Some text"/>

    But what something like this:


    <data usrage=<cssstyle1>"Some text"</cssstyle1>/>
  12. [RESOLVED] css tags within xml data tags?

    I am using a data tag to acess text and images from flash. But when I put css tags in in does not work.

    XML


    <data thumbnail= "pics/thumbnails/image1.jpg" image="pics/zoom/image1.jpg"...
  13. halotheme scrollplane to match uiscroller

    mx2004pro

    Just a quick question I have the halotheme in my lib. But when I drag the scollplane on stage it outputs as grey scroller,grey btns ect. I need it to match the uiscroller which outputs...
  14. Replies
    1
    Views
    370

    MX04 xml loading strange

    Hi wonder if anyone can help.

    I have 4 frames in a mc each frame uses this code (I change the root xml on each frame)


    stop();
    var loadedxml
    var myCSS = new TextField.StyleSheet();
    var...
  15. MX04 I used the drag mc so it always has focus :). Its...

    I used the drag mc so it always has focus :). Its a work around not the best solution I agree but one that works. Don't know what else to use.
  16. MX04 when I click on another browser window is comes...

    when I click on another browser window is comes back as

    xmouse = -18806394.7
    ymouse = -66899335.15

    Anybody got any ideas.
  17. MX04 Ok heres the fla file. if that helps

    Ok heres the fla file. if that helps
  18. MX04 [RESOLVED] x_mouse and browser windows

    Hi I have this code on a mc



    onClipEvent (enterFrame) {
    this._rotation = (_xmouse / -100);
    this._x = (_xmouse / -150);
    }
  19. Replies
    0
    Views
    407

    MX04 setDepthBelow in mc not working

    Having problems with setting depth :mad:. I have tried but nothing seems to work. Could someone have a quick look, must be something simple which I have overlooked. Thanks


    function...
  20. [RESOLVED] scale bounce / rollout problem

    I have a movie with 4 mcs with rollover rollout actions.
    These mc buttons control the scale and bounce on 4 other mcs.
    I managed to to do the code but when the mcs buttons are next to each other...
  21. Replies
    6
    Views
    599

    Thats for that a_modified_dog Got your code to...

    Thats for that a_modified_dog

    Got your code to work but it seems to round it off wrong, seems to add a extra 01.00 on every other item added. Very strange.

    ie
    price is 10.46. I add the same...
  22. Replies
    6
    Views
    599

    Got the sign in the datagrid just need to sort...

    Got the sign in the datagrid just need to sort out to format 0.00
  23. Replies
    6
    Views
    599

    Just one more thing I need to, to format the...

    Just one more thing I need to, to format the price column to

    I already use the below code for the total price of basket, but when I try to use it in a datagrid it doesn't work, might be because...
  24. Replies
    6
    Views
    599

    totalQtyB = 0 It works, :) Thanks

    totalQtyB = 0

    It works, :) Thanks
  25. Replies
    6
    Views
    599

    adding up a array

    Trying to add up all the quantities in the array, it looks like it should work but it does not.



    totalQty += aItem[i].quantity;
    trace(totalQty);


    trace come bask as null
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center