Deleting/hiding a preloader and a button

Pls help - i have to figure this out before 2pm ESP today. I
purchased a flash intro template and switched out the text, images,
etc. for a colleague for an internal presentation. Here's the
problem: he wanted the intro to run twice - seemlessly - so at the
end of the first .fla file I changed the 'stop" action to a
loadMovie action. The problem is the preloader and button that is
OK when the first .swf file runs is fine but I can't figure out how
to delete it from the 2nd .swf file. (The company i bought the
template from said this modification is out of their realm...) I'm
desparate now... The .fla files are huge - but I can send a link to
show what I mean. Thanks,
Lisa

I solved it in this way:
package untitled24;
import javax.swing.UIManager;
import java.awt.*;
import java.io.*;
import java.awt.event.*;
public class Application1 extends Frame
   private TextArea tekstgebied;
   private MenuItem ok;
   public Application1()
    MenuBar menubalk = new MenuBar();
    setMenuBar(menubalk);
    Menu hoogste = new Menu("ok");
    menubalk.add(hoogste);
    ok = new MenuItem("test");
    ok.addActionListener(new MenuHandler());
    hoogste.add(ok);
    tekstgebied = new TextArea();
    add(tekstgebied);
    addWindowListener(new WindowAdapter()
      public void windowClosing(WindowEvent e)
        dispose();
        System.exit(0);
    setSize(300,200);
    setTitle("oef 1");
    setVisible(true);
    public static void main(String[] args )
      new Application1();
    public class MenuHandler implements ActionListener
      public void actionPerformed(ActionEvent f)
        FileWriter uit;
        String inhoud;
        inhoud = tekstgebied.getText();
        try
          uit = new FileWriter("bestand.txt");
          uit.write(inhoud);
          uit.close();
        catch (IOException e)
          System.out.println("Fout bij het openen, maken of sluiten bestand");
          e.printStackTrace();
  }

Similar Messages

  • Using Tiscali Webmail with Firefox 6. If I try and delete an email the Ok and Cancel buttons are disabled and nothing happens, have to use F5 to take me back. IE8 works so is this a compatibility issue?

    Using Tiscali Webmail with Firefox 6. If I try and delete an email the Ok and Cancel buttons are disabled and nothing happens, have to use F5 to take me back. IE8 works so is this a compatibility issue?

    It appears OP solved the problem: [/questions/874744]

  • Delete and Junk Buttons Disabled

    I noticed today that the "Delete" and "Junk" buttons in Mail's toolbar have become disabled ("grayed out"), even with a highlighted message in the message list pane. (I use a "three-pane" configuration, if that matters.) All the other buttons (Reply, Reply All, Forward, New Message, Get Mail, Note, and To Do) work fine.
    If I open a message into its own window, those buttons are active.
    All buttons work fine on another computer running the same OS version. I haven't installed any updates in the last few days.
    Does anyone have any ideas about what might be going on or how I could fix it? Thanks for any ideas.

    This is strange. With only a reboot (no updates applied), those buttons are now working again.

  • TS2755 Hi All - I sent a text using my iphone 5 - It is PAYG and had no money in it. It tried to send as an SMS but gave the 'green button reject message'. After deleting the convo, the phone keeps trying to send the deleted text via SMS and wont stop not

    Hi All - I sent an sms using my iphone 5 - It is PAYG and had no money in it. (stupidly)
    It tried to send as an SMS but gave the 'green button reject message'.(no money)
    Step 2 in this stupidity - the phone keeps trying to send the deleted text via SMS and wont stop notifying me of this. Totally ruining the functionallity of my phone, and more so totally annoying. All I want to do is stop the constant re-trying of sending the deleted SMS.
    Any ideas?
    Many Thanks!

    Hi, many thanks for your help - Pressing and holding sleep/reset hasn't worked, the msg is still continually reporting it is failing to send. I can restore to a previous version however I'll lose my paid apps. Is there any way to work around this. I'm only concerned about one app - Epocam HD which I purchased last month. My last backup on PC is 4 March 13 - before I bought the paid app - Itunes advises me I'll have to re-pay to get my apps (app) back. Even though it advises that icloud backed up this morning at 1:30 am (which although it is before the text, I cannot manually select this restore).
    What a mess!

  • Why is the "Delete" and "Junk" buttons repleased with the "Archive" button (Only for one of the accounts)?

    Hello,
    I must have changed a setting, so that the "Delete" and "Junk" buttons above the mail pane have disappeared, and an "Archive" button has appeared instead. This is true only for my mail through Gmail (IMAP), but when i open a mail from my other account (POP), i still see the "Delete" and "Junk" buttons.
    How can I fix this?
    Thanks in advance
    Ayse

    Try this:
    Select an email that does not show all the correct buttons in the header information section above the actual message.
    right click on the blank area just above 'Other Actions', you should get a popup saying 'Customise'.
    click on 'Customise'
    a new window opens.
    you can drag items onto that header area, but I would suggest you click on 'Restore Default Set' button and then clickon 'Done' button.

  • HELP: Preloader and Button AS3

    Hi guys!
    I used to work on AS2 to make my animations, buttons and portfolios, but now I needed to use AS3 to make some forms interact with some PHP script.
    TextInputs and Buttons on COMPONENTS are working and interacting normally with PHP. My PreLoader is working great too. But what should the easiest is not working: MY SIMPLE BUTTONS! It used to be so easy in AS1 and 2, but now on AS3 it's not working. I am putting all my action and codes in a ACTIONS FRAME in the top of my animation, but it is not working!
    I have my Preloader on my frame 1 working, calling my animation on frame 2. The code is here (it's working):
    stop();
    addEventListener(Event.ENTER_FRAME, loading);
    function loading(event:Event) {
    var bytestotal = stage.loaderInfo.bytesTotal;
    var bytesloaded = stage.loaderInfo.bytesLoaded;
    var sclbar = Math.round(bytesloaded*100/bytestotal);
    custom_animation.gotoAndPlay(sclbar);
    if (bytesloaded >= bytestotal) {
    removeEventListener(Event.ENTER_FRAME, loading);
    removeChild(custom_animation);
    gotoAndPlay(2);
    Then I placed my buttons actions on the frame 2.
    If I use the action:
    home_btn.addEventListener(MouseEvent.CLICK,clickHome);
    function clickHome(evt:MouseEvent):void {
    gotoAndPlay(2);}
    release_btn.addEventListener(MouseEvent.CLICK,clickRelease);
    function clickRelease(evt:MouseEvent):void {
    gotoAndPlay(2690);}
    My movie pauses and no action is added to my buttons.
    I get this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at index_Scene1_fla::MainTimeline/frame2()
    If I use the action:
    addEventListener("addedToStage", oas);
    function oas(ev){
    init();
    home_btn.addEventListener(MouseEvent.CLICK,clickHome);
    function clickHome(evt:MouseEvent):void {
    gotoAndPlay(2);}
    release_btn.addEventListener(MouseEvent.CLICK,clickRelease);
    function clickRelease(evt:MouseEvent):void {
    gotoAndPlay(2690);}
    The movie plays complete, but I get no actions in buttons and a error in my components textinput and button (they look like shaking).
    I get this error: 1180: Call to a possibly undefined method init.
    I tried to use the import flash.display.SimpleButton too, but it doesn't work too.
    Anyone could help me????
    Thanks,
    Pedro

    If you can provide a clear explanation of where the buttons are and where the code for them is located that might help lead to a solution.  From what you have described already it is not clear where the code is and where the buttons are.  You should not have to use an init function if you are doing so to wait for the buttons to be loaded... they are already loaded when you get wherever they are.
    For the 1009 error, it is indicative of the object targeted by your code does not exist in theframe where that code is.  SO if you have your code on frame 1 and your buttons are in frame 2, that would account for that error, as well as a few other possible scenarios.

  • I am trying to free up some room on my touch and am unable to delete any songs or books from the listing.  With iTumes open and my touch listed I open the touch.  I then select the items I want to delete from the touch and press the delete button.

    I am trying to free up some room on my touch and am unable to delete any songs or books from the listing.  With iTumes open and my touch listed I open the touch.  I then select the items I want to delete from the touch and press the delete button.  Nothing happens.  I have also tried to right click on the item, but a delete option is not listed.  What do I need to do to get rid of some books?

    Open itunes, connect ipod, go to each tab, select what you want to be on the ipod, sync

  • I updated my iphone 4 to version 5.0.1 and when I try to delete an album, there is no button to delete. What do i do??

    I updated my iphone 4 to version 5.0.1 and when I try to delete an album, there is no button to delete. What do i do??

    Is it an album that was synced over from your computer? If so, the only way to delete that album will be to deselect it in iTunes and do a sync. That will erase it from the device

  • I have iPhone4. It has been working fine. I have not rebooted my phone lately, so I just deleted a few apps and thought I would do a soft reboot. I held down sleep button and home button. It shut down and apple logo came up but phone will not come back.

    I have iPhone4. It has been working fine. I have not rebooted my phone lately, so I just deleted a few apps and thought I would do a soft reboot. I held down sleep button and home button. It shut down and apple logo came up as it has before, but it has been about 25 minutes and phone has not come back up. What's going on? Help!

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808

  • Succession Planning 3.0 - Job Competencies - Hide Delete and Edit button

    Hi,
    In the detail panel of Job, there is a tab for Competencies.
    How do I hide the Delete and Edit button for each of the competency that is in the listing?
    I tried the file enable_actions.xsl and change the value to False.
    <xsl:variable name="enable_edit_competency">false</xsl:variable>
    <xsl:variable name="enable_delete_competency">false</xsl:variable>
    This remove the Delete and Edit button in the Job details, but it also remove the buttons in employee details.
    I want to keep the button in Employee Details.
    Thanks
    Jack
    Edited by: jackwong on Jul 28, 2011 8:16 AM

    Hi Luke!
    Thanks for the tips!
    I copied sap_competencies_xsl.xsl to zzsap_competencies_xsl.xsl
    Then i changed the value
    "$enable_delete_competency = 'na'"
    Then, in sap_job_to_competencies.xsl
    <xsl:include href="nakisa://Titan_Templates_SRS/ZZSAP_COMPETENCIES_XSL.xsl"/>
    It works after a restart!
    Thanks
    Jack

  • My home and power button is not responding after I deleted an app from my settings. Can anyone help?

    I went to update my iPhone 4 to the new iOS 7 but needed to create some space. After deleting a couple of apps, my home and power buttons now aren't responding.
    Has this happened to anyone else before? I've read that a back up and restore might help.
    Any advice would be greatly appreciated.
    Thanks, Claire

    Place the iPod in recovery mode using one of these programs and then restore via iTunes:
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    or
    http://joshuabailey1997.wordpress.com/2010/09/02/recboot-v1-3/
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                           
    RecBoot tip
    RecBoot may have problems on 64X windows, then try:       
    Tenorshare ReiBoot – Enter & Exit iPhone, iPad, iPod Recovery Mode with a Single Click
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    Installs blootware on PC too

  • I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    I pressed the button twice and purchased the same movie twice on istore.  How do I delete the double purchase and be reimbursed?

    http://www.apple.com/support/mac/app-store/contact.html?form=account&topic=MacAp pStoreAccountandBilling

  • Regarding the tab Distribution Routes is hided and scheduling button too

    Hi Techies,
    Iam trying to configure the Change Request in Solution Manger 4.0 system while doing so i want to configure in Central Configuration of change management for this what is the tcode available in Solman4.0 and anybody know how to configure the Change request management
    the tab Distribution Routes is hided and scheduling button is also hided in Change Request Management
    solutions rewarded!!
    regards,
    S.Rajeshkumar

    Hi
    I want to access GL item tab account number from MIRO transaction to BADIINVOICE_BADI Method CHANGE_AT_SAVE. I entered the account number in GL account tnumber tab. but parameter TI_RBCO_NEW-BUKRS & TI_RBCO_OLD-BUKRS values are empty inside BADI method.
    Can you suggest me how to find this.
    Regards
    Chandra
    Edited by: princeck on Oct 3, 2011 2:32 PM

  • No sound at all for incoming calls, txts, games i tried everything reset, restore , delete content and reset , reset network settings. Alarm sounds work but notification sounds don't work please and mute button is in ring mode

    No sound at all for incoming calls, txts, games. I have checked the side mute switch. Volume is all way up. All notifications are on.  I can hear tones when I go to change them. I can hear my music.  I can hear talking on videos I have taken.  I have tried everything I know to do(reset,restore,reset network settings,reset content and other settings and mute button is not ON)Please help!

    This is exactly the same problem I am having. I dropped the phone one time I think that was the reason. Now I cant seem to find any solution to fix it and it will cost me $149 to buy a new phone? There has to be a way to fix this problem.
    When I put it in speaker phone I can hear but not voices through the phone.

  • How do you use forward and back button on mouse and use "zoom" in web browser.

    Ok so apparently this forum is ruled with an iron fist or something my very honest and truthful problems with these issues seem to have been instantly deleted in my last discussion?
    I'll try this once more.
    1) How do you use the forward and back button on a mouse without having to buy a product like Steer Mouse? There must be a way to do this without having to buy a program given it's such a useful feature that 99% of users need. I don't want to spend hours researching something that should already work. Any advice?
    2) How do you zoom in for web browsers like Chrome without it globally zooming in everything on the monitor (even background applications). I don't want to zoom in background applications. I want to be able to zoom in the web browser and still maintain all the features like the side bar, not just a little magnifying glass type thing.
    I'm currently zooming in with the CTRL-Middle Mouse button, but I can't find a way to use this feature so it's useful to browse the web it seems to not scale the browser correctly but rather is a global zoom. Any solution for this?

    Thanks so much!
    Like I said I am new to Apple products so it's still unclear to me which programs I do or don't need as I'm setting up and configuring all my software and devices.
    The Logitech Control Center appears to work perfectly for what I was trying to do!
    I accidently clicked "This helped me" instead of "This Solved My Question", sorry about that this was a solve!

Maybe you are looking for

  • I'm getting an error message while trying to install lightroom 4 beta on my mac

    The download seems to go fine, but when I go to open "Adobe Photoshop Lightroom 4-1.pkg" I get an error message reading: "com.apple.installer.pagecontroller error -1"

  • ITunes says iPad is supervised by another computer?

    I have a school distributed iPad and they gave us the freedom to put music on it. However, when I plug in my iPad into my PC, an error message comes up and says, 'iPad is supervised by another computer and cannot be used with this computer,' and then

  • EA3: Trigger status doesn't refresh

    Hi, On enabling/disabling a trigger, it's status icon doesn't refresh unless you manually refresh the whole triggers branch. Thanks, K.

  • Get the URL

    Hi all. I am quite new to BSP. Actually my BSP is being called from web dynpro. I need to get some parameters from the URL. How can I read back the URL and analyze the parameters? Thanks in adv.

  • Fact join Fact in DAX

    hi All, I have a question about DAX for join itself, the scenario is: 1. get last quarter customer with "A" status from Fact table 2. based on the customer list get from #1 to join this quarter customer with "AB"status  from the same fact table 3. di