Using transitions and effects within a custom component

I have created a custom mxml component page within my
application with an id=Theatre2. When the appropriate button is
clicked in the main application Theatre2 opens by fading in. Within
Theatre2 there are two main canvas containers with
id=theatreLeftMain and theatreRightMain. Within theatreRightMain,
there are several canvas containers with id=aboutus, curriculum,
photos, awards0708 and awards0607. They are stacked on top o of
each other and present via the appropriate button click. I want
these several canvas containers to each “fade in” when
the appropriate button is clicked . I have tried both transitions
and effects but I haven’t been able to get them to work on
these several internal canvas containers. The Theatre2 component
page fades in great. Suggestions as to what to use to fade in these
several containers would be greatly appreciated(effect or
transition? where to put the code? code to use?). Thanks Joe
Kerenick

I found this component, with available source:
http://www.tink.ws/blog/pairedstackeffect-fade-squash/
Tracy

Similar Messages

  • Best approach to using command link from within a custom component

    I have created a navigation component "Menu" , used as follows:
    <custom:menu />The contents of menu are stored in an xml file and the Menu component delegates the rendering to a custom renderer, which basicaly writes out html links. (Actually, the component does a lot more, but I'm simplifying to get to the point.).
    Sometimes, I need to render a command link instead of a regular html link. I don't want to re-invent the wheel here, so I want to delegate this to the standard command link components.
    Approach 1: create child components within the Menu component constructor, e.g.
    HtmlCommandLink c = new HtmlCommandLink();
              MethodExpression e = FacesContext.getCurrentInstance().getApplication().getExpressionFactory().
                   createMethodExpression(FacesContext.getCurrentInstance().getELContext(),
                   "#{registrationEditor.enterSubmission}",
                   String.class,
                   new Class[] { });
              c.setActionExpression(e);
              c.setValue("TestLink");
              c.setTransient(true);
              getChildren().add(c);Approach 2: delegate to the CommandLinkRenderer within my custom renderer, e.g.CommandLinkRenderer delegate = new CommandLinkRenderer();
                        HtmlCommandLink link = new HtmlCommandLink();
                        ExpressionFactory elFactory =
                             FacesContext.getCurrentInstance().getApplication().getExpressionFactory();
                        MethodExpression actionExpression =
                             elFactory.createMethodExpression(context.getELContext(), c.getExpression(), String.class, new Class[] {});
                        link.setActionExpression(actionExpression);
                        link.setParent(component.getParent());
                        link.setValue(c.getLabel());
                        delegate.encodeBegin(context, link);
                        delegate.encodeChildren(context, link);
                        delegate.encodeEnd(context, link);Is either of these a respectable approach - they feel a little hackish. If so, which do you prefer. If not, what do you recommend?
    Thanks
    Richard

    I think either is a fine approach and not at all hackish. I prefer the second, although I couldn't tell you why (just a gut feeling). That said, I haven't tried either so there may be hidden problems. My main concern would be what happens when the request is submitted from the page, that the Restore View phase is done correctly so that the proper event is fired.

  • How to use a Webservice (deployableproxy) within a portal component?

    hi,
    i need to know how to use a webservice using a deployable proxy within a portal component?
    i've created the proxies and they work (with servlets).
    i know how to use them in servletes (context lookup, jndi mapping, application references) but i cant find a way to use them in a portal component.. tried the context lookup way but cant figure out which jndi mapping to use.
    any help?
    thanks in advance,
    constantin

    i've found this document:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/cb2e29578c0262e10000000a11466f/frameset.htm
    but it doesn't help...
    i should add a privatesharing resource...
    <property name="PrivateSharingReference" value="SAPJ2EE::rh21.de/pca~wsproxy"/>
    which works
    this is my code
    public void doContent(IPortalComponentRequest request,IPortalComponentResponse response) {
       try {
         Context context = new InitialContext();
         WSPhonebook obj = (WSPhonebook) context.lookup("/wsclients/proxies/rh21.de/pca~wsproxy/de.rh21.wsproxy.phonebook.WSPhonebook");
         WSPhonebookViDocument phonebook = (WSPhonebookViDocument) obj.getLogicalPort("Config1Port_Document", WSPhonebookViDocument.class);
    } catch.....
    now the lookup works (i guess, no messages about that anymore), but i catch ClassNotDefFoundError-Exceptions, but the classes are there, i can strg+click them in the editor, they are in the used dc's etc.
    any help? its quite uurgent :/

  • Changing state of application from within a custom component

    Hello, I have several custom components all of which are included in the parent application.
    When I try to change state from a custom component, I get an error  saying "undefined state: state name". How do I change the state of the  application from within a custom component ? All the states are defined in the parent application.

    @linrsvp,
    If you are using Flex3 try Application.application.currentState = "somestate";
    If you are using Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate";
    Don't forget to import the corresponding namespaces for the above.
    Thanks,
    Bhasker

  • TRANSITIONS AND EFFECTS???

    Hey guys i am so new to imovie. I got a mac 3 yrs ago but just now using imovie. anyway i have both imovies 6 and 8 and i see that imovie 6 has more transitions and effects. Imovie 8 doesn't. So either i am looking at the wrong place or they don't have the same things. Imovie 6 has more to offer. Anyway i can import those to imovie 8 or somehow where to get some??? Thax for any help!!

    Hi
    The everlasting question and the eternal answer.
    iMovie'08 is sometrhing compleatly different to iMovie 1 to 6.
    It's not an upgrade, just a totally different application.
    Yes iMovie'08 has some nice features, color correcting etc. BUT lacks the base
    of video editing.
    iMovie HD 6 has this and much more. That's why Apple are giving it away to iLife08
    owners and don't delete it (as with other upgrades) when installing iLife08.
    If You find iMovie HD 6 to limited eg color correction , picture rotation,
    picture in picture etc. there are two ways to go:
    • Plug-ins from third part deliverer
    • FinalCut Express
    iMovie'08 isn't an upgrade - BUT if You aim for YouTube etc. then this can be of help.
    Count the cost and choose vicely.
    Plug-ins:
    Stupendous software http://www.stupendous-software.com
    GeeThree http://www.geethree.com
    cf/x. http://www.imovieplugins.com
    Apple http://www.apple.com/downloads/macosx/video/ezediapluginsforimovievol1.html
    http://www.imovieplugins.com/fxhome.html
    I go for FCE.
    Yours Bengt W

  • How to reuse standard Activity subcomponents - Appointments, Tasks, Phone Calls and Emails within a custom work center?

    Requirement : We have a requirement to reuse the standard Activity subcomponents Appointments, Tasks, Phone Calls and Emails within a custom work centre. The requirement is to leverage and copy all sub functionalities Appointments, Tasks, Phone Calls and Emails available within the standard activity work center. This feature is available within Accounts, Opportunities, Leads etc. (Refer screenshot: Std_Act_Screen.jpg)
    We are unable to consume/embed the standard Activity (Work center) sub components Appointments, Tasks, Phone Calls and Emails within the custom work center. This is because of backend consistency check violation UI designer error message displayed. (Refer screenshot:Error while consuming standard activities.jpg)
    Ø  Open Question:
    a.      Is there a limitation to consume/embed the standard Activity (Work center) subcomponents Appointments, Tasks, Phone Calls and Emails within a custom work center?  We have noticed that this standard Activity Work center subcomponents Appointments, Tasks, Phone Calls and Emails has been repeatedly reused within the application in Account, Opportunity, Sales lead, Lead, Sales Quote Objects.
    b.      Is there an alternative way in which we can call [Through API etc..] the standard Activity Work center subcomponents Appointments, Tasks, Phone Calls and Emails?
    We need your guidance to overcome the error to enable the reuse of the standard Activity Work center sub-components Appointments, Tasks, Phone Calls and Emails within our custom work center or suggest a suitable workaround on how this can be achieved.
    Regards .. Dheeraj Saini

    Whenever you find out let me know. I wanted to assign a text tone to someone and now in iOS 7 i can't. Or I haven't figured this out yet.

  • CC 2014 trial. MPEG MOVIE clips flickering on my time line! after render, and after export. tried all kinds of sequence settings,taking out transitions and effects ,even the audio tracks.....still flickering. They play fine outa the project files!?  HELLL

    CC 2014 trial. MPEG MOVIE clips flickering on my time line! after render, and after export. tried all kinds of sequence settings,taking out transitions and effects ,even the audio tracks.....still flickering. They play fine outa the project files!?  HELLLLLPPPPP!!!!

    We can not see your computer, your settings or even know what your source files are because we are not in the same room as you are!
    We cant see what you are doing wrong ...so you will have to tell us a lot more and show us some screen grabs of your settings.

  • Professional Animated Lower Thirds, Transitions, and effect presets.

    I shoot and edit a lot of video and would like to know of some professional template HD animations I could get to spice these projects up a bit. Some are business projects, some personal like weddings and parties, some are live bands or music videos.
    Is there a company/site out there that has a great selection of these sorts of templates and/or even presets for fast/great effects? mostly I need animated templates for lower thirds, transitions, and intros...
    Also, if anyone would like to share what they do in premiere for professional effects that would be sweet. Like what effects you use that I should consider to make the videos more interesting while staying professional...

    I make graphic sequences from scratch for lwer 3rds in Premiere. Main tool being the title maker.
    I start with HD sequence I'll call Lwr_3rdBking. On this I'll compose motion and layering of solid graphic clips created with Premiere's title maker, photoshop, AE, In camera FX shots, whatever works. I use the Blend option in the opacity controls to create some neat looks.
    Then I'll nest the Lwr_3rdBking sequence, and use a 4 point garbage matt to draw a shape the size of a lower 3rd bar. Basically cropping the nested  Lwr_3rdBking sequence.
    Then I'll use the title maker to draw a lwer 3rd box over the cropped and matted Lwr_3rdBking. I take care to match the size neatly. I turn off the fill color of the box I just  made, the turn on inner stroke, set it to bevel and adjust the bevel gradient. Shadow could also be added.
    When I'm happy with the lower 3rd frame that I created with Title maker, I will lay it on top of the nested & cropped  Lwr_3rdBking sequence, The gives me a lower 3rd graphic that has motion within and is framed nicely.
    If I use it repeatedly, I just duplicated the original Lwr_3rdBking sequence in the project window, rename it for it's purpose. Then add whatever text to the each new Lwr_3rd sequence.
    It may seem laborious, but really once you settle on an initial design, the creation of subsequent title sequences is very speedy.
    Hope that helps.

  • Keynote's transitions and effect in Powerpoint

    Does anybody knows where I can find a list of Slide Transitions and Build effects of Keynote that really works in Powerpoint ?

    iMovie's preference files can easily become corrupted. I can't say for sure, but that might be your problem. Try closing iMovie and then trashing the file com.apple.iMovie.plist found in User/Library/Preferences. iMovie will create a new preference file upon relaunch. Before relaunching, also do a permissions repair using the Utilities/Disk Utility app on your Mac.

  • Navigation from within a custom component ???

    Hi All
    I am working on a new project in Flex 4 and i have a Viewstack on my main page.  Then i have 6 custom components in the viewstack, the first being the home page.  In this homepage custom component i have linkbuttons which i want the user to click on to navigate the viewstack ..
    So what would be the best way to do this ?
                             <fx:Script>
                                  <![CDATA[
                                       ]]>
                             </fx:Script>
                   <mx:ViewStack id="vs" width="800" height="1000">
                        <s:NavigatorContent width="100%">
                             <v:VHome id="vHome" />
                                            <v:VHome id="vAbout" />
                                            <v:VHome id="vShop" />
                                            <v:VHome id="vProducts" />
                                            <v:VHome id="vSupport" />
                                            <v:VHome id="vContact" />
                             </s:NavigatorContent>
                   </mx:ViewStack>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               width="100%">
         <s:layout>
              <s:VerticalLayout />
         </s:layout>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
              <mx:Spacer height="10" />
              <s:Panel title="Welcome" width="100%">
              </s:Panel>
              <s:HGroup>
                   <s:Panel width="397" height="200">
                        <MX:LinkButton />
                   </s:Panel>
                   <s:Panel width="397" height="200">
                        <MX:LinkButton />
                   </s:Panel>               
              </s:HGroup>
              <s:HGroup>
                   <s:Panel width="397" height="200">
                        <MX:LinkButton />
                   </s:Panel>
                   <s:Panel width="397" height="200">
                        <MX:LinkButton />
                   </s:Panel>               
              </s:HGroup>
              <s:HGroup>
                   <s:Panel width="397" height="200">
                        <MX:LinkButton />
                   </s:Panel>
                   <s:Panel width="397" height="200" >
                        <MX:LinkButton />
                   </s:Panel>               
              </s:HGroup>
    </s:Group>
    Many Thanks

    If I am understanding this correctly, you have three choices.
    1. Do something like ViewStack.selectedIndex(id of tab in viewstack), but not sure if selectedIndex is correct but whatever the method name is.
    2. Fire an event and set up listeners
    3. Go with a framework and use its notifications or event system
    If this is a production app I suggest fighting the urge to go the easy route and use a framework as before you know it you will in the middle of spaghetti code.

  • Saving Transitions and Effects as favorites in PPro CS 6

    I am working with Premiere Pro CS 6
    I have added transition and changed it parameters a little bit. I want to save this as a favorite so I can use it again and again without having to change the parameters every time.
    How can I do this? Can I also do it for filters as well?
    Thanks in advance

    You can't manipulate the preset transitions and save that manipulation as far as I know. This is how you do it. - You take a clip and either put a filter on it (lens flare for instance) or manually build the effect you want on it (opacity for a fade in for instance). Then you select/highlight that effect title in the Effects Controls panel - click on the panel menu icon to the upper right of the Effect Controls panel - choose preset - name it - save it.

  • Using Functions and/or Graphs with Custom Cell Formats in Numbers

    I am attempting to use the AVERAGE function or create a graph in Numbers for cells with a custom format, however, I keep receiving an error message telling me that "Numbers can't be divided by Zero" or an empty graph.
    The format I am using is for a split time for a certain distance, as in time it takes a runner to go around a track: minute:seconds.milliseconds i.e. 1:56.4
    Is there a solution to the formatting or another way to accomplish having the correctly formatted cell and still be able to use functions and graphs.

    Hi nich.lee,
    You can't chart Duration formatted data without first converting it to another format. Also, you will get an error if you attempt to use the AVERAGE function on an empty range.
    Here's an example of charting Duration data by using a conversion...
    Best regards,
    Jerry

  • Transition and Effect Problems

    two problems: 1) i cannot add transitions to my movie. it says the clips are too short and must be 3:46:16 each! but the clip preceding are 7 and 10 seconds long! what do i do? 2) when i want to make a clip black and white, i go to the effects section. i apply it to the clip i want B&W. BUT, when i apply it, it sometimes makes the clip black (just a black screen for the clip with the applied effect). what do i do?

    . it says the clips are too short and must be 3:46:16 each! but the clip preceding are 7 and 10 seconds long!
    3:36:16 reads as 3minutes, 36 seconds, 16 frames..
    you can not apply a 3min long transition to a 10sec clip...
    make the transition shorter... 00:00:09 ....
    for your B/W problem:
    if you're using the 'Quarz Composer b/w', use the slider 'sharpness' to set it correctly...

  • Not able to use @section and Sort within a group in RTF Template

    When i try to use sort with for-each-group@section in my template, the Output Post processor is throwing the following exception
    Caused by: oracle.xdo.parser.v2.XSLException: <Line 31, Column 84>: XML-22047: (Error) Invalid instantiation of 'xsl:sort' in 'fo:flow' context.
    My tags in the RTF template are as below:
    <?for-each-group@section:G_PERSON_ID;./DEPT?><?sort:DEPT;'ascending';data-type='text'?>
    -- there are 2 more groups within this.
    <?end for-each-group?>
    I don't get the error if i remove @section from the above tag in my RTF template.
    OR
    IF i remove the sort tag and keep the @section , it still works.
    I need the "sort" so that i can sort the output by department number and I need the "section" so that i can acheieve context based header title for the page using the tag given below in the header area of the word RTF doc. The DEPT number should change as per the data shown in the report.
    DEPT <?DEPT?> CLASSIFICATION SENIORITY LISTING BY CLASS CODE & DATE
    I am stuck with either being able to use the Sort or the Header feature but not both.
    I guess that section is needed for the context based header title to work, because all the data shown in the current page should correspond to only one single DEPT value (to make the Header title consistent with the data). But i dont get why i am not able to sort. The exception from OPP simply beats me. Please help!!
    I am using the XML Pub Desktop 5.6.2 to develop my templates.
    Is there any way to acheive this? Can someone throw some light on this.
    Thanks in advance.

    Help About says I'm on 20.0.1
    Up until last week, I was able to use the tab key when typing emails and other multi-line text boxes.
    Suddenly the behavior of the tab key changed. This isn't the first time. It's been quite a while ago that the function of the tab key changed from indenting to moving around the page, then after some time it changed back to indenting.
    Can we get this fixed and leave it alone, please?
    I may give one of those add-ins a try, but my problem with add-ins is that they break when FF is patched or upgraded, then I'm left with out the solution they provide.
    Can we just fix Firefox, please?
    Thanks,
    Frank
    P.S. Another potential fix I came across suggested starting FF in safe mode to see if the problem goes away. It does not. It seems to be a change to FF that appeared after an update last week. On or just befor 24 Apr.

  • Errors using themes and tomahawk within portlets

    I've been developing a portlet using Creator2 Update 1 that uses the myfaces tomahawk library of components. Besides the difficulty of not being able to use the visual designer, I've managed to get my portlet functioning the way I want.
    My next step was to apply styles to my portlet. The difficulty here is that since portlets are aggregated within a portal, the portlet does not have access to the <head> tag of the container page (meaning I couldn't just add my own stylesheets and link them in.) I'm not sure how Creator works around this problem - I just know that it manages to using <ui:themeLinks> somehow.
    Changing the theme for a regular Creator-components-only (read: no tomahawk) is a no-brainer. I simply pick a different theme in the Project view and set it as the Current Theme. I can even set my own user-defined theme. Running the portlet either through Creator or Liferay shows the applied theme.
    However, once I start using tomahawk components, the theme system breaks down, throwing exceptions, such as the following:
    com.sun.rave.web.ui.theme.ThemeConfigurationException: WARNING: the Sun Web Components could not load any themes.
    at com.sun.rave.web.ui.theme.ThemeFactory.createThemeManager(ThemeFactory.java:274)
    Curiously, it only breaks if I use one of my user-defined themes. The Creator-provided themes will work with the tomahawk components portlet.
    In short, I am baffled. Creator-provided themes work regardless of tomahawk components present. My own themes work so long as there aren't tomahawk components present.

    Sorry, I don't think that's going to work. Themes are not used in the standard SES index, and therefore the Oracle Text knowledgebase is not installed - hence the DRG-11446 error you're seeing.
    If you figured out a way to install the knowledgebase from another system (and I'm NOT recommending that), you would still need to recreate the text index with INDEX_THEMES turned on.
    You should be able to connect to the SES instance from a remote machine by commenting out both "tcp.invited_nodes" and "tcp.validnode_checking" from the sqlnet.ora file. Not sure why just adding an entry to tcp.invited_nodes didn't work for you.

Maybe you are looking for

  • Calendar Error - "You response to the invitation cannot be sent."

    I'm not sure why, but for some reason when I replied on my iPone to a single instance of a recurring meeting request (change in the "location"), I started getting this error message when I had either mail or calendar open.  I currently have my compan

  • How can I extract a single frame from a DVD?

    I have a DVD that contains a movie of some old slides.  Is there a way I can extract one image from the DVD?

  • Plugplug.dll win64 for photoshop CC

    Hi, I'm running the cloud on a window machine 64 bit.  Everytime I open Photoshop I get the error : It cannot start because it's missing plugplug.dll, then it does load. How can I rectify this error? 

  • Importing Data from Excel into Primavera

    Hello: I'm trying to import data from an Excel spreadsheet of a given set of columns (i.e. template) into Primavera. I wish to copy the data from Excel into a new activity at the Activity Level and have set up the template already at the Activity Lev

  • How to erase an album from iphone 5s. IT IS EASY

    It is easy. If you cannot find the delete button for the photos synchronized from your computer, a- connect your phonte to itunes b- choose photos c- choose select folders but DO NOT CHECK ANY of the albums which will appear as a list d- press synchr