Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:20:52+00:00 2026-05-28T13:20:52+00:00

I have created a Popup that is custom component extends Canvas i want the

  • 0

I have created a Popup that is custom component extends Canvas i want the look of the canvas is similar like that showed in image. is there any idea that how to create a pop up similar like that.enter image description here

Here i am giving you the sample code that i have done till now…

<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="550" height="350" backgroundAlpha="0">
<mx:Script>
    <![CDATA[
        import mx.managers.PopUpManager;

        public function btnImage_click():void
        {
            PopUpManager.removePopUp(this);
        }

    ]]>
</mx:Script>
<mx:Image source="Images/close.png" top="4" left="500" useHandCursor="true" buttonMode="true" click="{btnImage_click();}" />
<mx:Fade id="fadeIn" duration="700" alphaFrom="0.0" alphaTo="1.0"/>
<mx:VBox height="100%" width="100%" horizontalAlign="center" verticalAlign="middle">
    <mx:Canvas height="85%" width="90%" backgroundColor="#ffffff" backgroundAlpha="1" >
        <mx:VBox height="100%" width="100%">
            <mx:HBox height="70%" width="100%" horizontalAlign="center" verticalAlign="middle">
                <mx:Image id="btnPrevious" source="Images/previous.png" 
                    click="{vsSubImages.selectedIndex--}" enabled="{vsSubImages.selectedIndex!=0}"/>
                <mx:ViewStack height="100%" width="90%" creationPolicy="all" id="vsSubImages">
                    <mx:VBox height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" showEffect="{fadeIn}">
                        <mx:Image id="img1" maintainAspectRatio="true" height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" />    
                    </mx:VBox>                  
                    <mx:VBox height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" showEffect="{fadeIn}">
                        <mx:Image id="img2" maintainAspectRatio="true" height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" />    
                    </mx:VBox>                  
                    <mx:VBox height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" showEffect="{fadeIn}">
                        <mx:Image id="img3" maintainAspectRatio="true" height="100%" width="100%" horizontalAlign="center" verticalAlign="middle" />    
                    </mx:VBox>                  
                </mx:ViewStack>
                <mx:Image id="btnNext" source="Images/next.png" 
                    click="{vsSubImages.selectedIndex++}" enabled="{vsSubImages.selectedIndex!=2}" />
            </mx:HBox>
            <mx:Box height="30%" width="100%" horizontalAlign="right" verticalAlign="top">
                <mx:Form height="100%" width="100%">
                    <mx:FormItem label="Project Name : " >
                        <mx:Label id="lblName" />
                    </mx:FormItem>
                    <mx:FormItem label="Description : " >
                        <mx:Label id="lblDescription" />
                    </mx:FormItem>
                    <mx:FormItem label="Technology Name : " >
                        <mx:Label id="lblTechnology" />
                    </mx:FormItem>
                </mx:Form>
            </mx:Box>
        </mx:VBox>
    </mx:Canvas>
</mx:VBox>
</mx:Canvas>

The main idea is to show the close button on the Canvas currently i am getting that behind the Canvas.
Please Help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:20:53+00:00Added an answer on May 28, 2026 at 1:20 pm

    Put the <mx:Image source="Images/close.png" top="4" left="500" useHandCursor="true" buttonMode="true" click="{btnImage_click();}" /> tag at the very bottom of the code before last </mx:Canvas> tag. Because canvas behaves like last is at the very top in the z-index.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a custom JComboBox with a custom popup that implements the KeyListener
I have created a custom component that I am using, more conveniently, as a
I have a popup menu that displays dynamically created custom JPanel objects in a
I have a WPF application where I'd like to create a custom pop-up that
I have a popup in a custom control that popups with a mouseenter event.
I have created customized combobox which extends JCombobox. It is having checkboxes in popup
I have created a custom TitleWindow whcih i use as a popup. The contents
I have created a custom popup to decorate my buttons with animated tooltips. I
I have created a macro for excel which will pop up form that contains
I have created a facebook apps. Works fine for me. It contains canvas url,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.