Styling default AS3 components

Is there any built in way to style portions of the AS3
components WITHOUT using a skin Class? I want the functionality
that I had in AS2, where I could say something like
setStyle("disabledTrackColor",0xCCCCCC); and have the scrollTrack
be light grey when disabled.

Varun,
The best way to style ADF is to look at the generated HTML page for the components you need with resource debugging turned on.
When you see code like:
<div id="train" class="af_train">It means it has been translated from
af|train {/* css */}The transforming rules are quite simple to figure out and a person with good CSS knowledge should get it quickly for all components.
Regards,
JP

Similar Messages

  • AS3 Components dissappear from stage when viewed in HTML but not in Flash Player app

    I'm really hoping someone can help me here. I've been working
    on a project for a while now (still very new to AS but I'm getting
    there) and am supposed to be showing an initial release tomorrow. I
    have a main app (Application.swf) that contains all the business
    logic classes. Application.swf then loads Skin.swf which contains
    all of the GUI widgets & design. The idea is that Skin.swf can
    be swapped out for Skin2.swf and customized if desired.
    Skin.swf contains 2 AS3 components: ComboBox & DataGrid
    When I test Application.swf the components appear and work
    fine. When I double click Application.swf and open it in Flash
    Player.app (standalone flash player from Adobe) the components
    appear & work fine. When I export to HTML and view
    Application.swf in a browser page the components are both
    completely missing. Not that they are present but have no data,
    they are just completely absent from the stage.
    I can't figure out how this could be the case unless maybe
    there is a security setting somewhere that's triggered by the .swf
    running in a browser.
    Any help would be HUGELY appreciated.
    Thanks,
    Cliff

    Figured it out. Change wmode to opaque. I just wasted hours
    on this retarded bug.

  • Programmed(AS3) components of swf do not display in browser

    Hi friends,
    I am new to Flash and tools, however I have searched Internet, tried various suggestions for flash embed before posting the question here. The issue is that swf plays in Flash Player but when I view html (generated by Flash Professional CC to embed swf) in a browser only Flash components that I drew on stage display. Any customization done to flash components using AS3 are lost. Other components such as seek bar coded in AS3 do not diplay and none of the functionality coded using AS3 play/work either. For example clicking on play button does nothing (I have tried about 3-4 browsers - this is not specific to a browser). The AS3 is inframe coded; there is no class file outside swf (I know this is not good but for now that is how it is).
    I have made this swf using Flash Professional CC where I also generate the html to embed the generated flash. I have tried various embed methods they had this same issue. I have a feeling that all AS3 related stuff does not work when used in a browser  for some reason while they work when used in Player. I have an older version of my swf playing well here (Flash CS4?): http://shruti.hejje.com  I have also checked all settings for weeks. I have a feeling I have missed something basic to get in to this trouble.
    I am not allowed to post the code here because of copyright issues so posting the swf which is here: http://sourceforge.net/projects/shrutipettige/files/Windows/ShrutiSAv1.2.zip (I have a newer version but that has the same problem). This issue is preventing me from making new version of the app available online for users. I really appreciate any help suggestion you can provide in solving this. I will duly credit those who help me resolve this issue on the website where I want to make this available.
    Regards
    Ragu

    I will try to create a link to the problematic embed later today (Reason for not having link is that there is a working swf in the link). Here is the html for now (audio will play only when swf is played from the server so- not playing in the local html is expected): You can put this in a html file to see what is happening. To see how it should look and work locally you can download: http://sourceforge.net/projects/shrutipettige/files/Windows/ShrutiSAv1.2.zip/download or simply look at screen shot: http://a.fsdn.com/con/app/proj/shrutipettige/screenshots/Shruti1.2.PNG
    html
    =========
    <div id="flashContent"> <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    id="Shruti" height="180" align="middle" width="400"> <param
    name="movie" value="http://hejje.com/shruti/Shruti.swf"> <param
    name="quality" value="high"> <param name="bgcolor"
    value="#191611"> <param name="play" value="true"> <param
    name="loop" value="true"> <param name="wmode"
    value="opaque"> <param name="scale" value="showall">
    <param name="menu" value="true"> <param
    name="devicefont" value="false"> <param name="salign"
    value=""> <param name="allowScriptAccess"
    value="sameDomain">
    <!--[if !IE]>--> <object
    type="application/x-shockwave-flash" data="http://hejje.com/shruti/Shruti.swf"
    height="220" width="400"> <param name="movie"
    value="http://hejje.com/shruti/Shruti.swf"> <param name="quality"
    value="high"> <param name="bgcolor" value="#191611">
    <param name="play" value="true"> <param name="loop"
    value="true"> <param name="wmode" value="opaque"> <param
    name="scale" value="showall"> <param name="menu"
    value="true"> <param name="devicefont"
    value="false"> <param name="salign" value=""> <param
    name="allowScriptAccess" value="sameDomain">
    <!--<![endif]-->  <a
    href="http://www.adobe.com/go/getflash"> </a>
    <!--[if !IE]>--> </object>
    <!--<![endif]--> </object> </div>
    Please note there are two swfs 1) http://sourceforge.net/projects/shrutipettige/files/Windows/ShrutiSAv1.2.zip which has audio embded and 2) p://hejje.com/shruti/Shruti.swf which is made for putting online and loads mp3 from the server shruti.hejje.com based on what is selected. I want to use the web version of the swf (2).

  • Using AS3-components within Linux

    Hi there,
    I'm still kind of new to the ActionScript 3 part within flash
    and never did work with any official Adobe components yet, but
    since I want to do so now I need them. I tried using FlexSDK but
    for now to no avail. There sure is the possibility of
    MXML-projects, but unfortunately not for Linux, which I'm working
    on.
    I tried different tutorials and examples on the net; didn't
    find anything working though. Most of these scripts try to import
    some fl.* classes that I don't seem to have.
    Is it possible to make a pure AS3-project with the official
    components from Adobe within Flex SDK on Linux?
    Or is there some other way I maybe could import them from
    Flash/FlexBuilder?
    Thanks in advance,
    User

    Thank you Ned for that information. I have finally got some time to get back to this project. Here is what I have found. I put a trace on those objects and they are defined as TextInputs and RadioButtons.
    And here is what my Timeline looks like. They are on the form layer and as is shown they animate upward from frame 1 - frame 10. Then in frame 20 the actionscript is called that I have listed previously, as well as a stop(); command. Then when the form is submitted the player proceeds and there is an animation to drop the form layer down and raise a Thank You prompt verifying that the form was submitted. And then in frame 50 another stop(); is called.
    I am just missing why these objects are invisible when the .fla is rendered. Any help is appreciated to get this problem solved.
    I have done preliminary testing to have the form there (no animation in) and when the form is submitted the Thank You slide covers the form. This graphically works, I have not tested the code yet. So, I may have found a round about way to fix the problem. I would still like to know though why when the textInput and RadioButton elements are placed in a graphic to be animated, they disappear.

  • CS4 AS3 components

    I am using CS4. I have created a number of CS3 components in
    the past without problems. Now I wanted to create a CS4 component,
    because there are some Player 10 specific scripts. The component
    works well if I don't set any parameters. However, when I try to
    set parameters
    1. they are not listed in the parameter panel,
    2. when i place an instance of the component on the timeline,
    I get a huge number of errors referring to the component as an AS2
    component.
    I never experienced that before. Does anybody know what is
    different now?

    Flash CS5:
         ActionScript 3 - 3 categories (Flex, User Interface, Video). 33 components in total.
         ActionScript 2 - 3 categories (Media, User Interface, Video). 36 components in total.
    Flash CS4:
         ActionScript 3 - 2 categories (User Interface, Video) 31 components in total.
         ActionScript 2 - 4 categories (Data, Media, User Interface, Video) 25+ components in total.
    Sorry that I don't know how exactly how many components are in Flash CS4 AS2. Couldn't find enough images (I don't have CS4, I use CS5).
    Anyway, I think that Flash CS4 AS2 has the most components, with the most categories. However, whether you should use CS5 or CS4 and AS3 or AS2/AS1 really depends on, not how many components are available, but what you need. Chances are some components you will never touch. Also, sometimes you will need a new feature only in Flash CS5, or be asked by your future employer to write an application in the other scripting language.
    So really, it depends what you think. If I were you, I would download a trial of both CS4 and CS5, and play around, see which option you like the most. Oh, and be prepared to be forced to use another option by your employer at some stage.
    Hope it helps
    dikuno <><

  • Storage Location Default for Components in IW31

    When I add a Non-stock item to the Work Order under the Components tab, I want it to default in the one and only Storage Location we have. 
    I read where I should be able to do that by going in SU3 under the parameters tab and inserting LAG along with the value I want (TH1).    I did that part successfully, and exited and logged back in.   However, now when I add a component to the work order, it still comes up and asks me to enter a Storage Location.  It's not defaulting the value I put in.
    Is there another step to make this work?

    Hi,
    When ever you use 'N' type material, the storage location defaults from material master, if maintained in 'Org data'.
    If you use 'L' type, system will not be able to decide the storage location, if multiple storage locations are maintained. If the field is mandatory, you have to select the location, otherwise order can be processed without the same.
    However, when material movement is done through 261, storage location will be asked.
    James Prabaharan

  • Flash CS3/CS4 (AS3) Components

    On the gskinner blog (
    http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html)
    there is a posting about an update to the new components for Flash
    CS3/CS4 which would allow the components to be skinned easier (I
    think). Can from Adobe comment on why this update has not bee
    rolled into the Flash IDE itself?
    Thanks,
    Sean

    Problem is not in your windows 7 OS, since i was working CS4 and now i m working with CS5 in windows 7 only. And i feel more comfort with this new OS. May be you hardware configuration might not be support to new technology like windows 7 and Flash CS5. Beca it is need high hardward configuration

  • Default AS3 Text component bounce effect help

    I tried posting this in an Actionscript forum without much
    help. I hope someone here can point me in the right direction.
    So I need help trying to figure out how to add an AS3 effect
    to an AS3 Text component.
    var savedNote.Text = new Text();
    savedNote.text = "Selected options have been saved!";
    savedNote.visible = false;
    var submitButton.Button = new Button();
    submitButton.label = "Save selected options";
    submitButton.addEventListener(MouseEvent.CLICK,
    onSubmitButtonClickedHandler);
    public function
    onSubmitButtonClickedHandler(event:Event):void
    //here set the visible for the text to true but i want a
    bouncing effect
    // to be applied to the text component "savedNote" each time
    the button is clicked - HOW
    savedNote.visible = true;
    so each time the user clicks on the button I want the text to
    appear the first time and then have a bouncy effect so that the
    user know the action to save when button is clicked actually took
    place.
    HOW do I do this with AS3??? Thank you! if anyone can point
    me to online tutorials that would be great!

    Pasting your code right into my Flash file works well for me. Are you able to see the text in a black color? Are you able to change everything else except for the color?

  • Adding styles to custom as3 components

    I understand how to add styles to custom components in Flex
    but can anyone shed light on the correct way to define a background
    image style in the class constructor? i.e what is the correct
    "type" for a backgroundImage:
    [Style(name="backgroundImage", type="????", inherit="no")]
    thanks in advance to anyone who can help!

    If your custom component is a UIComponent, you can use the
    setStyle(styleProp:String, newValue:*):void method. You can
    override the protected method childrenCreated():void or
    commitProperties():void. If you have a lot of properties to style,
    you may want to use a css file and set the styleName property of
    the UIComponent to a preset style.
    In this case, if you have a background image, just do:

  • Does Flash CS5 (AS3) come with more components than CS4 (AS3)?

    Hi all.
    Bit of a background to my question- I started learning AS3 around June last year (with no prior Flash experience). I was mainly interested in learning Flash for my own knowledge and personal projects I had in mind. Lately though I've been considering getting employed as a Flash developer, but most companies seem to be asking for AS2 experience, as well as AS3. So I fired up CS4 this morning and took a look at AS2. Probably the most surprising thing I found was that CS4 has a whole bunch more components for AS2 than it does for AS3, making me want to drop AS3 and work with AS2 permanently lol (the built in components make my life so much easier, and offer me more than faster execution does). I'm assuming the reason for this is because AS2 has been around for while, and Adobe has had more time to build more components for it, whereas AS3 is only relatively new.
    So to conclude, does CS5 have more AS3 components (perhaps equal to AS2), or do we only have the same components as we had in CS4?
    <3 components lol.
    Thanks guys.

    Flash CS5:
         ActionScript 3 - 3 categories (Flex, User Interface, Video). 33 components in total.
         ActionScript 2 - 3 categories (Media, User Interface, Video). 36 components in total.
    Flash CS4:
         ActionScript 3 - 2 categories (User Interface, Video) 31 components in total.
         ActionScript 2 - 4 categories (Data, Media, User Interface, Video) 25+ components in total.
    Sorry that I don't know how exactly how many components are in Flash CS4 AS2. Couldn't find enough images (I don't have CS4, I use CS5).
    Anyway, I think that Flash CS4 AS2 has the most components, with the most categories. However, whether you should use CS5 or CS4 and AS3 or AS2/AS1 really depends on, not how many components are available, but what you need. Chances are some components you will never touch. Also, sometimes you will need a new feature only in Flash CS5, or be asked by your future employer to write an application in the other scripting language.
    So really, it depends what you think. If I were you, I would download a trial of both CS4 and CS5, and play around, see which option you like the most. Oh, and be prepared to be forced to use another option by your employer at some stage.
    Hope it helps
    dikuno <><

  • Issues converting scroll bar components from AS2 to AS3

    I am working on editing a document that has scroll bar components that I would like to convert from AS2 to AS3 since everytime I try to open the document it shows a WARNING and won't convert them and when I publish and look at the final document the scroll bar seems to act unusally since it is obviously still on AS2.
    Here are two of the scripts I finally was able to find within it. Should I fix it and how so? This first is for the "Creative Scroll Area" and the second is for the "Creative Scrollbar"
    package  {
              import flash.display.MovieClip;
              public class Creative Scroll Area extends MovieClip {
                        public function Creative Scroll Area() {
                                  // constructor code
    package  {
              import flash.display.MovieClip;
              public class Creative Scrollbar extends MovieClip {
                        public function Creative Scrollbar() {
                                  // constructor code

    Okay, well I know the code is making a scroll bar and a scroll area and under the "type" it says they are "compiled..." which is unusual since most of the other components I've worked with have been movie clips or bitmaps. Do I need to look up what AS3 components I need to replace the script from above? Because when I looked for that I couldn't specifically find what I needed or really understood if I was looking at the right information.
    Here is something I found when trying to "debug" it:
    WARNING: The component 'UIScrollBar' requires ActionScript 2.0, which is not supported in this version of Flash Professional.
    WARNING: The component 'Creative Scrollbar' requires ActionScript 2.0, which is not supported in this version of Flash Professional.
    WARNING: The component 'Creative Scroll Area' requires ActionScript 2.0, which is not supported in this version of Flash Professional.

  • JAG errors by Default Application

    Hello,
    I'm traying to create the Default Application:
    Create Application Workspace (JSF, ADFBC) in JDev
    Create default business components for all HR tables (except for JOB_HISTORY) in Model project.
    Edit the Application Module, add nested view object usages to get 5-level deep nesting of region-country-location-department-employee.
    Go to ViewControlller project, right-mouse-click and choose “Enable JHeadstart in this project”.
    Create default Application Definition (right-mouse-click on ViewController project).
    Create lookups as LOV checkbox does not work yet.
    Save all
    Go to Project Properties -> Project Content -> Resources and check the checkbox “Include Content From Subfolders” for the “Templates” and “Properties” resource paths. The Application Definition file, and all Generator Templates should now appear under the Resources node.
    Right-mouse-click ViewController project, choose Edit Application Definition, and see how app module structure has been carried forward: 5 level-deep nesting of regions etc.
    Run the JAG, by right-mouse-clicking on the file itself, or by pressing the generate button in the editor
    Runing the JAG a got these Errors:
    [RegionsTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/button/newButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Regions.jspx, default/button/deleteButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Countries2Table.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [LocationsTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/button/newButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Locations.jspx, default/button/deleteButton.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [Departments2Table.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    [EmployeesTable.jspx, default/misc/menu/pageMenu.vm] Velocity log [error] ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    etc.
    Why?! Can anybody tell me?
    Regards
    Boris

    Steven,
    because my JDeveloper with JHeadstart was obvious not O.K.
    Loading JHeadstart Addins
    Addin | Version | Status
    JHeadstart Shared Components | 10.1.3.0.65| Loaded
    JHeadstart Development Environment | 10.1.3.0.65| Loaded
    JHeadstart Application Generator | 10.1.3.0.65| Loaded
    Missing property ajc.nonStandardOptions
    Missing property ajc.nonStandardOptions
    Cannot find script : nulljava.lang.UnsatisfiedLinkError: no kernelinterface in j
    ava.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at edu.stanford.suif.keepresident.KernelInterface.<clinit>(KernelInterface.java:24)
    at uk.org.damselfly.jdev.keepResident.KeepResidentAddin$KernelClass.initialize(KeepResidentAddin.java:203)
    at uk.org.damselfly.jdev.keepResident.KeepResidentAddin.mainWindowOpened(KeepResidentAddin.java:166)
    at oracle.ide.IdeCore.fireIdeEvent(IdeCore.java:725)
    at oracle.ide.IdeCore.mav$fireIdeEvent(IdeCore.java)
    at oracle.ide.IdeCore$5.run(IdeCore.java:689)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    I am trying now with a "New" JDeveloper &JHeadstart and I'm getting these errors:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    500 Internal Server Error
    javax.servlet.jsp.JspException: setActionListener must be inside of a UIComponent tag.     at oracle.adfinternal.view.faces.taglib.RegionDefTag.doStartTag(RegionDefTag.java:44)     at common.regions._menuGlobal_jspx._jspService(_menuGlobal_jspx.java:48)     [common/regions/menuGlobal.jspx]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Regards
    Boris

  • Setting default parsys component and packaging them

    Hi,
    Is anyone familiar with how to enable default components to appear in a certain parsys?
    Usually what I would do is manually go into Design Mode, find that certain parsys that I want to edit, click on the Edit, and locate the component under the "Allowed Components" list and check the box corresponding to enabling that component. I found out that when a component is checked to appear in that certain parsys, it will also automatically create a node (eg. mynode) at "/etc/design/default/jcr:content/mynode". And within this node, there will be a property called "components" that will determine what component will appear in this parsys. So I am assuming that this is the way to enable components in the parsys through the codes (without having to manually enable them at that webpage).
    After which, I will package all the contents of "/etc/design/default/jcr:content/mynode" and proceed to deploy it in my client's server. The problem now is, the contents once installed (in client's server), is deleted once again. I suspect it has something to do with it being under jcr:content. Is my assumption right? And how do I solve this? And if I package "/etc/design/default" and deploy it, it seems to work fine. I cannot deploy the whole default folder though. This is because, I cannot confirm if there are other projects that adds their "default components" under that folder. By putting only my "/etc/design/default", there might be a possibility of removing my client's other project's default components.
    To summarise, what I want is to package the contents of "/etc/design/default/jcr:content/mynode" and place it in my client's server, and make sure that it is not deleted (Assuming editing the contents of "/etc/design/default/jcr:content/mynode" is the way to create default parsys components).
    Any detailed help will be appreciated! Thanks!

    How do I create a site page from "http://localhost:4502/miscadmin#/etc/designs"? I am a little confused over here.
    When I refer to the geometrixx site example, I can see that the "components" property inside "/etc/designs/geometrixx/jcr:content/examplepage/parsys" has my enabled component's path in it. But when I duplicate the exact same structure into "/etc/designs/myproject/jcr:content/myprojectpage/myparsys" in its components property, the component that I want to enable doesn't show up. Even when I created a new page, it doesn't show up. But when it is created in "/etc/designs/default/jcr:content/myprojectpage/myparsys", it works.
    So as you can see, somehow my projects are directing the path to "/etc/designs/default", instead of "/etc/designs/myproject". How do I change the direction path? There seems to be no place to configure this.

  • Programmatically creating a ColorPicker in AS3

    Has anyone else run into issues trying to import the
    ColorPicker class into a AS3 project. I am working an AS3 project
    that requires I use a ColorPicker to change colors within the
    project. After running into error after error from within the
    project I started a new project to see if I could duplicate the
    error:
    In the new test project all I have is
    import fl.controls.ColorPicker;
    and I get this error everytime I publish or try to test the
    movie
    1172: Definition fl.controls:ColorPicker could not be found.
    Anyone got a clue to what's going on? I have contacted Adobe
    Tech Support but they were not able to help me solve the problem.
    Any help would be greatly appreciated.
    Thanks.

    Craig,
    Thanks that fixed the problem. I was trying to add the color
    picker without putting it in the Library. Never dawned on me that I
    had to put it in the Library for it to work. Do you have to do that
    with all AS3 components???
    Thanks in advance.

  • Handling exception in custom components

    Hello,
    Is there any info about handling exceptions in custom components? I would like to expose some exceptions to the Livecycle process.
    Thank you

    I have faced this situation for a while and found solution.
    1.Create your custom Exception say (custom exception)
    2. Set the properties like errorcode,errormessage, and throwable (if u want to bubble up the exceptions).
    3. Create a custom object to hold the results (i.e like a java bean)
    4. In your custom component methods just return the custom object and set exception as a property.
    for e.g.
    public class CustomReturn {
    private String result;
    private CustomException exception;
    //getters & setters
    public class CustomException {
    private int errorCode = -1;
    private String errorMessage;
    private Throwable error;
    //getters & setters
    public class CustomClass {
    public CustomReturn testValue() {
    CustomReturn returnValue = new CustomReturn();
    try {
    //perform operations
    catch(Exception ex) {
    CustomException cex = new CustomException ();
    cex .setErrorCode(1000);
    cex .setErrorMessage(ex.getMessage());
    cex .setErr(ex);
    returnValue .setException(cex);
    return returnValue;
    return returnValue;
    As you see , you can check for the exception in your return type using the bean property.
    This will overcome the limitation of not able to retrieve the error stack incase of errors with default livecycle components.
    Hope this helps.
    -Senthil

Maybe you are looking for