Using CSS to arbitrarily place Controls Components

Hi there:
I'm creating an app which loads in an arbitrary external SWF
which contains an unknown set of components into its fluid layout
(not absolute). This external SWF itself uses external CSS (SWF) to
define things like Button icons, labels, etc., as well as bottom,
top placement and so on.
Things work just fine, but I would like my Components SWF to
be fairly generic -- that is, I want to use any number of different
external CSS SWFs to inform my Components' layout, while hardcoding
as little as possible in my Components' MXML.
As it is now, the order of Components' elements in the MXML
determine the left-to-right (or r-to-l or top-to-bottom, etc) order
in which they appear, as well as stacking order. Is there a way to
assign a "weight" to the Components via CSS, so that I can have
just one MXML base which includes all my components? That is, I
want to avoid having a version of my app which is "button 1 is to
the right of button 3", while another version of the app is "button
1 is to the left of button 3".
One App file, many CSS files?
thanks!

Aha!
child index and circumventing the init are our
friends!

Similar Messages

  • Can I use CSS, htmlTags and Alt tip for text with TLF?

    I want to know if it applicaple to use CSS style sheet to format TLF Text?
    is it Applicaple to use html tags instead of text with TLF?
    is it applicaple to add alt (tooltip when I over some words) with TLF?

    Thank you Robin for helpull answer, yes that what I meant by html, I will check the TextConverter Class.
    I asked about CSS because my Manager want to control the Format of the text inside Flash using The CSS.
    is there a way to format the TLF Markup, or what is the best suggestion instead of CSS?
    I didn't try before to add any new capapilities to the architecture, if I want  to start adding this what is the place to start from or any done example that demonstrate it.
    I am using Flash CS4 not Flash Builder nor Flex.
    thank you again for your helpful answer.

  • Use css file in oracle 10g report builder

    hi every one
    i am using oracle 10g report buidler. i want control paramform by usign css file.
    any body have idea how can i use css file in oracle report builder 10g and how can i modify it's path and i how can i manage any css class on a perticular field.

    Thanks Billy.
    Yes you are right.
    Here why I discarded that option is,
    I may get the source files with changing layouts.
    My Actual scenario is as follows.
    Initially we developped all the things using PL/SQL packages. Its working fine.
    But as per the inputs we received from requirements group, the file structure changes dynamically. and we would able to consider those new columns also. We should be able to changes the rules dynamically.
    Lets say, we doing fullouter join on Src_A and Src_B. on columns col1_A and col1_B.
    Now the requirement changes in a way that, the join should be done on Src_A and Src_C. on columns col1_A and col_C.
    For this I need to define a new package.
    Instead of that, I would like to do everything dynamically based on configuration parameters given as input.
    Thank you,
    Regards,
    Gowtham Sen

  • How to use radioButton(s) and image controls on windows phone 8.1

    how to use radioButton(s) and image controls on windows phone 8.1

    Hi aspirantme,
    >>how to use radioButton(s) and image controls on windows phone 8.1
    Which version of your app is? Runtime or Silverlight?
    For Runtime version, please see the following articles:
    #RadioButton class
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.radiobutton(v=win.10).aspx
    #How to add radio buttons (XAML)
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868200.aspx
    #Image class
    https://msdn.microsoft.com/library/windows/apps/br242752.aspx
    For Silverlight version, please refer to the following documents and guidelines:
    #RadioButton Class
    https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.radiobutton(v=vs.105).aspx
    #RadioButton control design guidelines for Windows Phone
    https://msdn.microsoft.com/en-us/library/windows/apps/hh202881(v=vs.105).aspx
    #Image Class
    https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.controls.image(v=vs.105).aspx
    #Quickstart: Images for Windows Phone
    https://msdn.microsoft.com/en-us/library/windows/apps/jj206957(v=vs.105).aspx
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't set parameters for embedded audio files using css

    I'm embedding numerous audio files in Dreamweaver CS3 using
    the <embed> tag. I'm using CSS to control the box size and
    other attributes relating to how the file displays on the page, but
    I'd also like to set the parameter "autoplay" to false, and
    controller to "true," for all of the audio files. I've been doing
    this individually for each file (very time consuming), because I
    can't figure out a way to do it with CSS. Is there a way to set
    those parameters in CSS and apply it to all files?

    .oO(teachAA)
    >I'm embedding numerous audio files in Dreamweaver CS3
    using the <embed> tag.
    >I'm using CSS to control the box size and other
    attributes relating to how the
    >file displays on the page, but I'd also like to set the
    parameter "autoplay" to
    >false, and controller to "true," for all of the audio
    files. I've been doing
    >this individually for each file (very time consuming),
    Search & replace exists.
    >because I can't figure
    >out a way to do it with CSS. Is there a way to set those
    parameters in CSS and
    >apply it to all files?
    No. CSS is for presentation, but these parameters belong to
    the HTML and
    have to be written there.
    BTW: The 'embed' element is invalid HTML. If you care about
    valid markup
    and your site doesn't have to be compatible with really old
    browsers
    like NN 4 or IE 5.5, then you should use the valid method
    using 'object'
    elements.
    Micha

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • Can i place controls from the properties dialog of an express vi on the front panel?

    I'm using the spectral measurements express vi in my vi and I'd like to put the "window" and "number of averages" controls from the properties dialog on the front panel. However, there are not outputs on the express vi icon for these parameters. Can I place controls for these on the front panel somehow or do I always have to go into the block diagram and open the properties dialog to change the values?

    The way to do this is to right click on the express VI and select Open Front Panel. This will convert it to a standard subVI. then go into the subVI and replace the Spectrum Averaging and Spectrum Window constants to front panel controls by right click on them. Right click the icon and select Show Connector. Wire the new controls to a free terminal on the connector. You may have to add additional terminals if there aren't any available to wire to the new controls.

  • Excel 2010 bug -- cannot place controls on chart properly after changing paper size

    I have encountered unexpected behavior in Excel 2010 when placing controls on a chart that is a separate sheet. The issue is that the controls (e.g. spinner, scroll bar, etc.) cannot be placed or moved to the right side or the bottom.
    Steps to reproduce:
    1) create a chart as a separate sheet
    2) change the paper size to, for example, A6 (4.13" x 5.83")
    3) change paper size back to Letter (8.5" x 11")
    4) controls cannot be placed on right side or bottom of chart.
    It appears that instead of using the current dimensions of the chart paper size to determine where controls may be placed, the smallest dimensions that have ever been applied to the chart are used.
    I am looking for a workaround for this issue since I would like to use a paper size large than 8.5" x 11", but I cannot place controls on such a chart properly at this time.
    Any ideas?

    I have found a workaround for this issue:
    1) change paper size in your default printer's preferences to the paper size you want in Excel.
    2) afterwards insert or create the chart. It is automatically the correct paper size, and controls can be placed or moved properly.
    3) change default printer paper size back.
    In case your chart has already been created, simply copy the existing chart in step 2 instead of inserting/creating.
    Aidan
    Edit: credit to http://webdesignerpark.blogspot.com/2013/02/paper-size-to-set-your-default-paper.htmlfor the idea on changing default paper size.

  • Change in Access Control components on the Service Marketplace

    Hello GRC community:
    We would like to inform you that as of yesterday (5/30) the Access Control components for support messages/SAP Notes have been changed (they have actually been replaced so all messages/notes logged under the old component will be moved/replaced to the new).
    The main 4 components are now:
    New: GRC-SAC-ARA     Access Risk Management
    Old: GRC-SAC-SCC          Risk Analysis & Remediation (formerly Compliance Calibrator) 
    New: GRC-SAC-ARQ     Access Request
    Old: GRC-SAC-SAE          Compliant User Provisoning (formerly  Virsa Access Enforcer) 
    New: GRC-SAC-EAM     Emergency Access Management
    Old: GRC-SAC-SFF          Superuser Privilege Management (formerly Virsa Firefighter) 
    New: GRC-SAC-BRM     Business Role Management
    Old: GRC-SAC-SRE          Enterprise Role Management (formerly Virsa Role Expert)
    There are also NEW components specific to areas of functionality. If you are not sure of what component to log your message under, please use the main components above.
    GRC-SAC-ADS          Directory Services
    GRC-SAC-BI             Access Control BW
    GRC-SAC-CONF       Configuration
    GRC-SAC-DAS          Dashboard
    GRC-SAC-REP          Repository
    GRC-SAC-RPT          Reporting
    GRC-SAC-UAR          User Access Review
    GRC-SAC-UPG          Installation & Upgrade
    GRC-SAC-WF           Workflow
    Ramelyn Paredes
    AGS Primary Support

    Hello COmmunity,
    To Summarise in Short: New features introduced to V10.0 : GRC 10.0 is ABAP based, so extraction of data from users is fast & analysis as well.
    As usual, the names for the Access control tool has been changed
    A. Access Risk Analysis (RAR)
    1. USOBT & object information will be automatically updated with GRC rather than manual upload (earlier version)
    2. Mass Users can be imported from .CSV file for risk analysis, Role analysis etc.,
    3. Variant creation / reuse for any report analysis
    4. Option of having multiple rule sets & simulating users across multiple rule sets at same time
    5. Risk analysis for CUA, Composite roles
    6. Mitigation by system, risk id, mass mitigation for users, audit trail etc.,
    7. Risk analysis for HR objects
    B. Emergency Access Management (SPM)
    1. Mass reporting for all FF users, Ids, Executions
    2. Centrally maintained for all systems rather than individual ERPs.
    C. User Access Management (CUP)
    1. Customizable Access request forms
    2. HR based role assignment for position, org unit
    3. IDM integration using GRC Web services
    D. Business Role Management (ERM)
    1. Concept of Business role mapping for Technical roles.
    2. Audit Trails & PFCG Change history.
    Finally, the look, reporting format has been changed to provide additional information for analysis.
    More important - GRC V5.3 support is till 2015 & SAP has planned to push the customers to upgrade to 10.0. Eventually SAP is also planning to release GRC 11.0 by mid next year. So we have to wait & watch the show

  • Using salesforce connector in multiple mxml components

    I am using Flex 2.0.1 and Salesforce as Database. My question
    is i am creating login method in each component and application. I
    want to use/pass salesforce connection from main application to all
    sub component, how can i achieve this to avoid login for each
    application/ component.
    example: In my project i created main.mxml application and 3
    mxml components in each component i am logining into the salesforce
    database to retrieve data from the database. i want to avoid
    creating multiple logins for the components instead of writing
    login for each mxml component i want login for the first time in
    main.mxml application and want to use the same connection in mxml
    components. Can anyone tell me how can i achieve this
    If you feel this is not sufficient information to solve this
    problem then let me know i will post another message with sample
    code.
    Thanks in advance.

    The solution I ended up using was just to reference the CSS file at the root MXML application. Then I could just use .styleName on the Menu component and voila, it worked.

  • Old non-CSS site. Problems using CSS now.

    I have a site that was built with GoLive years ago. It has
    TONS of e-commerce form/store stuff on most of the pages. I quit GL
    a few years ago and moved all my sites over to DW CS3. It wasn't
    super smooth, but I eventually got it setup as a DW site and went
    on with it.
    Then CSS came in, and I learned how to build sites with it.
    My problem is that this old site (www.webriggingsupply.com) is a
    mess of inconsistency with fonts, font sizes, etc. On a page,
    within one table of store data, there might be 2 different fonts,
    and 3 sizes, when all should be the same font/size.
    Due to the sheer number of pages and tables, there is simply
    no way I can start over with a new site.
    I tried to use CSS to style the new site, but the old
    attributes are still in place.
    Any suggestions? I could copy/paste a page into a new site,
    but how do I strip out all the old font formatting? I tried it, and
    it comes in the new site just like the old site? I'm
    stuck!!!

    To remote deprecated code and other tags from legacy sites, I
    use a handy
    little extension called Tag Stripper 2.1 which runs from the
    Command menu in
    DW.
    It quickly removes unwanted <tables>, <fonts> and
    other tags in one pass...
    You can download it here (scroll down; it's 3rd from the
    bottom):
    http://www.feedage.com/feeds/1633172/massimo-foti--dreamweaver-goodies
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "synterx" <[email protected]> wrote in
    message
    news:gdahng$lq5$[email protected]..
    > I have a site that was built with GoLive years ago. It
    has TONS of
    e-commerce
    > form/store stuff on most of the pages. I quit GL a few
    years ago and moved
    all
    > my sites over to DW CS3. It wasn't super smooth, but I
    eventually got it
    setup
    > as a DW site and went on with it.
    >
    > Then CSS came in, and I learned how to build sites with
    it. My problem is
    that
    > this old site (www.webriggingsupply.com) is a mess of
    inconsistency with
    fonts,
    > font sizes, etc. On a page, within one table of store
    data, there might be
    2
    > different fonts, and 3 sizes, when all should be the
    same font/size.
    >
    > Due to the sheer number of pages and tables, there is
    simply no way I can
    > start over with a new site.
    >
    > I tried to use CSS to style the new site, but the old
    attributes are
    still in
    > place.
    >
    > Any suggestions? I could copy/paste a page into a new
    site, but how do I
    strip
    > out all the old font formatting? I tried it, and it
    comes in the new site
    just
    > like the old site? I'm stuck!!!
    >

  • Placing rollover nav buttons using CSS

    Hi. I'm creating my first website using DW CS3 and I'm having
    problems working out how to include all of the graphics as part of
    the CSS so that I can use different CSSs for different devices.
    I have a set of images I'm using for the navigation buttons
    and I want to add them to table cells using CSS with tags for
    placement but how do I then get the rollover effect without ading
    anything to the actual html code?
    any help gratefully appreciated.
    Thanks.

    If you need to do this then here is an example:
    www.taste-in.com
    The buttons are show/hide with css.
    .rollover {display: block;height: 100%;}
    .rollover img {width: 100%;height: 100%;border: 0;}
    .rollover:hover { visibility: visible; }
    .rollover:hover img { visibility: hidden; }
    #home, #contact, #taste, #about, #tasting, #terms{height:
    92px;}#home {width: 139px;background:
    url(../images/nav/hover/home.jpg);}
    #taste {background: url(../images/nav/hover/taste.jpg);width:
    129px;}
    #about {background: url(../images/nav/hover/about.jpg);width:
    128px;}
    #tasting {background:
    url(../images/nav/hover/tasting.jpg);width: 126px;}
    #terms {background: url(../images/nav/hover/terms.jpg);width:
    128px;}
    #contact {background:
    url(../images/nav/hover/contact.jpg);width: 140px;}--
    CheersPablowww.dellwebsites.com
    "wefollow" <[email protected]> wrote in
    message
    news:e2kequ$nie$[email protected]..
    > If i can...how can I.....
    > I want to import Rollover Buttons from Fireworks to
    Dreamweaver( Css Page)
    > I just start using CSS code.....
    > thank you for reading this message

  • Using CSS with Alert

    I'm using CSS to stylet an Alert panel and it's producing the following Warning:
    CSS type selectors are not supported in components: 'Alert' 
    Despite the warning, the css is working, but I don't want to keep seeing the warning.
    Here's my css:
    Alert{
        backgroundColor: #000000;
        borderColor: #000000;
        buttonStyleName: buttonStyle6;
        dropShadowEnabled: true;
        fontSize: 11;
    I've also tried using alert.styleName("myAlert")
    where the css is placed into
    .myAlert
    but that produces the following error:
    TypeError: Error #1006: value is not a function.
    Is there a better way to style the Alert?

    Somehow I posted this in the wrong forum, moving to Java Server Faces.

  • Using CSS With id=form1:txtbox1

    Author: Mike12779 Sep 7, 2004 5:27 PM
    I am having a problem using CSS with the id's that JSF creates for the components on my page. After specifying an id="txtbox1", the rendering of the page changes my id to "form1:txtbox1". This is giving me problems applying styles to that element by ID. Please let me know if there is a way around this besides having unique classes for the css.

    you can use styleClass or style instead of id.
    For example,
    .text1 { font-size: 14px }
    <h:outputText styleClass="text1" />
    or
    <h:outputText style="font-size: 14px" />
    *NOTE:  the 'style' at JSF is similiar to 'style' in CSS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Site examples of using css to design for smartphone, tablet, projection

    Hi,
    Can anyone recommend a site that uses css to design for different platform using css. Not a standalone mobile site, but one where the existing site uses jquery to show the sites differntly.
    I saw a video of it using cs5.5 and it seems to be the way forward, but would love to see how others designed/structured their sites to use this technology.
    Cheers
    Dave

    Hi
    The best place to view demo's regarding the jQuery mobile framework is the official site at - http://jquerymobile.com/. But remember designing and building a site specifically for mobiles, (tablet/mobile/cell devices) is no longer a completely different process to a normal site and all smart-phones can now display a normal desktop web site as good as a desktop pc, (and when it comes to html5/css3 even better).
    The use of redirects for mobile devices is now an old outdated recommendation, and is the equivalent of saying to any tablet/smart-phone user, "Use IE7 or go-away", so unless you are mainly targeting pre-2008 devices do not bother, (Google and similar do this because they are covering 'all' devices and present a very simple page design which convert to mobiles without much difficulty). It is now a more widely accepted method to use media-queries to display a link to a mobile specific site, that is hidden on larger displays.
    Do not get hung-up as some do on this site with the iPhone, it is only one of the devices that must be targeted, and is not even the most popular having a smaller market share than Android powered devices, (I personally use the iTouch, (which has the same web capabilities as the iPhone) and the Samsung Galaxy S2 for my personal testing, then SDK's and 3rd party testing services for other devices) a popular blog with many links that is specific to mobile development is - http://www.visionmobile.com/blog/.
    With regards to testing on mobiles, you do not require a iPhone specifically, and if you are on the mac you can download the SDK for accurate testing, (but then what does one do for all the other devices?) and the true mark of a professional, (which I do not claim to be, my clients may, but I do not, and anyone saying they are whilst 'insulting' others must be viewed with suspicion, as inter-personal skills are also part of any designers/developers necessary skills) is knowing that you must test on all popular OS's and devices, (similar to browsers, and just testing on the iPhone is like just testing your site in IE8 and ignoring everything else) so for setting up a local testing suite see - http://www.mikebrittain.com/blog/2010/01/31/browser-testing-for-mobile-web-applications/, and/or you can also use a 3rd party service such as - http://www.deviceanywhere.com/.
    For a number of tutorials on using CS5/5.5 for developing mobile site see, - http://www.adobe.com/devnet/devices/mobile-web.html.
    PZ

Maybe you are looking for