create a pop-up with close button

Hi, I want to create a popup with close button and it's be great if he doesn't minimize and dragable.

I search on google but I only find a popup with JavaScript code and load URL

what I want:

1 - there is more information button

2-i want when I click, it pops up a window (presentation), I want to load (show) certain content such as: texts, images and clips in my library

3 - I need a close button that remove (close) from my window

I try to not use AS3 and use the frame graphic Technics to create the pop up window, but it make me so confused and I think that it is better to use some load and unload the movieclip script or something like that

can anyone help?  Thank you very much

as mentioned ned, you did local rectangle to fl_clickToGoToAndPlayFromFrame_2.  to make the rectangle outside of this function call, use:

var rectangle: MovieClip

enter_mc.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame_2);

function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void

{

Rectangle = new my_rectangle();

addChild (rectangle);

}

removebt.addEventListener (MouseEvent.CLICK, sos);

function sos(event:MouseEvent):void

{

removeChild (rectangle);

}

Tags: Adobe Animate

Similar Questions

  • How to create a dynamic action with a button?

    Hello, I created a dynamic action with a button, which should show a region of the page When you click.

    What I have to enter in the State et value of the condition?

    Thank you

    Hello

    1. in doSubmit ("ACCEPT");

    ACCEPT is nothing than the name of the button, but I hope that you have created the name of the button as "BELOVED".

    $2 s ('P57_ACCETTA', 1);

    $s('P57_ACCETTA',1)---> all by setting the value you give space. Make the changes and check.

    And you enter this script in the HTML header.

    If possible you can send your page with the credentials so that will look.

    -SreeNithi.

  • Help with close buttons



    I have read forums and scouring the internet to find a way to write a flash button or create one in captivate 3 using the click on run javascript:self.close() javascript function and I tried the ActionScript on (release) {}
    getURL ("javascript:window.close ()" "");
    }
    Please help me.

    Thank you

    Alex

    Hi Alex

    Is it possible that you are overthinking?

    Try to set the end action of your project to close the project. Then insert a button object or area click simply jumps to the last slide. What is happening is that the user clicks on the button, the last slide appears and the project closes (if possible).

    See you soon... Rick

  • Help with modal Skillbuilders Page close button

    Hello

    I try to use Skillbuilders modal Page (which is an awesome plugin) to bring up a page apex to attach files. This part works fine. but when the user clicks Close button or icon X modal dialog that I want to return a value or change the text to a link on the parent window. I've read other discussions, but I'm not able to find a way to capture that close event and perform the dynamic action on the parent page before closing the window. Could someone through some light on this?

    Thanks in advance
    PG

    Create a dynamic action:

    Event: Manual close [SkillBuilders Page modal (2.0.0)]
    Selection type: DOM object
    DOM object: document
    Condition: - none -.
    Scope of the event: link

    With real action:

    Identification
    Action: Run the JavaScript Code
    Execution options
    Fire when the Page loads: not verified
    Code:

    if(this.data.modalPageCloseValue!=""){
    $(this.affectedElements[0]).val(this.data.modalPageCloseValue);
    };
    

    Items affected
    Selection type: item (s)
    Article (s): (select an item. My example js manages only 1 point).

    this.data.modalPageCloseValue is the returned value/object by providing the action close modal javascript/a value object.
    For example, to create a dynamic action on your modal page

    Event: Page load
    Condition: - none -.
    Scope of the event: link

    With real action:

    Identification
    Action: Run the JavaScript Code
    Execution options
    Fire when the Page loads: not verified
    Code:

    $(".modalclose_link").click(function(){
    parent.$(parent.document).apex_modal_page('close', "this here is a literal string that will be returned. You can provide a value or object here however.");
    });
    

    Items affected
    (none)

    Note here that '.modalclose_link' is a jquery selector, you will have to customize. However, it is just an example. You could take the actual function code and use it to tell a dynamic action of a button.

    If you want to see this 'work', you can modify the JavaScript "Manual Close" and change for it to have the alert back:

    if(this.data.modalPageCloseValue!=""){
    alert(this.data.modalPageCloseValue);
    };
    

    Hope that helps :)

  • Create a Pop Up window with edge

    Hi guys!

    Is it possible to create next: pop-up window appeared on tha click the button? If the answer is "Yes" - could you please provide the detailed procedure or an example?

    Thanks a lot for your help!

    Here are the files:

    http://www.meschrene.puremadnessproductions.NET/Samples/Gallery/edge-samples.zip

  • Problem with a 'child window close button '.

    I made this newsletter for years and in the model of this newsletter, I use a dreamweaver extension "button of the close child window."  I usually just bring up the last months newsletter rename for the coming months and swap out the content and save, publish it on the site.

    This month, for some odd reason the 'Close' buttons do not work.  These same buttons still work during the last months and every other bulletin of the previous months.  There is nothing different in the code that I can see.  I went back to the model and re-inserted the buttons "Close" and re - apply the model with the same result.  Last month the bulletin buttons work well, this month buttons do not work well.  Can someone please tell me what I can do to fi this.

    Here is the URL of the page with the links to the two versions of HTML newsletters.  You will need to click the HTML link in the first two entries for this month and then last month newsletter.  Two close buttons appear on these pages at the top right and in the Middle at the bottom of the page.

    http://www.fulcrumcwi.com/archive_newsletters.html

    This months version HTML: http://www.fulcrumcwi.com/newsletters_html/2011_12.html

    HTML version of the last month: http://www.fulcrumcwi.com/newsletters_html/2011_11.html

    Thank you!!

    Nina

    "I just spoke to a colleague of mine and he told me that the reason for which this page close button does not work and the other is from the page of archive where you select to open the newsletter of this month, I forgot to specify the 'target' in white.  When I made it and uploaded the page to archive and open the December letter, the close button worked!

    It's always something small that all mess up!  Thanks again for your help and I will try the fix that you sent on future pages.

  • Creating a text input dynamic in a form with a button link

    I saw an article about this before, but I can't seem to find now. I am trying to create a textInput with a button link below that says "add another element. I want to be able to create a form that is generated dynamically by the user. And can reach however many times the user click adds another.

    We saw this article? Or has an idea about the best way to go about this design?

    Thanks for your help.

    Hi Cootis,

    You can simply take a bread stick and create the textInput dynamically at execution in ActionScript. See the example for simpler code below...


    http://www.Adobe.com/2006/mxml"layout ="absolute">

      private var arrayCollectionList:Array = new Array();
        
    private void addTextInputToForm(): void
    {
    var textInput:TextInput = new TextInput();
    textInput.width = 250;
    textInput.height = 25;
    boxContainer.addChild (textInput);
    }

    ]]>


     
        
     

     

    Thank you

    Jean Claude

  • If I open show history, I can't close it. There are two gray arrows that do not work but no close button. With the help of el capitan for mac.

    I can't show all close the page of history. I used to be able to before the upgrade to el capitan. Now, there is no close button on the history page. It doesn't go away until I got close FF.

    Feel free to undo changes. You may need to quit Firefox first to release the files currently in use.

    In addition, you should be able to close the dialog box library using Cmd + w (close tab) or Cmd + Shift + w (close window). Or does any of these work for you?

  • Unloading of an external SWF that is loaded with a close button on the external SWF to unload

    I found a discussion on this topic, but I still have problems to work and was hoping to get some help here.

    Here, I have a file: http://www.dril-quip.com/test/main.swf

    I: main.swf (menu) and I module.swf (content)

    If you go to the wellhead systems/SS-15 BigBore II submarine and click on I have to load an external swf which covers most of the parent company.

    So far so good. My problem drains the loaded swf to 'Child' with the button provided on the loaded swf to 'Child'.

    Here is the code that I used to upload the file but I can't, for the life of me, find a way to unload.

    var bigboreLoader:Loader = new Loader();
    btnbb2.addEventListener (MouseEvent.MOUSE_UP, bigborecontent);

    function bigborecontent(event:MouseEvent):void {}
    var bigboreRequest:URLRequest = new URLRequest ("moduletemplate.swf");

    bigboreLoader.load (bigboreRequest);
    stage.addChild (bigboreLoader);

    I am sure that it requires the child to communicate with the parent somehow, but I'm at a loss. If I could get a bit of advice or a link to something to deal with this, it would be a great help. I just need to have my links loading my modules and remove it when the narrow buttong is struck on the loaded swf file. I promise you that I did some research and I confess that I found asnwers, but still they do not work. I found the code below:

    Main FLA:

    function removeF() {}

    removeChild (bigboreLoader);

    }

    var bigboreLoader:Loader = new Loader();
    btnbb2.addEventListener (MouseEvent.MOUSE_UP, bigborecontent);

    function bigborecontent(event:MouseEvent):void {}
    var bigboreRequest:URLRequest = new URLRequest ("moduletemplate.swf");

    bigboreLoader.load (bigboreRequest);
    stage.addChild (bigboreLoader);

    EXTERNAL FLA:

    btnClose2.addEventListener (MouseEvent.CLICK, bigborecontent);

    function bigborecontent(myevent:MouseEvent):void {}

    MovieClip (parent.parent) .removeF ();

    }

    I think I have a poor understanding of the code. Thanks for any help you might be able to provide.

    again, this code should all be on the same timeline as btnbb2. in main.fla.

    var bigboreLoader:Loader = new Loader();
    btnbb2.addEventListener (MouseEvent.MOUSE_UP, bigborecontent);


    function bigborecontent(event:MouseEvent):void {}
    var bigboreRequest:URLRequest = new URLRequest ("moduletemplate.swf");
    bigboreLoader.load (bigboreRequest);
    addChild (bigboreLoader);

    }

    function removeF() {}

    removeChild (bigboreLoader);

    }

    /////////////////////// end main.fla code ///////////////////////////////////////

    This code should all be on the main timeline in FLA EXTERNAL.

    and btnClose2 should be placed on the main timeline in your external fla. //

    btnClose2.addEventListener (MouseEvent.CLICK, bigborecontent);

    function bigborecontent(myevent:MouseEvent):void {}

    MovieClip (parent.parent) .removeF ();

    }

    end external fla code.

  • Leave / close button for photos and videos

    Hello all,.

    someone has a simple solution to create a button that can be used to close the pop-up windows as pictures inside e-learning. I created a very simple learning where an image appears when I click a button. Now, I want to close the picture with a button (Te X) and contine with e-learning. Obviously the button could not be identified with the picture together.


    Would be really great to get help how to create that.


    Thx a lot


    Thomas

    You don't need the Exit command, but hide to close this group. I never mentioned output at all.

  • Add pop-up information after button/script is run.

    Can you add a pop up with information after a button is executed?  I am new to LiveCycle and have, with the help of this forum, created a button that blocks form fields to fill in the runtime.  What I was asking is if a pop up can be added after button advising the user to save the form with a different file name (to preserve the basic shape for future use) before finalizing the document.

    For example, we created a quote form to send to our domain to use when preparing quotations for customers.  Before they send the quote to the customer, I added the button to lock the fields first.  However, if I have this right, and they record the form, without doing a save as a different file name, they eliminate the possibility of using the base again form.

    I was also wondering if the button could be eliminated during the recording as another process of file name (so the end recipient can not see the button at all).

    Hope I have explained this clearly enough.

    Other thoughts on how other form designers have done similar tasks would be appreciated also.

    Thank you!!!

    Hello

    A button has three events that are associated with a user by clicking on the button:
    mouseDown
    mouseUp
    Click

    It is generally not a good idea to put the script that modifies the form or in the event mouseDown because he done something before the user committed fully to click action. In other words the user could click on the button and then change their mind and move the mouse over the button until they release the click.

    That leaves two events. IF all of your script works as a block, then you must place it in the click event. But if it's not, and you need two separate events, then you can put the first part (action) in the mouseUp event and the last part in the click event.

    On the basis that it will do all the work in the click event, you might have the following two lines after the lock in all areas:

    This.Presence = "invisible"; mask the lock button
    xfa.host.messageBox ("the shape is now locked, please remember to make sure that you save it under a different name", "customer quotations", 3, 0);

    He gets a status message to the user, confirming that the form is locked. If you get this working then it'll get you out blocks.

    It's a little better to make sure that the user registered as a new name before lock you the form. You could do cela two ways. One would be to test the string against the name of the template file name. If there are different means that the user has changed the form. However, it can be difficult to maintain, because if you rename the model, you have to think about going to a change the script.

    Another way would be to wrap the entire script block in another messageBox statement resembling what is clicked (Yes or no).

    It would look like this:

    var nChoice = xfa.host.messageBox ("you are about to block the form.\n\nIf you don't have not renamed the file, you will not be able to lock the form. Please click on no and rename the form first.\n\nHave you renamed this file? ","customer quotations ", 1, 2);

    If (nChoice is 4)
    {
    ... All your script...

    This.Presence = "invisible"; mask the lock button
    xfa.host.messageBox ("the shape is now locked, please remember to make sure that you save it under a different name", "customer quotations", 3, 0);
    } //close if statement.

    I hope this helps,

    Niall

  • Help needed to create a POP UP window and stores the values of the custom tab

    Hello

    I have a requirement to store a program competing in a custom table name.

    Fields are concurrent_program_name, user_concurrent_program_name (of fnd_concurrent_programs_vl) and end_user_column_name (fnd_descr_flex_col_usage_vl setting) I finished the job of script to fill the value in the table.

    Now the problem is that I have to design a creation page which have concurrent_program_name (LOV) and user_concurrent_program_name (MTI) and setting (link)

    If the user selects the value in concurrent_program_name means LOV it should display a relevant user_concurrent_program_name (in MTI) and (window) settings.

    So I create card LOV in Concurrent_program_name as follows: 1. the concurrent_program_name card 2. Map of the user_concurrent_program_name.

    Now I select an LOV concurrent_program_name and it shows a user_concurrent_program_name in MTI. (Works fine)

    I need help how to go ahead with parameters.

    If the user clicks on the link he must navigate the window pop up and displays the values of the settings, now I need to keep the close button (if the close button hit the user navigates to page creation.) and if the user hit the button Save page create then it should record the following values of custom table (concurrent_program_name user_concurrent_program_name and settings).

    Pls give me an idea to go ahead and also give me some articles about it.

    Thank you

    Corinne Bertrand

    check out this blog to create a popup window http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html

    You can create a button with 'Window.Close ()' to close the window...
    You can get the parameters of CP in the following query

    SELECT * from fnd_descr_flex_col_usage_vl
    where as descriptive_flexfield_name ' $srs$. CONCURRENT_PROGRAM'
    AND APPICATION_ID = xx

    Warning : do not do transactions with the pop-up window.

    For information about how to create the page, see Create exercise...

    Prasanna-

  • Close button

    My close button is a light yellow color and when I pass the mouse over the message is ' remember the your session and puts the computer in a low power state, so you can quickly return to work. There are some updates installed yesterday. This happened for the first time today, that I turned it on and did something else came and he tried to stop and he asked that it should stop some programs!

    I ran a report of system maintenance and she is back with weird things as my printer is disabled (it isn't) and that I had no anti virus I have Kaspersky. I don't know what else. The only reason why I ran, it was because I had not seen this option before and I wondered what he would say.
    Paula

    Never mind. I think I solved this problem? I was watching my power settings yesterday, and created a new plan instead of using Dell recommended. I looked earlier and once again clicked on Dell recommended that changed the button is red and normal normal message. I guess I learned something!
    Paula

  • Have icons of way too many shortcut on the desktop, but the problem is that I need them all. How can I create multiple user accounts with access to all the full program info/files/programs?

    I would like to create the following user accounts:

    1 DeadBoneHunter responsible of genealogy research with full access to all ACCOUNTS/FILES/PROGRAMS.

    2 FLAGGER INSTRUCTOR ACCOUNT with full access to all files, etc.

    3 user of the account of the traffic control with full access to all files etc etc.

    4 Traffic Control Supervisor account with access full etc. etc.

    5 medical accounts Cathy / Warren

    6 EXPAND THE ICON FOR EACH USER... VERY LARGE... THAN WHAT IT IS NOW. WHEN THE WINDOW OF THE SCREEN WITH ALL THE INDICATED THEREON USER ACCOUNTS, I WOULD LIKE TO MAKE ALL THE MORE GREAT.

    >

    > USE WINDOWS 7 ULTIMATE 64

    LAPTOP CONNECTED TO 52 '' MORE LARGE LED DISPLAY AND HAVE A SIZE OF KEYBOARD DUE TO ARTHRITIS IN THE FINGERS CAUGHT TIME TO FIND KEY WITH ENLARGED BUTTONS AND FORMAT PANEL. I HAVE TO JUST GET BIGGER THE ICONS ON THE DESKTOP OF THE USER.

    YOUR HELP WILL BE MUCH APPRECIATED. Thank you

    Here is a close-up.

  • Lightroom 6.6 Menu is not in line with the buttons

    After the upgrade to Lightroom 6.6 part of the menu do not align with the buttons.  For example, when you use the crop and straighten tool, next to the "Aspect" If you click on 'Original', a menu will appear with different options.  Before the menu seems very close to where I clicked, but since this last update it shows up in the lower left corner (essentially the opposite side of the screen).  See the screen capture below attached.

    Note that this happens with everything except menu for windows menu bar items (IE IE file, modify the work correctly, but others such as the Balance of whites, lenses, ect. correction show this problem).

    I don't know if that's a bug or an intervention of the strange apparatus that causes this problem.  I work on a Lenovo Yoga 2 Pro, so the screen resolution is 1800 x 3200.  It is also a touchscreen and 10 Windows running.    Note: I've also uninstalled and reinstalled lightroom, without modification.  Any help with this annoying problem would be appreciated.  Thank you.

    Lightroom Screenshot..jpg

    A known issue also noted in this thread-

    Some menus pop up in the wrong place

Maybe you are looking for