A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: Skinning CS4 CSS Support?

  1. #1
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378

    Skinning CS4 CSS Support?

    I know that CSS component support was disabled in CS3. Is this still true for CS4 (AS3)? I have a set of component skins that I bought real cheap, but I bought it knowing that it was designed for Flex (came with a .fla, .mxml, and .css) but I was hoping there was a simpler way to skin my components than sitting down and replacing each individual part of the component (plus the new skin graphics are named remotely close to their intended usage so I'm kind of clueless what goes where).

    Any help is appreciated.

    EDIT: I should have mentioned this is for the Flash CS4 IDE...
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  2. #2
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Maybe this isn't in the right forum?
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  3. #3
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    What exactly is your question and for which application you need the components?
    - The right of the People to create Flash movies shall not be infringed. -

  4. #4
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Quote Originally Posted by cancerinform View Post
    What exactly is your question and for which application you need the components?
    I thought this was quite clear in the OP, but let me reiterate. Essentially, I bought a skin designed for Flex that includes a FLA of the component graphics (movieclips), a few bits of code for components I don't intend to use, a .css file, and a .mxml file. As far as I know, these files are all pretty much for Flex.

    However, I do not use Flex. I use the Flash CS4 IDE. I was wondering it was remotely possible to utilize this .css instead of trying to manually replace the component movieclips myself because the names of these new graphics do not clearly suggest their intended purpose.

    The reason I ask this is because I heard that CSS support for skinning components was taken out of CS3 (Beyond say, applying a text-styling) and what I wanted to do was minimize the amount of effort in applying the new skin because it is the last of my concerns on this very large AIR application.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  5. #5
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    I have never heard that component skinning in Flash is done with CSS only with AS or as hardcopy. Of course there is the setStyle method, but that would not be a stylesheet.
    - The right of the People to create Flash movies shall not be infringed. -

  6. #6
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Well, at the very least, could I use setComponentStyle from the StyleManager to at least affect it at a global level? I've tried to simply mimick the effect of the CSS by using something like this:
    Code:
    StyleManager.setComponentStyle(ComboBox, "upSkin", ComboBoxArrow_upSkin);
    but to no avail.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  7. #7
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    If it is made for Flex then setComponentStyle is not a method of the StyleManager. I have never created anything in Flex for use in Flash only the other way round.
    - The right of the People to create Flash movies shall not be infringed. -

  8. #8
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Correction: The skin itself was intended for Flex; setComponentStyle is most definitely a method of the StyleManager.
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

  9. #9
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    http://help.adobe.com/en_US/FlashPla...filter_air=1.5

    setComponentStyle is a method of the StyleManager class for Flash but not Flex.
    - The right of the People to create Flash movies shall not be infringed. -

  10. #10
    Pumpkin Carving 2008 ImprisonedPride's Avatar
    Join Date
    Apr 2006
    Location
    Grand Rapids MI
    Posts
    2,378
    Quote Originally Posted by cancerinform View Post
    http://help.adobe.com/en_US/FlashPla...filter_air=1.5

    setComponentStyle is a method of the StyleManager class for Flash but not Flex.
    From my first post
    Quote Originally Posted by ImprisonedPride
    EDIT: I should have mentioned this is for the Flash CS4 IDE...
    I am using Flash, not Flex, which is why I questioned if it was possible to target skinning on a global scale...
    The 'Boose':
    ASUS Sabertooth P67 TUF
    Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
    8GB G.Skill Ripjaws 1600 DDR3
    ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
    New addition: OCZ Vertex 240GB SATA III SSD
    WEI Score: 7.6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center