Flex Library Project(SWC) with css and image assets

HI,
I want to create a flex library project with images and css. I shall use that swc with other flex applications. I wand to use those css and images from the swc. Is it possible? Can you please explain in detail.
Thanks
Nirmal

Right... but how do I reference that CSS outside of the
Libray Project?
All I want my library project to be is a CSS and images
Then I want to include that library project in my main
project, and have the main project call the CSS file inside the
library project

Similar Messages

  • Webpage does not centre when exporting with CSS and images

    When using the export tool for a mock-up website, I simply cannot get it to align the page to the centre... I have 100% told it in the export to put it to the centre, but it is always aligned left.
    Am i missing something?!

    Place the mockup in a div and add style rules to the div to center it.....
    How to center a page or a div is a frequently asked question over at the Dreamweaver forum, so an article has been posted to the DWFAQ
    Centering a page:
    http://forums.adobe.com/thread/454036
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    http://twitter.com/nadiap

  • Include xml data file in Flex Library Project

    Hi all,
    i've got a Flex Library Project in which I include some
    assets, as css files and some xml data files too. They are located
    in my project root, under /assets/css and /assets/data. Once
    compiled, if I use my library in other projects, the css styles
    from the css under /assets/css apply, but the xml data files are
    not found.Both are checked in the Flex Library Build Path window of
    the project's properties.
    There's any reason why the xml files are not included? Or
    should I reference them in some other way... In my library project
    I'm doing: ' theHTTPService.url = "assets/data/data_file.xml" '
    thanks in advance,
    Marc

    Hi Greg, thanks for answering.
    Yes, that's what I'd like to know also... I mark it to be
    added to the library, but how can I be sure if it's in the final
    .swc? Are they browseable somehow?
    thanks,
    Marc

  • [svn] 713: Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk

    Revision: 713
    Author: [email protected]
    Date: 2008-03-03 10:19:09 -0800 (Mon, 03 Mar 2008)
    Log Message:
    Merging recent sample eclipse project changes for framework and rpc flex library projects to the trunk
    QA: No
    Doc: No
    Bugs: N/A
    Modified Paths:
    flex/sdk/trunk/development/eclipse/flex/framework/.actionScriptProperties
    flex/sdk/trunk/development/eclipse/flex/framework/.flexLibProperties
    flex/sdk/trunk/development/eclipse/flex/rpc/.actionScriptProperties

    Thats good news.

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • In fire fox and google chrome CSS and images are not loading

    I am facing problem with jrun, In IE-8 application is working fine, but in FireFox and Google chrome CSS and Images are not loading.
    in fire fox and google chrome requests are Aborted.
    thanks
    Ashok Gadiparthi.

    Check if Style Resource Readers SharePoint group has permissions on the site, permissions to the style library and make sure that this library provides Style Resource Readers with restricted read.
    If you don't see Style resource readers on the site, go to that library and set that permission.  you could also just load your installation media to a folder, and execute on setup.exe, select repair option.  This second option of the installation
    media is the cannon vs. flyswatter approach though, but it will work
    Stacy Anothersharepointblog.blogspot.com

  • Css and images are not loading in SharePoint website

    Scenario:-
    System Configuration- Windows server 2008 R2, SharePoint Designer 2010, SP server 2010 all are in Local Machine.
    1. I had reset the Windows server 2008 R2 password and opened SharePoint Designer 2010.
    2. Opened previous working site and found error- services unavailable- HTTP Error 503. The service is unavailable
    3. For this issue, I reset  (as I reset for windows server) the Identity password in App pool for "SharePoint Central Administration v4" application.
    4. The error "Service Unavailable" got vanished.
    But encountered new problem - .css and images are not loading. 
    5. I re run "Product Configuration wizard" with below steps:-
    A) Do not disconnect from this server.
    B) No, this machine will continue to host the website
     Still Problem persisting.
    What tried:-
    1. Resetting IIS Server.
    2. Restarted SharePoint Admin Services from "Service window".
    3. Recycled App pool.
    Just do let me know for further information.
    I have Checked so may forum and sites but no solution :(
    Looking for excellent resolution :)

    Check if Style Resource Readers SharePoint group has permissions on the site, permissions to the style library and make sure that this library provides Style Resource Readers with restricted read.
    If you don't see Style resource readers on the site, go to that library and set that permission.  you could also just load your installation media to a folder, and execute on setup.exe, select repair option.  This second option of the installation
    media is the cannon vs. flyswatter approach though, but it will work
    Stacy Anothersharepointblog.blogspot.com

  • Error in application: custom component Localization in flex library project

    Hi!
    I created custom component in flex library project and I created resource bundle for it. Now it all compiles, but when I add the component to other project I get an error: Unable to resolve resource bundle "Guestbook" for locale "en_US".
    So can someone help me with this?

    Where are your resource bundles located in relation to your Flex project src folder?
    You may need to add the path to the bundles using Project - Properties - Flex Build Path and then add the parent folder to the resource bundles.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Css and images not working on 3rd party server

    Hello,
    I have read the previous posts on this subject, but found no resolution.
    I can confirm that the CSS and images were uploaded to Media Temple.
    The permissions are set to "read"
    I didn't change any of the file structures. uploaded as it was output by Muse.
    Any new thoughts?
    Thanks a bunch.
    -keith.

    I'm back.
    Okay Zak thanks...
    what browser?
    on Safari the html shows up but no styling and the image frames show up but empty.
    On fox same thing except no image boxes even.
    I have a support request in with MT so I will see what they have to say.
    Thanks a bunch and I promise to update any info I gather from them.
    -Keith.

  • "Flex Library Project"

    Just a terminological note - "Flex Library Project" should be renamed to just "Library Project". It has nothing to do with Flex Framework. You can create non-flex libraries. Now as Flex Builder has become Flash Builder, it is even more illogical.

    Pavel,
    Good point. Can you please file a bug/enhancement at http://bugs.adobe.com/flex.
    Thanks,
    Peter deHaan
    Flex SDK Team | Adobe Systems Inc

  • CSS and Images Export problem

    Hello,
    I've created a very basic layout with a header, some columns of text and an image. Everything is aligned perfectly, I've put all the text into rectangles, created a slice for the image, and nothing is overlapping. When I use the Export CSS and Images option, it just exports everything as one big image. What am I doing wrong here?
    Thanks,
    Jason

    Sure, here you go:
    http://www.glowfoto.com/static_image/07-130236L/8862/png/04/2010/img6/glowfoto

  • CSS and Images export problems

    I am trying to export a page to dreamweaver using css and images method. I have created rectangles for the header, content and footer to create divs. Added text and graphics. When I export, it does not export with html codes and css, it gives me one big .jpg. "Layer_1.jpg".  Does anyone know what I'm doing wrong?
    Thanks,
    Wendy
    Message was edited by: wen8   I just found someone else with the exact same problem who said rebooting solved his problem. This also worked for me. Yeah!

    Problem fixed by rebooting!

  • CSS and image export problems

    Hi
    Is the CSS and image export supposed to output anything
    legible. Right now, it produces garbage that looks nothing like my
    project. Images are distorted. Nothing lines up correctly. Has
    anyone else had similar problems?
    Why does the feature only support creating a single page? Is
    there any way to get it to export all pages?
    Why does the feature ignore behaviors? The HTML and image
    export supports behaviors so why can't the CSS and image export? Is
    there any way to get it to support behaviors?
    Thanks

    Problem fixed by rebooting!

  • Exporting "CSS and images (.htm.)" from Fireworks CS4?

    Is this an effective process for developing CSS based layouts? Are there any proven tricks to improve the quality of the resulting structure?

    It's a starting point, but it does not exempt you from understanding 
    XHTML and CSS. Currently there are some limitations to what the script 
    will export: it ignores additional states, javascript behaviors and 
    won't export more than 1 page at a time. Keep in mind this is just the 
    "first kick" and we'll no doubt see this feature embellished.
    I recommend that you download and read about the updated CSS and 
    Images export script, modified by Matt Stow. You can find the new 
    script and his article here:
    http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design.html
    The article also provides some tips on how to best plan your designs 
    if you plan to use the script.
    HTH
    Jim Babbage
    NewMedia Services
    http://www.newmediaservices.ca
    Community MX Partner -
    http://www.communitymx.com/author.cfm?cid=1036
    Adobe Community Expert
    http://www.adobe.com/communities/experts/members/206.html
    Author - Lynda.com
    http://movielibrary.lynda.com/authors/author/?aid=188
    Author: Peachpit Press
    http://www.peachpit.com/store/product.aspx?isbn=0321562879

  • I have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    hi,
    i have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.

    i am using the below code only
     SPSite mySite = new SPSite("http://sharepoinsiteaddress");
    SPWeb myweb = mySite.OpenWeb();   
    SPList myList = myweb.Lists["Announcements"];   
    SPListItem myListItem = myList.GetItemById(1);   foreach (String attachmentname in myListItem.Attachments)
    String attachmentAbsoluteURL =    myListItem.Attachments.UrlPrefix // gets the containing directory URL
       + attachmentname;
       // To get the SPSile reference to the attachment just use this code
      SPFile attachmentFile = myweb.GetFile(attachmentAbsoluteURL);
       // To read the file content simply use this code
       Stream stream = attachmentFile.OpenBinaryStream();    StreamReader reader = new StreamReader(stream);
       String fileContent = reader.ReadToEnd();
    here i am using panel, how can i attach this attached image to panel

Maybe you are looking for

  • Final Cut Pro X generators have disapeared

    While working in Final Cut Pro X, I noticed that all of my generators, themes, titles, and most of my effects and transitions have suddenly disapeared. Is there any way to recover them?

  • RD web access 3 passwords to connect

    I am setting up a new remote desktop access gateway to allow users to connect to their local desktops. I have it working but it requires 3 logins to connect. 1 for the web access, 2. for the RD gateway and then to the PC. Is there a way to streamline

  • New to Motor Control, Seeking best approach

    Hi...  I have an upcoming task where we want to have a LabVIEW based motor control applied to a round, rotatable table inside a coating chamber.  The table will be on the order of 20 inches in diameter, made of aluminum and I will guess that it might

  • Titanfall Midnight Opening Stores

    Is there a way of knowing if our Best Buy store is having a midnight release? I can never find anything online about them and end up having to call the store. I tried going to the Best Buy Gaming Events page and there's nothing on it about any midnig

  • Can TXT file with separater ',' be upload to internal TBL using GUI_UPLOAD?

    hello, experts, I have a problem with data transfer. I need to upload TXT file to SAP internal table, data in TXT file are separated by ',' and more than one line records are contained in the file. I tried to use FM GUI_UPLOAD as below to upload the