I'm crazy!Applet and JNA Error:Library 'jnidispatch' was not found!

Hi all,
sorry to bother you, I really have no idea how to do JNA and Applet. I'm hardly mazy, man.
Every time it will throw an error to me :
Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'jnidispatch' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@291aff
     at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
     at com.sun.jna.NativeLibrary.<clinit>(NativeLibrary.java:576)
     at com.sun.jna.Library$Handler.<init>(Library.java:140)
     at com.sun.jna.Native.loadLibrary(Native.java:372)
     at com.sun.jna.Native.loadLibrary(Native.java:357)
     at JNAApplet.init(JNAApplet.java:15)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)My program is so easy, I just want use Applet to revoke JNA and use the JNA to load a native lib.
here is the structure of my program:
Applet code :
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.sun.jna.Native;
public class JNAApplet extends JApplet {
     public static Kernel32 kernel32 = null;
     @Override
     public void init() {
          createGUI();
          kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
          if (kernel32 == null) {
               System.out.println("load kernel32 fail!");
          } else {
               System.out.println("load kernel32 success!");
     private void createGUI() {
          JPanel panelCenter = new JPanel();
          JButton butTest = new JButton("Test");
          panelCenter.add(butTest);
          setContentPane(panelCenter);
}When I run it on debug mode, it is ok! but when I deploy it , it will throw above error message to me.
My Applet html:
<html>
     <head>
          <title>JNA Applet</title>
     </head>
     <body>
     <script src="deployJava.js"></script>
    <script>
        var attributes = { code:'JNAApplet',  width:300, height:300} ;
        var parameters = {jnlp_href: 'JNAApplet.jnlp'} ;
        deployJava.runApplet(attributes, parameters, '1.5');
    </script>
     </body>
</html>File 'JNAApplet.jnlp':
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
    <information>
        <title>JNA Applet</title>
        <vendor>Steven</vendor>
    </information>
    <resources>
        <j2se version="1.5+"
              href="http://java.sun.com/products/autodl/j2se" />
        <jar href="JNAApplet.jar" main="true" />
    </resources>
    <applet-desc
         name="JNA Applet"
         main-class="JNAApplet"
         width="300"
         height="300">
     </applet-desc>
     <update check="background"/>
</jnlp>     I really have no idea. and I can't search any usefull infomation from Google and officer site.
Can any one help me? Thank you very much!!!!

Hi AndrewThompson64:
Did you mean the JNA project? Or are you refering to JNI, or ..something else?Yes, I mean is that I wanna jna.jar to replace JNI to code with Applet. I want Applet can run native library(.dll files).
That reads like so much nonsense to me.Sorry fo that.
Was there any 'caused by' part that you trimmed? I expected to see something to do with 'Security' or 'AccessControl'.Sorry, I can't saw any 'cause by' subsentence there. This message is just gain from Applet Console.(Is there any method to gain more message?)
About 'Security' and 'AccessControl' I just modify my java.policy file to allpermission. Subsequently, I signed all jar files.
For now I have 3 jar files(all have been signed ):
--example.jar :  for this little program.(code include applet and application entry)
--jna.jar
--win32-x86.jar : include kernel32.dll and jnidispatch.dll for win32 and x86.
and 2 JNLP files:
--JNAApplet.jnlp the entry is JNAApplet.class (this jnlp does not work)
--JNAApp.jnlp     the entry is JNAApp.class  (this jnlp works)
And for now new error message show like this:
Exception in thread "thread applet-JNAApplet-1" java.lang.UnsatisfiedLinkError: Library 'Kernel32' was not found by class loader sun.plugin2.applet.JNLP2ClassLoader@4aeb52
     at com.sun.jna.Native.getWebStartLibraryPath(Native.java:858)
     at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:97)
     at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:228)
     at com.sun.jna.Library$Handler.<init>(Library.java:140)
     at com.sun.jna.Native.loadLibrary(Native.java:372)
     at com.sun.jna.Native.loadLibrary(Native.java:357)
     at JNAApplet.init(JNAApplet.java:12)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Did you mean invoke?
Revoke: To annul by withdrawing.
Invoke: To call on.Yes, you got it. Thank you.
The JNLP file is invalid. ..I was about to put my 'standard' text here, but I'm sick of saying it. Search the forum for my posts - 50% of them, at least, mention validation and how to go about it.
Also, the applet-desc requires a documentbase.Thank you, I really think I have some invalid section. But I can't find it, and you said 'Search the forum for my posts - 50% of them...' , I can read the JNLP structure on site of sun and I can to read you post too(I'm doing like this).*I only want to know about how to load "native lib like *.dll" properly*.
What 'officer site'?I mean jna project site. Sorry for ambiguity.
Please fix that sticky '!' key. One '!' indicates astonishment, while two or more typically indicates a bozo. Thanks for your advice. Because I tried to find solution do my best lasting two days. I got nothing. I'm sadness.
here post my new files:
import javax.swing.JFrame;
import com.sun.jna.Native;
public class JNAApp {
     public static Kernel32 kernel32 = null;
     public static void main(String[] args) {
          // TODO Auto-generated method stub
          kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
          JFrame frame = new JFrame();
          frame.setSize(500, 500);
          frame.setVisible(true);
import javax.swing.JApplet;
import javax.swing.JButton;
import javax.swing.JPanel;
import com.sun.jna.Native;
public class JNAApplet extends JApplet {
     public static Kernel32 kernel32 = null;
     public void init() {
          createGUI();
               kernel32 = (Kernel32)Native.loadLibrary("Kernel32", Kernel32.class);
     private void createGUI() {
          JPanel panelCenter = new JPanel();
          JButton butTest = new JButton("Test");
          panelCenter.add(butTest);
          setContentPane(panelCenter);
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
    <information>
        <title>JNA Applet</title>
        <vendor>Steven</vendor>
    </information>
    <resources>
        <j2se version="1.5+"
              href="http://java.sun.com/products/autodl/j2se" />
         <jar href="JNAApplet.jar" main="true"/>
         <jar href="jna.jar"/>
    </resources>
       <resources os="Windows" arch="x86">
         <nativelib href="win32-x86.jar"/>
         <nativelib href="kernel32.jar"/>
       </resources>
    <applet-desc
         documentBase=""
            name = "success"
         main-class="JNAApplet" width = "200" height = "200">
     </applet-desc>
     <update check="background"/>
       <security>
         <all-permissions/>
       </security>
</jnlp>     
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="">
    <information>
        <title>JNA Applet</title>
        <vendor>Steven</vendor>
    </information>
    <resources>
        <j2se version="1.5+"
              href="http://java.sun.com/products/autodl/j2se" />
         <jar href="JNAApplet.jar" main="true"/>
         <jar href="jna.jar"/>
    </resources>
       <resources os="Windows" arch="x86">
         <nativelib href="win32-x86.jar"/>
         <nativelib href="kernel32.jar"/>
       </resources>
    <application-desc
         main-class="JNAApp">
     </application-desc>
     <update check="background"/>
       <security>
         <all-permissions/>
       </security>
</jnlp>     Thanks & Best Regards,
Su Heng

Similar Messages

  • Prompted to upgrade iTunes on computer. Won't let me and get error message MSVVR80.dll not found. Attempted to reinstall, won't let me. Can you have iTunes and iCloud on the same computer?

    Prompted to upgrade iTunes on computer. Won't let me and get error message MSVVR80.dll not found. Attempted to reinstall, won't let me. Can you have iTunes and iCloud on the same computer?

    Try following the instructions of tt2 in https://discussions.apple.com/thread/5822086

  • Itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    itunes wont open at all, error message : quicktime was not found .... please reinstall ... i did that but no luck this only seems to have happened since the 10.4 update, im on windows 7 ..

    Can you start QuickTime on your computer?
    You'll probably have to search for the Windows Installer Cleanup Utility and use it to remove QuickTime Player and iTunes. Then download and install the iTunes again.

  • Error 1046: Type was not found or was not a compile-time constant: Component Event.

    Hi Everyone..
    I am getting an Error 1046: Type was not found or was not a compile-time constant: Component Event.
    The ComponentEvent class has been imported,and also the event handling code is there. I am not sure what else is wrong, hope somebody can advise me. Thanks. The code is below, the point where the error occurs as indicated by the compiler has been highlighted.
    package 
    import flash.display.Sprite;
    import flash.media.Camera;
    import flash.media.Microphone;
    import flash.media.Video;
    import fl.controls.TextArea;
    import fl.controls.Button;
    import fl.controls.TextInput;
    import flash.events.SyncEvent;
    import flash.events.MouseEvent;
    import flash.events.FocusEvent;
    import flash.net.SharedObject;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.events.NetStatusEvent;
    import flash.events.FocusEvent;
    import flash.events.ComponentEvent;
    public class VideoChat extends Sprite
      private var button:Button;
      private var text_so:SharedObject; 
      private var textArea:TextArea;
      private var textInput:TextInput;
      private var chatName:TextInput; 
      private var nc:NetConnection;
      private var nsOut:NetStream;
      private var nsIn:NetStream;
      private var rtmpNow:String;
      private var msg:Boolean; 
      private var cam:Camera;
      private var mic:Microphone;
      private var vid:Video;
      public function VideoChat ()
       //Set up UI
       textArea = new TextArea();
       textArea.setSize(500,280);
       textArea.move(20,54);
       addChild(textArea);
       textInput = new TextInput();
       textInput.setSize(500,24);
       textInput.move(20,340);
       textInput.addEventListener(ComponentEvent.ENTER,checkKey);
       addChild(textInput);
       button = new Button();
       button.width=50;
       button.label="Send";
       button.move(20,370);
       button.addEventListener(MouseEvent.CLICK, sendMsg);
       addChild(button);
       chatName = new TextInput;
       chatName.setSize (100,24);
       chatName.move (80,370);
       chatName.text="<Enter Name>";
       chatName.addEventListener (FocusEvent.FOCUS_IN, cleanName);
       addChild(chatName); 
       //Connect
       rtmpNow="rtmp:/VideoChat ";  
       nc=new NetConnection;
       nc.connect (rtmpNow);
       nc.addEventListener(NetStatusEvent.NET_STATUS,doSO);
       cam = Camera.getCamera();
       mic=Microphone.getMicrophone();
       //Camera Settings
       cam.setKeyFrameInterval(15);
       cam.setMode (240, 180, 15, false);
       cam.setMotionLevel(35,3000);
       cam.setQuality(40000 / 8,0);
       //Microphone Settings
       mic.gain = 85;
       mic.rate=11;
       mic.setSilenceLevel (25,1000);
       mic.setUseEchoSuppression (true);
       //Video Setup
       vid=new Video(cam.width, cam.height);
       addChild (vid);
       vid.x=10, vid.y=20;  
       //Attach local video and camera
       vid.attachCamera(cam);  
      private function doSO(e:NetStatusEvent):void
       good=e.info.code == "NetConnection.Connect.Success";
       if(good)
        //Set up shared object
        text_so=SharedObject.getRemote("test", nc.uri, false);
        text_so.connect (nc);
        text_so.addEventListener(SyncEvent.SYNC, checkSO);
      private function checkSO(e:SyncEvent):void
       for (var chung:uint; change<e.changeList.length; chng++)
        switch(e.chageList[chng].code)
         case "clear":
          break;
         case "success":
          break;
         case "change":
          textArea.appendText (text_so.data.msg + "\n");
          break;
      private function cleanName(e:FocusEvent): void
       chatName.text="";
      private function sendMsg(e:MouseEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      private function checkKey (e:ComponentEvent):void
       noName=(chatName.text=="<Enter Name>" || chatName.text=="");
       if (noName)
         textArea.appendText("You must enter your name \n");
       else
        text_so.setProperty("msg", chatName.text +": " + textInput.text);
        textArea.appendText (chatName.text +": "+textInput.text +"\n");
        textInput.text="";
      //Create NetStream instances
      private function checkConnect  (e:NetStatusEvent):void
       msg=e.info.code == "NetConnection.Connect.Success";
       if(msg)
        nsOut=new NetStream(nc);
        nsIn=new NetStream(nc);
        //NetStream
        nsOut.attachAudio(mic);
        nsOut.attachCamera(cam);
        nsOut.publish("camstream");
        nsIn.play("camstream");

    Hi Guys...
    I have found out what is wrong. I was importing the wrong package the correct one should have been:
    import fl.events.ComponentEvent;
    instead of
    import flash.events.ComponentEvent;
    I hope this is helpful for anyone caught in a simillar situation as me...Thanks..

  • Crawling error: The object was not found SPS 2010 FBA

    Hi,
    We have a SharePoint 2010 Foundation environment. This environment contains one app two front ends and an SQL backend server. We have a web application on port 80 with hostheader http://subdomain.domain.com which is extended to port 81 (http://subdomain.domain.com:81).
    We have two zones: Default and Intranet. Both has forms based authentication enabled but only Intranet has NTLM enabled.
    In the alternate access mappings we have the following configured:
    Internal URL Zone
    Public URL for Zone
    http://subdomain.domain.com:81 Default
    https://subdomain.domain.com
    https://subdomain.domain.com Default
    https://subdomain.domain.com
    http://subdomain.domain.com Intranet
    http://subdomain.domain.com
    The SharePoint is publishd by Checkpoint on URL: https://subdomain.domain.com and is reachable outside the company only with forms authentication. We can login to http://subdomain.domain.com inside the network with NTLM authentication. The system is working
    fine.
    However we installed Search Server Express 2010 on all servers and configured it. The main configuration steps were:
    content access account setup
    full read permission to all zones for content access account
    Checked DB permission for content access account
    DisableLoopbackCheck configured on all servers
    content source is set to http://subdomain.domain.com (Intranet URL?) to use NTLM authentication
    Tried to set crowl rule to http://subdomain.domain.com/*
    When I start a full crawl I only get one Top Level Error: 
    The object was not found. ( Error from SharePoint site: HttpStatusCode NotFound The request failed with HTTP status 404: Not Found. )
    We also have a developer environment. This environment is a "one men show". All of the roles are on the same machine but all configurations are the same. We also installed Search Server Express 2010 on the developer SharePoint and all works properly.
    I googled days and tried a lot of possible solution but nothing helped. 
    Does anyone have idea what do I wrong?
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

    Thanks for the reply.
    Loopbackcheck disabled on all servers.
    We can browse site on search server.
    IIS binding is correct on all SPS servers.
    We have no entry on host file.
    Edit: I have to correct myself! Some of the administrators (I think) set host host file. I rechecked after Inderjeet comment and this resolved this issue.
    Thanks to pointing me to double check allways if I think something is correct. (Anyway this was the only thing I didn't rechecked).
    Thanks!
    I'm not a developer! I'm an infrastructure engineer! Please be patient on the development forums! :)

  • Error "Bridge CS6 was not found on this system. To use this command, please reinstall Bridge CS6"

    Hi all,
    We are having issues with Adobe Bridge working properly with Photoshop.  When trying to access Bridge through Photoshop we receive the following error "Bridge CS6 was not found on this system.  To use this command, please reinstall Bridge CS6"
    - We have the Master Collection CS6 installed
    - Bridge CS6 is working fine as a stand-alone program
    - This is installed on Windows 7 x64
    - I am unable to find an uninstall location for Bridge CS6, it is not under control panel > Adobe Master Suite
    - All adobe products are up-to-date as of this morning.
    Any help would be appreciated.
    Thanks,
    Message title was edited by: Brett N

    Bacterin1 wrote:
    It has not worked previously.
    Does not make a difference is bridge is open or not.
    Yes, we are accessing it through File/browse in bridge.
    OK, back to square 1.
    Does Bridge work normally?  Does it load Bridge CS6 or does CS5 come up?  Only one version can run at same time.
    If you double click on an image it opens in CS6?

  • When I plugged my iPhone into my USB plug it would sync my phone to the computer.  It doesn't do it anymore.  I removed iTunes and tried to re-download but i keep getting error msgsmsvcr80.dll was not found, windowns error 126, iTunes service Apple Mobile

    When I originally downloaded iTunes my iPhone would sync to my computer when I connected the USB plug.  Now it won't do it.  I removed iTunes from my computer and have attempted to re download iTunes to no avail.  I get several error msgs during the download: msvcr80.dll was not found; iTunes was not installed correctly, error 7; Windows error 126; Service 'Apple Mobile Device' (Apple Mobile Device failed to start)
    Can anyone offer any suggestions/help?

    Hello there, Cyn.
    The following Knowledge Base article provides some great information for troubleshooting your issue. Keep in mind uninstalling and reinstalling has to be done in a very specific fashion, therefore use the guidelines from this article to accomplish this:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • TS1424 i cant open up itunes, comes up with error mcvcr80.dll was not found

    help
    itunes will not upgrade not can it open after re installing
    i get the error mcvcr80.dll was not found

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99504)

  • After latest update 1 feb 2014 error msvcr80.dll was not found

    after latest update 1 feb 2014 on both my desk top running vista and my lap top running xp both crashed and now itunes wont open i just get failed to star because msvcr80.dll was not found obviously i tunes has a serious bug Help
    huve uninstalled from laptop and re-installed with same result

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99382)

  • Error : Hierarchy  version was not found.

    Hi all,
    I am finding the following warning message, basially it is a business content report and I loaded data to concern cube and while generating a query I'm finiding the following message:
    "Hierarchy PROJECT HIERARCHY in version was not found for key date 200504"
    Can any one advice me how to over come this.
    Thanks in advance.
    Regards.

    Bhanu Gupta,
    Hi.
    Let me give you lil background abt our working scenario.
    Currently we are working in BW 3.3 integrated with xRPM 2.0.
    During extraction, I successfully replicated the data source 0RPM_PROJECT_HIERARCHY and I am able to see the same , in list of data sources(When I go to RSA1 >> Source Systems >> SELECTING OUR SC >> CONTEXT MENU >> DATA SOURCE OVERVIEW).
    Now my problem is I'm confused to map this a particular data source, which need to load data in above context.
    Can you plz tell me where can I find to which info source that I can assign this particular data source 0RPM_PROJECT_HIERARCHY.
    I mean is there any mechanism or way to find??
    Looking forward for your response.
    Regards.

  • ADMT 3.2 Group Migration - Include File error: The object was not found in the domain

    Hello,
    I have been digging for weeks and still no answer. I am trying to migrate Group across two domains and if I select the group, it works just fine. But I want to bulk-migrate groups. So I am going the Include-File route. when ever I load the file I get
    the bulk of the groups processed but I get a dialogue box that states:
    The following objects are either not found or do not meet selection requirement. No migration will be performed on these objects.
    Then I get a list a group and the message states:
    The object was not found in the domain "contoso.com"
    Does any one know anything about this or how to fix it? I have compared the files with good/bad versions using ADSI edit and from its POV they look the same.

    Hi,
    Thanks for your post.
    There is an attribute named "showInAdvancedViewOnly" which specifies whether the object is to be visible in the "Advanced" mode of user interfaces. This is to say, if the schema attribute "ShowInAdvanceViewOnly" is set to TRUE for any security principal
    in AD, we would not be able to find that account or group while trying to migrate it except the simple ADUC search. Just as the issue you encountered.
    Therefore, please enable the "Advanced" mode in Active Directory Users and Computers, and then check if the three groups could be migrated or not.
    If anything unclear or you have any questions about this case, please feel free to let me know.
    Thanks and I look forward to your reply.
    Best regards,
    Ann Zhu

  • WDS Deployment Error; Network Path Was Not Found

    Hello,
    For a couple of years we have had a Windows Deployment server on Server 2008 called "WinDeploy".  Recently, we created a new server on Server 2012 and I created a new WDS called "WDHQ".  I did not want to have to create new
    task sequences and redo all of my out of box drivers, so we just copied the old "DeploymentShare" to the new file share on WDHQ.
    However, now when I try to PXE boot and enter in my credentials, it says "Invalid credentials: the network path was not found".  If I cancel, it points to a old network path that is no long there. WinDeploy.  I deleted the boot files,
    updated the deployment share, and updated the boot files.  I found a bootstrap file that still referenced WinDeploy and changed it to WDHQ.  Still the same problem.
    Any help or other possible solutions would be greatly appreciated.  
    Thanks! 

    There are many threads for this, have a look : https://social.technet.microsoft.com/Search/en-US/Technet?query=invalid%20credentials%3A%20the%20network%20path%20was%20not%20found&beta=0&ac=5
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • When I start firefox, it gives me error: library fslapi.dll not found Error: 1 but that programme has been uninstalled, so how do I stop it asking?

    The programme uninstalled was F-Secure internet security, and fslapi.dll (I think) was one of the library files. No when I start Firefox browser, it gives me that error. Evidently some part of Firefox is still thinking the dll file should be there.
    How do I stop the error message occurring?

    SadisticIron wrote:
    i just baught my first iphone and it is a jalbroken
    Buzz! Thank you for playing!
    Discussing jailbroken devices is forbidden here by the Terms of Service.
    You can not get help here.

  • Received an iTunes update and then error message "iTunes was not installed correctly.  Please reinstall iTunes. error 7 (Windows error 126) I also received and error message that MSVCR80.dll was not found.  I read online to unintall all Apple programs and

    Was not enough room to finish.  I tried to uninstall all Apple programs and reinstall but I was asked to validate an unidentified publisher and don't have a clue what that is and could not remove programs.  I am not good at fixing stuff on the computer and would like some help with this.  I have had iTunes for a long time without issue.

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • ActionScript 3 Error: 1046: Type was not found or....

    Hi,
    I am completely new to Flas and AS3. I am trying to create an opacity slider using the slider component. I foudn a similar tutorial and tried to alter it to fit my opacity needs. In line 8 (function opacityChange (event:SliderEvent):void{) I get the error message 1046. When I test it in Flash the slider flickers on and off very rapidly too. Though I have searched, I am clueless as to what the problem is.
    Any help will be appreciated.
    Thanks!!
    importfl.events.SliderEvent;
    percent_txt.text = "Opacity %:0";
    slider.value = 0;
    slider.addEventListener(SliderEvent.CHANGE,opacityChange);
    function opacityChange (event:SliderEvent):void{
              percent_txt.text = "Opacity %: " + event.target.value;
              logo.alpha = event.target.value;

    I am trying to duplicate the slider event for additional sliders and run into a 5000: The class ... must subclass 'flash.display.MovieClip'
    Any advice? (I know I need to take a class)
    And thanks again.
    import fl.events.SliderEvent;
    skinPercent_txt.text = "Opacity %:100";
    skinSlider.value = 1;
    skinSlider.addEventListener(SliderEvent.CHANGE,opacityChange);
    function opacityChange (event:SliderEvent):void{
              skinPercent_txt.text = "Opacity %: " + event.target.value*100;
              skinLayer.alpha = event.target.value;
    superfPercent_txt.text = "Opacity %:100";
    superfSlider.value = 1;
    superfSlider.addEventListener(SliderEvent.CHANGE,opacityChange);
    function opacityChange (event:SliderEvent):void{
              superfPercent_txt.text = "Opacity %: " + event.target.value*100;
              superfLayer.alpha = event.target.value;

Maybe you are looking for

  • Can no longer access wifi

    I share wifi with a couple of other households in my building; the base is in another apartment. A bit over a week ago, my laptop (MacBook Pro running latest update to Lion) stopped being able to connect: sometimes the alert says there's no IP addres

  • ERROR 47: Invalid URL () Needs To Be Fixed...

    Hi, I have read a lot of discussions on this website and others, When I do a web search for this error it brings up a lot of unanswered topics. And it looks like there s a error that needs fixing by the developers of Quicktime Player. ERROR 47: Inval

  • Reg:Deploy objects to Cloud

    Hi !      I had reset the sftp user password . And using all the details " SFTP username , password & hostname " properly with port 22. But I am getting the error "unable to connect to sftp server with provided details. Ensure that the correct detail

  • Cannot hide 'Project Subobject' column in CATS regular.

    I am trying to hide standard columns from CATS regular (timesheet). I was successful to hide columns 'Project' and 'Project Description', but column 'Project Subobject' cannot be hidden! it still shows up in ESS. I do this from IMG Employee Self-Serv

  • Combining APEX help with a frame-like TOC html help system (I used DITA)

    Problem: The APEX page-oriented help system is bad at helping users find how to do something. I prefer to use a task-oriented help system for that, with a table of contents that users can browse around in. I like the DITA (Darwin Information Typing A