Custom Title Window?

I'm new to Flex, Java, Javascript, and ActionScript so please be
very detailed with your response and give code examples
I am wanting to make a fully custom title window that will
blend with my site's design.. I know I can change the colors of the
current title window but I need to be able to add gradients and
thing I've created in Photoshop to it... Can someone please tell me
in full detail or link me to a tutorial that shows me exactly how I
can accomplish this please?
Thanks!

Here's the link to the PDF which describes importing skins
into Flex Builder.
http://livedocs.adobe.com/flex/3/skinning_extensions_flex3.pdf
http://www.adobe.com/devnet/flex/articles/skins_styles.html

Similar Messages

  • How to tell Terminal to Do Script in specified Custom Titled window

    I'm writing a script that needs to create and name multiple terminal windows. And later in the script revisit those windows and do an individual script in each one.
    Here's a very simplified version of the script to show what I'm trying to do. This should Create 2 new terminal windows called "Name_1" and "Name_2." Then later in the script revisit them and run individual scripts "Blah_1" and "Blah_2" in the appropriate windows. But I'm getting an error when I try to call up a window by it's custom name.
    And yes, I'm aware that "Blah_1" doesn't achieve anything. It's just a placeholder until I get the actual script written.
    set winNumVar to 1
    repeat 2 times
              set winTitleVar to "Name_" & winNumVar
              tell application "Terminal"
                        set newWindow to do script -- create a new window with no initial command
                        set title displays custom title of newWindow to true
                        set custom title of newWindow to winTitleVar
              end tell
              set winNumVar to winNumVar + 1
    end repeat
    set winNumVar to 1
    repeat 2 times
              set winTitleVar to "Name_" & winNumVar
              tell application "Terminal"
                    do script "Blah_" & winNumVar in window winTitleVar --THIS CREATES THE ERROR
              end tell
              set winNumVar to winNumVar + 1
    end repeat

    Terminal windows have different properties than tabs, and the name/title can also be modified depending on the preferences.  When you create a new window, a new tab will be created in it - the custom title property of the tab will affect the name of the window.  Depending on your other settings, something like the following should work:
    set winNumVar to 1
    repeat 2 times
      set winTitleVar to "Name_" & winNumVar
      tell application "Terminal"
        tell first item of (get windows whose name contains winTitleVar) -- get first matching window
          do script "echo this is window " & winNumVar in it
        end tell
      end tell
      set winNumVar to winNumVar + 1
    end repeat

  • How to set custom size of Close Button e.g. 32x32  of Title Window in Flex 4

    How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4?

    Hi
    Here is the code of the Button in the skin class of spark title window.
    <s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
                              width="15" height="15" right="7" top="7" />
    So first change the default height and width from 15 to 32. Then in the Button Skin class i.e. spark.skins.spark.TitleWindowCloseButtonSkin change paths to modify the cross symbol.
    Hope this helps
    Rush-me

  • Calling a method in Parent component from Title Window

    Hi all,
    I have a parent component that opens up a Title window when I
    click a button. Now I want to call a method in that parent
    component from the Title window. How do I do this in Flex? Could
    anyone give me a hint please.
    Thank you in advance for the help

    "happybrowndog" <[email protected]> wrote in
    message
    news:gctmql$4t5$[email protected]..
    > That's goddamned ridiculous. What were Flex developers
    thinking that you
    > have
    > to write a custom event to call back to a parent
    component?? Other GUI
    > libraries such as WxWidgets, Fox, Qt, Delphi, MFC,
    WinForms, etc., all
    > allow
    > you to either call via a reference to the parent object
    or submit a
    > callback
    > function into the child object. That's just basic OO
    programming. Flex
    > is
    > looking more and more ridiculous and more like Swing -
    tons of unnecessary
    > coding to do simple things.
    You absolutely _do_ have the capability to pass in a
    reference to the parent
    component, or to create a "hard" reference to
    Application.application. But
    these are not recommended practices, because anything you
    create this way is
    then tied to an environment that implements those properties
    and methods.
    Q (3): I want to run a function in my main application from
    inside my
    custom component. But when I try to refer to myFunction() in
    that
    component, I get a compile time error Call to a possibly
    undefined function
    myFunction. How can I fix this?
    A: Your component has its own scope, so it doesn't know
    anything
    about the functions in the main file. You can get around this
    by directly
    referencing the main application scope like this:
    Application.application.myFunction(). However, this makes
    your component
    tightly coupled, which is a quick way of saying that your
    component is only
    usable in an application that has a myFunction() function in
    it. You're
    better off dispatching an event from your component and
    letting the
    application decide how to handle it. For more information,
    check out the
    following resources:
    http://www.adobe.com/devnet/flex/articles/loose_coupling.html
    http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
    From
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

  • Problem with the Titler WIndow

    Hello,
    I don't know how it happened but the titler window is saparate in 2 windows : one with the title by it self and the other one with tools and buttons.
    How is it possible to have only one window again ?
    Thank you for your help and regards,
    Daniel

    Daniel,
    Though I would expect it to be in Eddie's link, you only need to go to Window (in the Toolbar at the top of the GUI), choose Workspaces, and then choose one of the default Workspaces listed, or any Custom Workspaces that you might have created. Hint: once you get a Workspace set up the way you like it, do save it as a Custom Workspace. Can save a lot of time later. I have about a dozen, plus the ones that ship/install with PrPro and use them for different tasks.
    Good luck,
    Hunt

  • Unable to Pass Parameters to Custom PopUp Window ??

    Hi
    Please help in passing Data from an MXML  file to my POPUp window mxml
    MainMXML File :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalAlign="left" verticalAlign="middle">
        <mx:Script>
            <![CDATA[
                import mx.events.FlexMouseEvent;
                import MyPopUpWindow;
                import mx.events.FlexEvent;
                import mx.managers.PopUpManager;
                private var popup:MyPopUpWindow;
                private function openPopUpWindow():void {
                    popup = PopUpManager.createPopUp(this,MyPopUpWindow,true) as MyPopUpWindow;
                    PopUpManager.centerPopUp(popup);
            ]]>
        </mx:Script>
        <mx:Canvas width="288" height="177">
           <mx:HBox id="jai">
            <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
            <mx:Label id="kkk" text="Ravi"/>
            <mx:Button label="Edit" click="openPopUpWindow()"/>
        </mx:HBox>
        </mx:Canvas>   
    </mx:Application>
    =======
    MyPopuWindow.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <!-- custom popup window component - comps/MyPopUpWindow.mxml -->
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            title="My Custom PopUp Window"
            showCloseButton="true"
            close="PopUpManager.removePopUp(this)">
            <mx:Script>
                <![CDATA[
                    import mx.managers.PopUpManager;
                ]]>
            </mx:Script>
            <mx:Form>
                <mx:FormHeading label="User"/>
                <mx:FormItem label="Username">
                    <mx:TextInput id="un" />
                </mx:FormItem>
            </mx:Form>
    </mx:TitleWindow>
    On to the TextInput i need to have the value of Label kkk value . I tried with inline  binding but it didn't worked
    <mx:TextInput id="un"  text= {kkk.text}/> isn't working . please help

    Thanks for the idea, I did this way . Its working but worried as what happens if its not present inside Main Appliction.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%" horizontalAlign="left" verticalAlign="middle">
        <mx:Script>
            <![CDATA[
                import mx.events.FlexMouseEvent;
                import MyPopUpWindow;
                import mx.events.FlexEvent;
                import mx.managers.PopUpManager;
                private var popup:MyPopUpWindow;
                [Bindable]
                public var str:String ;
                private function openPopUpWindow():void {
                    popup = PopUpManager.createPopUp(this,MyPopUpWindow,true) as MyPopUpWindow;
                    str = kkk.text;
                    PopUpManager.centerPopUp(popup);
            ]]>
        </mx:Script>
        <mx:Canvas width="288" height="177">
           <mx:HBox id="jai">
            <mx:Image source="images/canvas.png" visible="true" height="100%" width="100%"/>
            <mx:Label id="kkk"  text="Pavan"/>
            <mx:Button label="Edit" click="openPopUpWindow()"/>
        </mx:HBox>
        </mx:Canvas>   
    </mx:Application>
    ========
    <?xml version="1.0" encoding="utf-8"?>
    <!-- custom popup window component - comps/MyPopUpWindow.mxml -->
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            title="My Custom PopUp Window"
            showCloseButton="true"
            close="PopUpManager.removePopUp(this)">
            <mx:Script>
                <![CDATA[
                    import mx.core.Application;
                    import mx.managers.PopUpManager;
                ]]>
            </mx:Script>
            <mx:Form>
                <mx:FormHeading label="User"/>
                <mx:FormItem label="Username">
                    <mx:TextInput id="un" text="{Application.application.str}"/>
                </mx:FormItem>
            </mx:Form>
    </mx:TitleWindow>
    please sugest correct approach .

  • Show the custom popup window on clicking the people name in sharepoint people search result

    Show the custom popup window on clicking the people name in sharepoint people search result
    We are doing the below code to open a popup but while clicking on name link its postback the page and not opening the popup in first click but opening in second click.The same issue occurs while navigate to second page using pagination
    The below code used to show name in item template
    <button id="NameFieldLink" class="temp" style="font-size: 12px;text-decoration:none;color:#0072c6;border:0px solid #fff;background:transparent;margin-left: 1px;height: 15px;padding: 0 10px 17px 0px;text-align: left;cursor:pointer;font-family:
    Arial, Helvetica, sans-serif;" title="">_#= DisName =#_</button> 
    The below jquery code used to open popup in control search template
    ctx.OnPostRender = []; 
    ctx.OnPostRender.push(function () {
    $(".temp").on("click", function(event)
    event.preventDefault();
    $('#fadeout').show();
    $('#pop1').find('.tab-content-people').html($(this).closest('.emp-card').find('.pop-content').html());
    $('#pop1').show();
    return false;

    I believe the issue is that you are not actually searching against the result source you made in step #1.
    It's not enough to make a result source, you have to tell the search results web part to use it.
    Try this:
    1. Go to the Pages library of Search Center
    2. Create a new Search Results page
    3. Edit the page, then edit the search results web part
    4. Change the source for the search results web part to your source
    5. Add the page to your Search Center navigation
    6. Run the search on that page
    Scot
    Author,
    Microsoft SharePoint 2013 App Development
    Author,
    Professional Business Connectivity Services
    Author,
    Inside SharePoint 2013
    Blog, www.shillier.com
    Twitter, @ScotHillier
    SharePoint Trainer, Critical Path Training

  • Dispatching an event while closing a title window

    my app requires some data to be refreshed whenever a new data is submitted
    the new data is submitted in a form that opens in a seperate title windiw and i want to dispatch some sort of an event or indication which can be listened to in my main program so that data can be refreshed as soon as the window is closed .....
    the close event doesnt work because i close my title window manually at the submission of data , without clicking on the close button , ... I tried making a custom event and dispatching but doesnt seem to work out .... I am quite a beginner so please help me out with this ....
    thanks a lot

    go through these links once:
    http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=events_07.html

  • Title Window - Colors Panel

    I seem to have lost my colors panel in the title window.
    The first time I tried TITLER, I couldn't find the colors panel to change text colors, any colors, etc.  I then found it was behind the panel that TITLE opened in. OK, fine. There it was, behind it.
    Now, the colors panel is not behind it nor anywhere to be found. I even asked my dog if he maybe thought it was a bone and buried it (LOL-he just scratched and went to sleep).
    Where oh where did that color panel go, ohhhh, where oh where can it be?
    expeditionwest

    Bill -
    Nope, tried that then looked everywhere, undocked windows, everywhere - no colors panel.  WOW - CS5 is just a learning workhorse.
    With luck, an employee might show up and advise. That would be great customer service!
    expeditionwest

  • Logic Pro 9 Says Not For ReSale On Title Window

    Everytime i open logic pro 9 it always say not for resale on title windows I put the right serial key in. I purchased it from the Apple Store. Please help its annoying.

    divyesh.tailor1 wrote:
    I meant its a proper logic pro 9 cd bought from the shop.
    Yes, but you had a pirated version before the legit (proper) one you purchased correct?
    The App store version does not require or ask for a serial number unless you've had a another version of the program installed.
    The App store version is reading the preferences/install files of the previous version, even though you may have deleted the previous Logic application the preference/install files are still there.
    Delete the User Preferences
    You can resolve many issues by restoring Logic Pro back to its original settings. This will not impact your song files. To reset your Logic Pro user preference settings to their original state, do the following:
    In the Finder, choose Go > Go to Folder from the menu. 
    Type ~/Library/Preferences in the "Go to the folder" field. 
    Press the Go button. 
    Remove the com.apple.logic.pro.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder. 
    If you have upgraded from Logic Pro 7, you may also need to remove ~/Library/Preferences/Logic/com.apple.logic.pro
    You may also want to go into  Root/Library/Preferences and delete the..    com.apple.RegLogicStudio.plist

  • Regarding effects in Title window

    Hi All,
    How to show effects like Zoom , Wipe etc for Title window which is launched through a popup manger .
    regards,
    karthik

    I got this fixed,
    I disabled the tabbing on the window opening the title window, this happens to be my main app.
    After calling the popup manager I simply call.
    Application.application.tabChildren = false;
    Then I created a custom event for the cancel.
    Add event listners to the popups then on event I simply re-enable tabbing
    private function doPopUpForm():void {
         newWin = SetForm(PopUpManager.createPopUp(this,SetForm,true));
         newWin.addEventListener(CloseEvent.CLOSE, cancelTitleWindow);
         newWin.addEventListener("cancel", cancelTitleWindow);
         PopUpManager.centerPopUp(newWin);
         newWin.title = resourceManager.getString('localizedContent','formWindowTitle');
         Application.application.tabChildren = false;
    private function cancelTitleWindow(event:Event) : void {
         PopUpManager.removePopUp(newWin);
         Application.application.tabChildren = true;

  • When i open finder the windown is a completely blank grey box with the title "Window" as a header, and all my folders will not open when clicked

    when i open finder the windown is a completely blank grey box with the title "Window" as a header, and all my folders will not open when c
    the problem started when my computer screen broke from something falling on it, the screen was replaced but the people that fixed it for me told me there may be some hard disk issues when a problem like this happens, they ran their own checks and found nothing and i was given my laptop back, then when i tried to use it, i found this problem. everything else works fine.
    i have shutdown and re-started my computer multiple times and i have also re-started finder multiple times, both having no effect
    i have also done a few other things to find that my apple.com.finder.plist and apple.com.sidebar.plist are both missing, and are not re-creating themselves, i have found no way to bring them back either.
    any help would be greatly appreciated, thanks

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • How can I add a custom title to multiple ALV reports selected by layout?

    Greetings and good day, everyone!
    Within the past week or so, I posted a question asking the best way to create a program that would generate multiple ALV reports.  I got some great ideas, and I've actually coded up a few simple demos based on your feedback -- thank you!
    Here's the issue I'm running into:  Many of you suggested that I put all report records into one table, and create a field that I could use to filter on later to determine which fields I want to display for the report.  For example, if I have 3 different reports, I put all the fields for all 3 reports into a table.  I then add a "report key" field.  As I put records into the report table for report 1, I code "01" into the "report key" field.  I do the same for reports 2 and 3, assigning each a "report key" of "02" and "03", respectively.
    I then set up layouts in the ALV for each of the three reports, using the filter option to only pull records with the "report key" value for that particular report.  This all works wonderfully!  However, I seem to have lost the ability to show a custom title for each layout.  I can create a generic TITLEBAR (like "Reporting Center") but I don't know how to reset the grid's title when a layout is selected.  I was hoping that SAP might use the layout description as the title on each page, but it doesn't -- it uses the TITLEBAR text.
    Any ideas?  I think this might be the best way to program multiple ALV reports, but if I can't display the right report title for a particular layout, I'll probably have to go back to my other alternative of putting each report in its own container/screen, and having a button to access each report from the application toolbar.
    Thanks,

    Srikanth,
    I don't have any Selection Screen radio buttons for the user to select a particular report; in my case, they specify some needed criteria by the program in the Selection Screen, the program goes off and does a fair bit of processing/updating, and then displays the ALV reports when finished.  They don't want to choose one particular report to view ahead of time; they want to have all 3 (in my case) there to see what processed correctly, what was eligible to process but kicked out with errors, and what failed some matching checks done up front (this layout includes additional fields from the input file so they can see what didn't match up against R/3).
    So, while I do like the code example you presented, I don't think it's going to help me in my case.

  • Using a repeater to pass content to a title window

    Hi I have a repeater that has a button and the button open a title window component from flex
    So far I use the name property of the button to pass the title from the repeater to the title of the titlewindow
    here it is:
    Vimeo is the name of the repeater
    <mx:button name="{vimeo.currentItem.title}"
    on the as3:
    myWindow.title=event.currentTarget.name;
    so far I can open it with the names from the list.
    Also I have an html inside of the title window and I want to set its location from the parameters of the repeater
    so here is when it start to be hard to imagine a way to retrieve that information from the repeater and pass it to
    the location.
    here is my code.
    import mx.managers.PopUpManager;
                        import mx.containers.*;
                                  import mx.controls.Alert;
                                  import mx.rpc.events.FaultEvent;
                                  import mx.rpc.events.ResultEvent;
                                  import flsWindow;
                                  private function openWindowVimeo(event:MouseEvent):void{
                                            var myVimeoWindow:TitleWindow= TitleWindow(PopUpManager.createPopUp(this, flsWindow, true));
                                            myVimeoWindow.width=800;
                                            myVimeoWindow.height=600;
                                            myVimeoWindow.title = event.currentTarget.name;
                                            var myHtml:HTML= new HTML;
                                            myHtml.location={myText.text};//tried to make this happens though is always with error;
                                            myHtml.width=800;
                                            myHtml.height=600;
                                            myHtml.x=0;
                                            myHtml.y=0;
                                            myVimeoWindow.addChild(myHtml);
    <mx:HTTPService id="vimeoService" url="http://vimeo.com/api/v2/iglesiafls/videos.xml" resultFormat="e4x" fault="onFault(event)"/>
    <mx:XMLListCollection id="myVimeoList" source="{vimeoService.lastResult.video}"/>
              <mx:VBox width="340" height="334" x="699" y="422">
                        <mx:Repeater id="vimeo" dataProvider="{myVimeoList}">
                        <mx:Image source="{vimeo.currentItem.thumbnail_medium}" width="200" height="150"/>
                        <mx:Text id="titleText" text="{vimeo.currentItem.title}" color="#F5FBFC" fontSize="14" width="300"/>
                        <mx:Text text="{vimeo.currentItem.description}" color="#F5FAFB" width="300"/>
                        <mx:Text text="{vimeo.currentItem.url}" id="myText"/>
                        <mx:Button  name="{vimeo.currentItem.title}" label="ver video" click="openWindowVimeo(event)" enabled="true"/>
      </mx:Repeater>
      </mx:VBox>

    I have this resolved already

  • Customizing request window when save the alert category

    hi,
    i create an alert category in the solution manager and try to save it, but the customizing request window pop up, and i have no idea what is that for.
    anyone knows how to save the alert category i created?
    Thanks a lot
    Jessica Ding

    hey, don't want to transport this alert category to prod ?? ,request is for that purpose...

Maybe you are looking for