Resize effect in the repeater control

Hi All,
I developed an application using repeater control.Using repeater control i created 3 buttons.Is it possible to set the resize effect for the buttons in repeater control.I mean if i click on first button,only the first button need to be resized.If i click on secodn button,then only the second button need to be resized.Plz sugest the solution.

I don't understand completely.But below is a piece of code I wrote render a image as a zoom popup and then when i cliked on the pop up it resized to its original size. May be it can help you
use :-
img.addEventListener(MouseEvent.CLICK, image_click);
img.addEventListener(ResizeEvent.RESIZE, image_resize);
PopUpManager.addPopUp(img, this, true);
and
private function image_click(evt:MouseEvent):void {
                    PopUpManager.removePopUp(evt.currentTarget as Image);
private function image_resize(evt:ResizeEvent):void {
                   PopUpManager.centerPopUp(evt.currentTarget as Image);
If you are using image.

Similar Messages

  • Resize effect maintaining the window centered

    I have a TitleWindow that I open using the PopUpManager.
    PopUpManager.centerPopUp(paymentWindow);       
    I would like to apply a resize effect when I show the window.
    <mx:Resize id="expand"  widthTo="640" heightTo="480"/>
    The problem is that the TitleWindow is resized from the upper left corner to the bottom right corner. So the popup is no more centered. How can I apply the same effect but maintaining the window centered in the screen while it is resized?

    I don't understand completely.But below is a piece of code I wrote render a image as a zoom popup and then when i cliked on the pop up it resized to its original size. May be it can help you
    use :-
    img.addEventListener(MouseEvent.CLICK, image_click);
    img.addEventListener(ResizeEvent.RESIZE, image_resize);
    PopUpManager.addPopUp(img, this, true);
    and
    private function image_click(evt:MouseEvent):void {
                        PopUpManager.removePopUp(evt.currentTarget as Image);
    private function image_resize(evt:ResizeEvent):void {
                       PopUpManager.centerPopUp(evt.currentTarget as Image);
    If you are using image.

  • How to set resize effect for border container using flex 4 or 4.5

    Hi friends,
    resize effect works fine for one control (image). if want to same for custom comp, then is not working.
    below is the code is in custom comp,
    <?xml version="1.0" encoding="utf-8"?>
    <s:VGroup xmlns:fx="http://ns.adobe.com/mxml/2009" width="200"
             xmlns:s="library://ns.adobe.com/flex/spark" horizontalAlign="left" verticalAlign="bottom"
             xmlns:mx="library://ns.adobe.com/flex/mx"  xmlns:parsley="http://www.spicefactory.org/parsley"
             xmlns:general="com.presentation.components.general.*">
        <fx:Declarations>
            <parsley:Configure/>
        </fx:Declarations>
        <s:BorderContainer id="bcMain" backgroundColor="#f4f4f4" borderColor="#CDC7C7" borderStyle="solid" borderVisible="true" width="100%">
            <s:layout>
                <s:VerticalLayout horizontalAlign="left" verticalAlign="middle" paddingTop="5" paddingLeft="5" paddingRight="5" paddingBottom="5"/>
            </s:layout>
            <s:HGroup id="hg1" horizontalAlign="left" verticalAlign="middle" width="100%" gap="5"
                      buttonMode="true" useHandCursor="true" >
                <s:Image id="img1" source="@Embed(source='assets/flex.png" width="15" height="17" cachePolicy="on" cacheAsBitmap="true"/>
                <s:Label text="label 1" textAlign="center"/>
            </s:HGroup>
            <mx:HRule width="100%"/>
            <s:HGroup horizontalAlign="left" verticalAlign="middle" width="100%" gap="10">
                <s:BorderContainer id="bc1" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img2" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 2" textAlign="center"/>
                </s:BorderContainer>
                <s:BorderContainer id="bc2" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img3" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 3" textAlign="center"/>
                </s:BorderContainer>
                <s:BorderContainer id="bc3" width="35" useHandCursor="true" buttonMode="true"
                          backgroundColor="#f4f4f4" height="40">
                    <s:layout>
                        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle"/>
                    </s:layout>
                    <s:Image id="img4" source="@Embed(source='assets/flex.png" cachePolicy="on" cacheAsBitmap="true"/>
                    <s:Label text="label 4" textAlign="center"/>
                </s:BorderContainer>
            </s:HGroup>
        </s:BorderContainer>
    </s:VGroup>
    I followed how resize effects works for image control,
    <mx:Resize id="expand" target="{img}" widthTo="100" heightTo="200"  duration="2000"/>
            <mx:Resize id="contract" target="{img}" widthTo="30" heightTo="60"  duration="2000"/>
    <s:Panel title="Resize Effect Example" width="100%" height="100%">
            <s:VGroup width="100%" height="200" horizontalAlign="left" verticalAlign="bottom">           
                <mx:Image id="img" source="@Embed(source='assets/05_ipad.png')" width="10" height="10"/>
                <mx:Button label="Expand" click="expand.end(); expand.play();"/>
                <mx:Button label="Contract" click="contract.end(); contract.play();"/>
            </s:VGroup>
        </s:Panel>
    Please help me.

    BorderContainer wont resize if the fixed width is specified, if u want to give some minimum width you can use minWidth . Give  Width = "100%", now it will get Resizing capabilities

  • PAging in Asp Repeater control in Visual Webpart

    hi
    i am trying to create a visual webpart in which i am getting 100 items from the list and showing it on to the page using ASP:Repeater control now i've to apply paging on the Repeater control,can anyone tell me how do i apply paging in Asp.Net Repeater control. 

    Hi,
    There's no built-in pagination in the Repeater control, you can achieve pagination in the Repeater control by creating another Repeater control for pages and use PagedDataSource as it's source.
    Here is a blog with the code for your reference:
    Repeater control with paging in share point 2010 using c#
    http://sharepointdotnetfalls.blogspot.com/2013/07/repeater-control-with-paging-in-share.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Resize effect bug?

    In the mxml file below, if you click 'Expand' the red box on
    the right uses a Resize effect to grow, but it ends up expanding
    way off the screen (producing a scrollbar in the application window
    briefly). Since I have specified 'absolute' layout, shouldn't the
    Resize effect respect the 'right="0"' constraint and expand the red
    box to the left instead of to the right?
    Is there another way of doing this?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    width="100%" height="400" backgroundColor="yellow" >
    <mx:Script><![CDATA[
    import mx.effects.Resize;
    private var resize:Resize = new Resize();
    private function expand():void
    resize.target = right_box;
    resize.heightBy = 0;
    resize.widthTo = this.width;
    resize.duration = 1000;
    resize.play();
    ]]></mx:Script>
    <mx:HBox id='left_box' width="200" height="100%" left="0"
    backgroundColor="blue" />
    <mx:HBox id='right_box' width="200" height="100%"
    right="0" backgroundColor="red" >
    <mx:Button label="Expand" click="expand()" />
    <mx:Button label="Contract" click="right_box.width=200;"
    />
    </mx:HBox>
    </mx:Application>

    Well, I suppose we could add support to resize to tell it to
    move as well as resize, but we're not setup that way. You can add a
    move effect that will do what you want.
    Objects that are affected by effects don't listen to
    constraints and such because otherwise those things could block the
    effect.

  • Is it possible to resize a photo in iPhoto--controlling the maximum dimensions and the dpi?

    is it possible to resize a photo in iPhoto--controlling the maximum dimensions and the dpi?

    The dpi depends on the print size you'll be making. This explains it in detail:  The Myth of DPI.
    A 300 dpi image for a 4x6 print will have fewer pixels in it than a 300 dpi image for an 8. 10 print. 
    You can set the pixel dimension of a photo by exporting it via the File ➙ Export ➙ File Export menu option and use the Custom size setting.  However, you should crop the photo to the size ratio you want before exporting, i.e 4 x 6, 5 x 7, etc.  Then set the maximum pixel size you want for the image:
    OT

  • How do I turn on the GUI controls for the Focus Blur Effect in Final Cut Pro X

    I can't find the setting that enables the GUI control overlay to manipulate the parameters of the Focus blur effect in Final Cut Pro X. When I have the clip and the focus effect selected I only get a center element overlay. At one point I had controls for all the other elements of this effect.
    anyone know a shortcut or how I can toggle these controls back on?

    I don't see any other screen controls either.
    Maybe there was a change sometime, or maybe you were using a different effect?

  • How do I disable the Image Resize Effect?

    The Image class does a zoom resize effect when you change
    it's width and height. How do I disable that? it's .transitions
    array is already empty.

    Thanks Ralph, that fixed it, I did uncheck that box earlier however I had not restarted the computer. Thanks again.

  • Using Resize effect to resize the component to 100percent

    Hi all,
    I am using resize component to show the opening of a datagrid which contains itemrenderers.The number of itemrenderers is not fixed hence i want to use the resize effect to resize the grid from height=0 to height=100%. I m not getting any clue as to how to do percent resize with effects.
    Please share ur ideas.

    Thanks for your answer!
    I tried setting the font size to Auto, but the problem is that the text starts off really small, at about 12pt font. I really need it to start with large text, eg to start off as one word at say 60pt size, and be able to go down to two words on the top line and two words on the bottom line, at around 20 pt size. So it starts large, but goes down in size with the more text that is put in.
    I am making editable Avery Labels for teachers - 10 to a page - to put kids names in, or subjects and names.
    Also... is it possible to cenre the text vertically with in the text box?
    Thanks very much for your advice!

  • Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'.  I've downloaded this as an update to CS5 on my new i Mac.  W

    Recently downloaded a trial version of CC and when trying to use the Adjustment Brush in ACR it brings up the message 'All the local adjustment controls are set to have no effect on the image'. I've downloaded this as an update to CS5 on my new i Mac. Would appreciate suggestions to remedy this. Rhonda

    I think it means "the sliders are all 0 so painting adjustments with this brush won't change anything."  In other words, move one of the sliders to a non-zero position, for example Exposure from 0 to 1.0, and then see what happens.  You can edit the brush and change it to do something other than Exposure +1.

  • How do I remove the spotlight effect on the bottom of my screen? I am running OS 7 on a Macbook. I have already tried the Shift Control Eject.

    How do I remove the spotlight effect on the bottom of my screen? I have already tried the Shift+Control+Eject.

    Could you please post a screen shot - not sure what you mean by spotlight effect.

  • Sound Blaster Z is missing EAX environment effects in the Control Panel

    Sound Blaster Z is an incredible card, and environment effects are the most important thing I look for.
    Sound Blaster Z supports EAX 5.0. So where did the EAX settings in the SBX Pro Studio Console go?
    For example, I'm unable to choose "Concert Hall" or "Stone Corridor" or "Amphitheater" environmental effects.
    Was this intentional? Should I buy a Sound Blaster X-Fi card? As far as I know, X-Fi cards are not missing EAX settings in the control panel. But it really doesn't make sense that Sound Blaster Z is missing EAX settings in the control panel if it is a more advanced sound card and supports EAX 5.0.
    Attached Images
    image2.jpg
    (59.9 KB, 15 views)

    Hello Carlo . I have 2 sound blaster card in PC. X-fi titanium fatality and ZxR. My Windows is 8.1 64bit and i install Creative_alchemy_1.45.02 and EAX 5.0 effects works great on both soundcards.. But you need configure Alchemy to .exe files of games. Hope this help.. https://www.youtube.com/watch?v=QLj9obfMppk

  • When I resize the font for the Page Labels on the tab control in LabVIEW 7, the Increment/Decrement size gets messed up. Is there a solution to this problem or is this a bug?

    I have noticed in LabVIEW 7.0 and 7.1 that when the text in the page labels display is enlarged, that the arrows enlarge but the top arrow enlarges more then the small arrow but then when you decrease the text size, the arrows stay remain large. This is not a problem in 6.1 because the arrows aren't available. Is there a work around for this bug or do I have to use small text for these page label arrows to look right?

    I must admit that I've never used the page labels display and it does look like a bug. You can fix it however. Select the tab control and choose Advanced>Customize. In the control editor, select the page label control and do the same thing. You should be in the control editor for the numeric control and then you can go to edit mode and enlarge the decrement arrow to make it the same size as the increment.

  • Can I control the genie effect for the editing toolbar?

    On my laptop I notice that the photo editing toolbar at the bottom comes up when I move the cursor to the bottom of the screen but on my 27" iMac it is always up at the bottom. Is there a way to turn on the genie effect so the toolbar is not seen on my 27" iMac just as it is not seen on my laptop?

    Yes, it is full screen view.
    I found autohide toolbar under viewmenu. That solved it. Thanks!

  • The remote controls stopped working

    I bought with an official Apple dealer the new i Pod Shuffle (generation 3) to use during my bike rides. After the first ride the remote controls stopped working and the voice over feature spontaneously started repeating the songs title. As well the volume control stopped working altogether. I didn't have time to return the Shuffle after only a week so I disable the voice over feature and keep on using my Shuffle with no volume adjustment, fast forward etc ….
    After a visit to the Apple website I saw that several owners complained about this problem and assumed Apple would know about it and be ready to offer a fast solution. So picked an official Service Center as close as possible from my location.
    First shock the Service Center was dirty, the paint obviously several decades old and faded, the light kept to the minimum.
    Second shock not Tech on duty to check something as simple as a headsets. I realized there was no way to have a fast resolution to my problem. The Shuffle will be send to a regional repair center, I could have save the trip and just go to an Apple dealer. What the use to have Service Centers if they don't provide service?
    Now when a product is returned, after 25 days of ownership (can't say use), a product designed by a company with the reputation of Apple you expect some kind of sign that the company is sorry, stands behind it's product and will do all possible to solve the problem. WRONG.
    Third shock. The person who took my Shuffle obviously never saw a Shuffle generation 3 before or even knew it existed. She explained over and over that I may (but it sounded more like I will) be charge for the repair. Even asked me to pay upfront a basic fee to cover the time of a Tech checking on the product. And that the Tech will give me a quote if I am to be charged. Furthermore She found tons of reasons why eventually I would be charged to repair the product, however no technical person ever checked on the product. Well I guess only users read messages on Apple website not employees of Apple.
    So what now? I am suppose to receive an E-mail in 24 hours to 5 working days, in which I'll be explained the result of the Tech investigation.
    I guess most owners of Apple products have a better experience with the Customer Service or where the reputation of Apple being a “cool” company comes from? But based on my experience it looks like Apple's products and Apple's Customer Service may not meet Apple's reputation or customer's expectations. Or am I asking for too much?

    I seriously doubt you were at an Apple Store and you were not dealing with Apple employees. You were dealing with a 3rd party shop that does work on Apple products.
    Don't know where you are located but you could contact Customer Service at Apple and complain but they are somewhat limited it dealing with a 3rd party company. But they will at least have you complaint on file. Or you could attempt to find an actual Apple Store and take your Shuffle there. Or you could try one of the workarounds listed on the threads here.

Maybe you are looking for

  • Remove Exchange Calendar from iCal

    I have an Exchange Calendar in iCal (Mountain Lion) that I want to remove. How can I do this? If I select it and choose Edit the Delete option is greyed out. The account is not listed in Preferences > Advanced either. I want to delete it because ever

  • Error while upgrading - iPhone4 locked

    I just tried to upgrade my iPhone 4 to OS vs. 4.3.4 After downloading and during the install I got a non-descriptive error message and now my iPhone is "locked" with the picture of the iTunes and USB icons on the screen. How do I fix this? Thanks!

  • How do I upload an album to Facebook if the "Publish" Button is continually greyed out?

    I have created 2 new albums from a recent trip.  The pictures are all edited and ready to be uploaded to Facebook, but when I push the Facebook button, the "Publish" button in the dialog is continually greyed out and I can't publish.  Earlier this ev

  • Can't move pix to library

    Hi-- Downloaded some pix to iPhoto. Modified them outside of iPhoto, and saved them back to iPhoto w diff name. They don't show up in the (Library) pix viewable when you open iPhoto. When I try to import them to iPhoto, I'm told they're already there

  • Controller in Simple Search in Toolbox tutorial

    Hi, I am very new to OA framework.I have just begun by learning from Toolbox tutorial provided in Jdeveloper 9i(I am working in 11.5.10.2).In Create search(simple search) we define Application Module,EO and VO(and other things like Associations).I am