Including AS3 external class file

How do I include 2 or more external action script files in my FLA document.The first one is easy and taken care by setting the class property of the FLA document to the class file name. But if I have several external class files? I have tried the 'include' directive but the compiler complains - any suggestions?
Thanks
Joseph Karov

To import the other Class, just start typing its name in an expression, and hold down the control key while hitting the space bar. Both the Flash IDE and Flash Builder will bring up a code completion dropdown. When you select the Class, the import statement will be generated.
For example, if you are in Foo and you type:
protected var bar:Bar;
Then when you have typed in the "Ba" part of the word Bar after the colon, if you use the Ctrl-Space keyboard shortcut, it should show you your Bar Class, possibly among other Classes starting with "Ba." Select "Bar" with either your mouse or your cursor, and Flash will finish the word for you and generate the import statement. Note that you can now create and use instances of Bar, but Bar won't be "merged" into Foo, which it sounds like is what you want. To do that, you'll need to do what I suggested, which is to have one Class extend another Class.
To have one Class extend the other, change the line that says "public class Foo" to "public class Foo extends Bar". Note that the two Classes must have compatible functionality and have the same base Class. I'm assuming they do, or else trying to "include" the code wouldn't work either.
Another possible solution, depending on exactly what you're trying to acheive, is to apply the second Class to a symbol in the library and use that by placing it on the stage or accessing it through code. However, you haven't given us very much to go on, so it's really difficult to help you.

Similar Messages

  • Include rt.jar class files in my own jar file to run 1.2+ applets on MS JVM

    My problem is this. I'm writing an applet (which includes 1.2 classes) for my organization (over 2000 NT workstations) in which no one has administrative privelages to install Sun's JRE 1.2 or greater. The target browser is IE 5. Our NT admins are having problems pushing the JRE out so my only two options are to rewrite everything as 1.1 or somehow include the missing class files from rt.jar.
    I really do not want to rewrite it all!
    I was able to extract the missing class files (i.e. /java/util/HashMap.class) but I cannot figure out how to get the IE JVM to use them. Things I have tried:
    1. jarred up all my class files along with the missing classes from rt.jar.
    $ jar cvf test.jar *.class java
    added manifest
    adding: ArrayObj.class(in = 731) (out= 448)(deflated 38%)
    adding: DivMonGrid.class(in = 1509) (out= 812)(deflated 46%)
    adding: GridLayout2.class(in = 2720) (out= 1514)(deflated 44%)
    adding: Item.class(in = 317) (out= 232)(deflated 26%)
    adding: Row.class(in = 588) (out= 365)(deflated 37%)
    adding: Screen.class(in = 672) (out= 416)(deflated 38%)
    adding: Site.class(in = 545) (out= 360)(deflated 33%)
    adding: divmonDash.class(in = 12506) (out= 6892)(deflated 44%)
    adding: java/(in = 0) (out= 0)(stored 0%)
    adding: java/util/(in = 0) (out= 0)(stored 0%)
    adding: java/util/HashMap.class(in = 6668) (out= 3461)(deflated 48%)
    adding: java/util/HashMap$1.class(in = 931) (out= 513)(deflated 44%)
    adding: java/util/HashMap$2.class(in = 800) (out= 454)(deflated 43%)
    adding: java/util/HashMap$3.class(in = 1608) (out= 904)(deflated 43%)
    adding: java/util/HashMap$EmptyHashIterator.class(in = 592) (out= 358)(deflated 39%)
    adding: java/util/HashMap$Entry.class(in = 1505) (out= 775)(deflated 48%)
    adding: java/util/HashMap$HashIterator.class(in = 1814) (out= 1096)(deflated 39%)
    $ jar -tf test.jar
    META-INF/
    META-INF/MANIFEST.MF
    ArrayObj.class
    DivMonGrid.class
    GridLayout2.class
    Item.class
    Row.class
    Screen.class
    Site.class
    divmonDash.class
    java/
    java/util/
    java/util/HashMap.class
    java/util/HashMap$1.class
    java/util/HashMap$2.class
    java/util/HashMap$3.class
    java/util/HashMap$EmptyHashIterator.class
    java/util/HashMap$Entry.class
    java/util/HashMap$HashIterator.class
    RESULT: IE JVM complains classnotfoundexception (its complaining about not finding HashMap.class)
    2. Tried to just place missing *.class files in same directory as my class files
    RESULT: Compiler error (complaining about file not be in correct path package) I understand this because when it was created the package statement has the class file in java/util/.
    If anyone has done this before or knows how to do it, please help me out.
    Thanks!

    When the collection classes first came out, I think they were available in a separate jar (although the package name may be slightly different). If it's just collection classes, that might be worthwhile looking at.
    The MS JVM may be spewing because the class format is too new; you may try with rt.jar classes from an older JVM (such as JDK 1.2), or try to recompile them from source using -target 1.1.

  • Working with AS3 External Classes

    Ok... trying to work with AS3 external classes. I have a movieClip that I want to also function as a button. Instance name is "_onDemand". This movieClip is on the stage of my Home.fla.  "_onDemand" movieClip properties   Class:HomePage  Base clase: flash.display.MovieClip
    I want the user to click this movieClip and take the user to an external URL within a new browser window or tab.
    Can anyone help me? Or at least point me to a really really good tutroial that does exactly this using external classes?
    Thanks so much,
    Mark
    My code:
    package com.cox4college.pages
    import com.gaiaframework.templates.AbstractPage;
    import com.gaiaframework.events.*;
    import com.gaiaframework.debug.*;
    import com.gaiaframework.api.*;
    import flash.display.*;
    import flash.events.*;
    import com.greensock.TweenMax;
    import flash.net.URLRequest;
    import flash.net.navigateToURL;
    public class HomePage extends AbstractPage
    public function HomePage()
    super();
    alpha = 0;
    //new Scaffold(this);
    override public function transitionIn():void
    super.transitionIn();
    TweenMax.to(this, 0.3, {alpha:1, onComplete:transitionInComplete});
    override public function transitionOut():void
    super.transitionOut();
    TweenMax.to(this, 0.3, {alpha:0, onComplete:transitionOutComplete});
    public class _onDemand extends Sprite
    // Link Navigation button handlers
    public var _onDemand:Sprite;
    // if you want a hand cursor
    _onDemand.buttonMode = true;
    _onDemand.useHandCursor = true;
    _onDemand.addEventListener(MouseEvent.CLICK, onDemandClickHandler);
    _onDemand.addEventListener(MouseEvent.ROLL_OVER, onDemandRollOverHandler);
    _onDemand.addEventListener(MouseEvent.ROLL_OUT, onDemandRollOutHandler);
    public function onDemandClickHandler(e:MouseEvent):void{
    navigateToURL(new URLRequest("http://ww2.cox.com/residential/santabarbara/tv/ondemand.cox"));
    public function onDemandRollOverHandler(event:MouseEvent):void{
    _onDemand.gotoAndStop("hover");
    public function onDemandRollOutHandler(event:MouseEvent):void{
    _onDemand.gotoAndStop("static");
    Getting the following errors:
    1120: Access of undefined property _onDemand.

    Ok. I admit it... I had some wonderful help to resolve this issue. You ever feel like you are on an island learning AS3 External Classes? I feel that way all the time... so far... I plan on not feeling that way soon. I hope this helps someone get off that island.
    package com.domainname.client {
        import flash.display.*;
        import flash.events.*;
        import flash.net.*;
        import flash.utils.*;   
        import caurina.transitions.Tweener;
        import caurina.transitions.properties.*;
        FilterShortcuts.init();   
        ColorShortcuts.init();      
        public class Main extends MovieClip {
            private var coverDelay:Number = 4;
            //#DF6D27
            public function Main():void {
                initMain();
            private function initMain():void {
                mc_form.visible = false;
                Tweener.addTween(mc_cover,{alpha:1,time:1,delay:coverDelay,onComplete:formIn});
                btn_onDemand.buttonMode = true;
                btn_listings.buttonMode = true;
                btn_ppv.buttonMode = true;
                btn_rhapsody.buttonMode = true;
                btn_onDemand.addEventListener(MouseEvent.MOUSE_OVER,navOver);
                btn_onDemand.addEventListener(MouseEvent.MOUSE_OUT,navOut);
                btn_onDemand.addEventListener(MouseEvent.CLICK,navClick);
                btn_listings.addEventListener(MouseEvent.MOUSE_OVER,navOver);
                btn_listings.addEventListener(MouseEvent.MOUSE_OUT,navOut);
                btn_listings.addEventListener(MouseEvent.CLICK,navClick);
                btn_ppv.addEventListener(MouseEvent.MOUSE_OVER,navOver);
                btn_ppv.addEventListener(MouseEvent.MOUSE_OUT,navOut);
                btn_ppv.addEventListener(MouseEvent.CLICK,navClick);
                btn_rhapsody.addEventListener(MouseEvent.MOUSE_OVER,navOver);
                btn_rhapsody.addEventListener(MouseEvent.MOUSE_OUT,navOut);
                btn_rhapsody.addEventListener(MouseEvent.CLICK,navClick);           
                function navOver(evt:MouseEvent):void {
                    Tweener.addTween(evt.target,{_color:0xffc614,time:.2});
                function navOut(evt:MouseEvent):void {
                    Tweener.addTween(evt.target,{_color:0xffffff,time:.2});
                function navClick(evt:MouseEvent):void {
                    var url;
                    switch (evt.target.name) {
                        case 'btn_onDemand':
                        url = new URLRequest("http://ww2.cox.com/residential/santabarbara/tv/ondemand.cox");
                        break;
                        case 'btn_listings':
                        url = new URLRequest("http://ww2.cox.com/myconnection/santabarbara/watch/entertainment/tv-listings.cox");
                        break;
                        case 'btn_ppv':
                        url = new URLRequest("http://ww2.cox.com/residential/santabarbara/tv/pay-per-view.cox");
                        break;
                        case 'btn_rhapsody':
                        url = new URLRequest("http://ww2.cox.com/myconnection/santabarbara/listen.cox");
                        break;                                                           
                    navigateToURL(url,"_blank");

  • How do I dynamically load a SWF that was compiled from an Fla with a linked external class file

    I am dynamically loading external SWFs in a Main Fla in response to clicks on a menu.
    The loading code is standard and works fine for all of the SWFs except one. When I try to load it I get the following error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    I am certain that the URL to the problem SWF is correct. The SWF itself doesn't load any other SWFs or images.
    The problem SWF is linked to an external class file and compiled with it.
    i.e. in the properties panel of the main timeline of the problem SWF's Fla I have entered the path to the external class.
    1. there is no problem compiling this SWF with the class (it works fine by itself)
    2. if I remove the external class from the properties panel and don't use it the resulting SWF imports without a problem into the Main Fla mentioned before
    So the problem seems to be the fact that the external class is linked in the properties panel. Is this a path problem?
    Would appreciate any suggestions,
    Thanks!

    despite what you say, that loaded swf most likely is loading something and that's the cause of the error.
    you could test that by putting the main swf's embedding html file in the same directory with problematic swf.  if the problem is as explained above, you'll have no problem when the main html is in the same directory with the loaded swf.

  • How to include an external jar file in .EAR project

    Hello All,
    I have created a web service through java class in sap netweaver 7.1.
    For database connection i want to add external jar file as reference. could you all please tell me how to do this or can i get some scenario where it is explained.
    Please Help
    Regards,
    Vanita Jain

    Hi Vanita,
    open your project in nwds > right click on the project > click on properties option from the menu > click on java build path from the left-side navigation of the window > and click on libraries in the right side tab > here you'll get a button called add external jars > clicking to this, will open browser window to select a jar file.
    Regards,
    Sen

  • Flash player caches external class files

    Hi I work for a technology company in San Antonio and we use
    flash for developing interactive course ware. We use a flash shell
    which loads the separate pages of our lessons and have noticed a
    very big problem with the way the flash player caches class files.
    Basically it seems that when you use the 'import' call in
    actionscript the flash movie doesn't import the external class if
    it has already been loaded. the problem is that we have a huge
    amount of developed classes, many of which have been updated
    throughout our development. Is there any way for force clear the
    ASO cache in actionscript or force import external actionscript
    classes?

    Yes we know and use the delete aso files feature all the
    time. this however is a runtime problem. meaning that the flash
    player itself is caching class files and there is no way to get it
    to refresh these links without doing a forced refresh of the shell
    itself. this is something that is not an option as it doesn't allow
    for fluid page loading. Is there any way to force reload/import
    class files that have already been loaded, that is clear the
    class/aso cache in the flash player itself using actionscript
    code?

  • External Class files not updating when "Delete ASO Files" executed

    I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.
    I can' find these ASO files anywhere on my computer. ARE they hidden?
    Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:
    256 levels of recursion were exceeded in one action list.
    This is probably an infinite loop.
    Further execution of actions has been disabled in this movie.
    There are no loops of any kind in the code, which is below.  Thanks in advance for your assistance.
    //This is the Person.as file:
    class Person {
    public var HomName:String = "unknown";
    public var HomEmail:String = "unknown";
    public var HomPhone:String = "unknown";
    public var HomSaveFreq:Number = 0;
    public var HomSavePeriod:String = "unknown";
    //constructor//
    function Person(sn:String, se:String, sp:String, ss:Number, ssp:String) {
      HomName = sn;
      HomEmail = se;
      HomPhone = sp;
      HomSaveFreq = ss;
      HomSavePeriod = ssp;
    //functions for getting and setting all properties
    function get myName():String {
      return HomName;
    function get myEmail():String {
      return myEmail;
    function get myPhone():String {
      return myPhone;
    function get myHomSaveFreq():Number {
      return myHomSaveFreq;
    function get myPeriod():String {
      return myPeriod;
    function set myName(sn:String):Void {
      HomName = sn;
    function set myEmail(sn:String):Void {
      HomEmail = sn;
    function set myPhone(sn:String):Void {
      HomPhone = sn;
    function set myHomSaveFreq(sn:Number):Void {
      HomSaveFreq = sn;
    function set myPeriod(sn:String):Void {
      HomSavePeriod = sn;
    //this is the flash movie code
    var Client:Person = new Person("Terry,[email protected],323-232-3232,6,day");
    trace(Client.myName);
    trace(Client.myEmail);
    trace(Client.myPhone);
    trace(Client.myHomSaveFreq);
    trace(Client.myPeriod);
    stop();

    I don't have an anonymous ftp site, but its so simple, lets keep it simple.
    1. Create a new Flash file, AS 2.0 and paste this snippet in frame 1 script panel
    var Client:Person = new Person("Terry,[email protected],323-232-3232,6,day");
    trace(Client.myName);
    trace(Client.myEmail);
    trace(Client.myPhone);
    trace(Client.myHomSaveFreq);
    trace(Client.myPeriod);
    stop();
    2. make a text file and put the following code in it, and name the file Person.as
    class Person {
    public var HomName:String = "unknown";
    public var HomEmail:String = "unknown";
    public var HomPhone:String = "unknown";
    public var HomSaveFreq:Number = 0;
    public var HomSavePeriod:String = "unknown";
    //constructor//
    function Person(sn:String, se:String, sp:String, ss:Number, ssp:String) {
      HomName = sn;
      HomEmail = se;
      HomPhone = sp;
      HomSaveFreq = ss;
      HomSavePeriod = ssp;
    //functions for getting and setting all properties
    function get myName():String {
      return HomName;
    function get myEmail():String {
      return myEmail;
    function get myPhone():String {
      return myPhone;
    function get myHomSaveFreq():Number {
      return myHomSaveFreq;
    function get myPeriod():String {
      return myPeriod;
    function set myName(sn:String):Void {
      HomName = sn;
    function set myEmail(sn:String):Void {
      HomEmail = sn;
    function set myPhone(sn:String):Void {
      HomPhone = sn;
    function set myHomSaveFreq(sn:Number):Void {
      HomSaveFreq = sn;
    function set myPeriod(sn:String):Void {
      HomSavePeriod = sn;
    //: <)McFrisco

  • How do I link an object on the stage to an external class file?

    I have a dynamic textfield called neighName on my Flash
    stage. I also have a movieclip that I call a region on my stage.
    When I mouseover the region, I want a word to display in a little
    popup *and* I want some text to display in my textfield. I have an
    external .as file for handling the region. I can make the code
    "see" my region, but I can't seem to make it see my textfield,
    although no errors are being thrown. Help, anyone?

    My bad--I had set the textfield.visible to false. Apparently,
    I need more coffee.

  • External js file to be included into web template (2004s)

    Hi everyone,
    I was trying to include an external javascript file into a web application. The code was to be included in a script item (which I'd like to keep that way, for maintainability's sake) and then to call a function from the included file (which I had included with a script tag manually added to the page's XHTML code).
    The problem is that the code in the script item gets put infront of every other XHTML item, so the functions will not yet be available at the time of execution. Is there a different way to include javascript without having to manually post the script item code into the XHTML body?
    Thanks and regards,
    Tilman

    Hi,
    this is exactly my problem. I keep my code in a script item, but would like to store parts of it in a separate file (so I don't have to worry about duplicating), so what's the way to go in order to have the external file included before my script item code gets called (without having to wait for window.onLoad to kick in)?
    Regards,
    Tilman

  • How to include external javascript file in an html

    hello
    i've an html file placed in apache/webapps/test folder this html file includes an external javascript file placed at same level
    i'm includind the file as
    <script src="file1.js"></script>but the file does not gets included
    but when the sam folder "test" is paste outside apache the html file including the external file runs properly.
    Thank You

    flounder wrote:
    cotton.m wrote:
    What's really pathetic is that this is your third cross post on this same stupid off topic topic.
    You are really a dumb f&#117;ck you know that?If they knew that they were a dumb f&#117;ck then they wouldn't be a dumb f&#117;ck!That's a logical and reasonable conclusion. Therefore I very much doubt that the OP is capable of it.
    Hmmm this is interesting. It now shows the entity escapes rather than their values when you quote.

  • Target movieclip from an AS3 class file - remove/add Child

    Halo.
    I have a very simple question  (for those who use external class files).
    Assuming that I have a MovieClip manually added to Stage and I want to access it from inside my class definiton.
    So the code would be:
    MovieClip(root).MyMovieClip
    But I can't figure out how to use remove/add Child in that kind of situation.
    I will appreciate any advice.
    Thanks

    if you can reference using that, you can remove using:
    MovieClip(root).MyMovieClip.parent.removeChild(MovieClip(root).MyMovieClip);
    and you can add to any displayobjectcontainer.

  • 'Basic' external actionscript file/class usage

    Hey All,
    I'm a bit baffled by something that should, in my humble opinion, be a piece of cake...
    The setup is really easy. A simple application with a single textinput, a button and a text component.
    When the button is clicked a function is called that sets the text from the inputfield to the text component.
    code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
                public function click(inputText:String):void {
                    outPutTxt.text = inputText;
            ]]>
        </mx:Script>
        <mx:TextInput x="10" y="10" id="inputTxt"/>
        <mx:Button x="178" y="10" label="Button" id="Btn" click="{click(inputTxt.text)}"/>
        <mx:Text x="251" y="12" text="Text" id="outPutTxt"/>
    </mx:Application>
    As I said, really easy.
    What I want to do is put the function 'click' into an external actionscript file or class. And still be able to, from within the external file, modify the outPutTxt stuff.
    I'm aware that I could create a public bindable variable inside of the external file and then bind the outPutTxt to that variable, but I would really like to be able to 'simply' force the value...
    Is that possible? If yes: how plix
    If it's not possible, I'd like to know as well! And in that case, how would I then re-use the same instance of a class/file in multiple seperate components? Say I got a 'login' thingie where a user logs in (data stored externally in a seperate actionscript file/class) and I want to re-use that information on other pages... Or is this done automatically?
    Any and all comments/answers are higly appreciated!
    Pieter

    Hey Levancho,
    thanks for your answer!! Much appreciated.
    However, the code you proposed threw an error...
    Errormessage:
    ReferenceError: Error #1069: Property outPutTxt not found on controls.Control and there is no default value.
        at controls::Control/btnClick()[C:\...\FlexTest_03\src\controls\Control.as:13]
        at FlexTest_03/__Btn_click()[C:\...\FlexTest_03\src\FlexTest_03.mxml:11]
    So I tried something else where I bind the text in my OutPutTxt to a variable inside of the external class file.
    Code:
    Class:
    package controls
        public class Control
            [Bindable]
            public var outPutText:String = "";
            public function Control()
            public function btnClick(inputText:String):void {
                this.outPutText =  inputText;
    Mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
                import controls.Control;
                [Bindable]
                private var control:Control = new Control();
            ]]>
        </mx:Script>
        <mx:TextInput x="10" y="10" id="inputTxt"/>
        <mx:Button x="178" y="10" label="Button" id="Btn" click="{control.btnClick(inputTxt.text)}"/>
        <mx:Text x="251" y="12" id="outPutTxt" text="{control.outPutText}"/>
    </mx:Application>
    And this basically did what I wanted to do... so I just need to do some major binding between my application and the classes I'll be using for my business logic.
    Now for something else entirely...
    Is there a way for me to pass the instance of my class between flex components?
    Pieter

  • Trouble Using DataProvider in External Class

    Hello,
    I am creating a Flash form which will include a drop-down selection menu from which a user may choose their state. I originally accomplished this by adding a ComboBox to the stage and then populated the ComboBox's DataProvider object with an XML listing of all the state names and the corresponding values. Everything works as expected.
    I have decided, however, that it would make the most sense to create an external class to accomplish the same thing. I have attempted to create such a class using the following code:
    package {
    import fl.data.DataProvider;
    import fl.controls.ComboBox;
    public class StateSelectionList extends ComboBox {
    private var xml:XML;
    private var dp:DataProvider;
    private var cb:ComboBox;
    public function StateSelectionList() {
    xml = <states>
    <state name="AL - ALABAMA" value="AL" />
    <state name="AK - ALASKA" value="AK" />
    <state name="AZ - ARIZONA" value="AZ" />
    </states>;
    dp = new DataProvider(xml);
    cb = new ComboBox();
    cb.dataProvider = dp;
    cb.labelField = "name";
    I then attempted to use this class in my Flash file by adding a ComboBox component to my library and then by creating a new StateSelectionList object and adding it the stage using the following code:
    var states:StateSelectionList = new StateSelectionList();
    addChild(states);
    The data provider for the new object is empty, however, as one can find by tracing the length of the object's dataProvider property;
    trace(states.dataProvider.length);
    I am new to creating external class files so I am not sure why the new object is not populated with any data. Thanks in advance for any suggestions.
    P.S. Please feel free to download the complete XML file I created for the states. The file includes all US states and possessions, US military states, and Canadian provinces and territories. http://windhorsemedia.com/private/states.xml

    There is a something tricky:
    first if you extend the combo box ther is no need to create a new instance in its constructor only to pass the data provider. This will work
        var xml:XML =<states>
                <state name="AL - ALABAMA" value="AL" />
                <state name="AK - ALASKA" value="AK" />
                <state name="AZ - ARIZONA" value='AZ' />
                </states>;
                dataProvider=new DataProvider(xml);
    dataProvider is public from base class ComboBox so you can access it anytime. But the properties that are inspactable may be setted with effect only after second frame is passed so try this
    public class StateSelectionList extends ComboBox {
            public function StateSelectionList():void
              addEventListener( Event>ENTER_FRAME, onsecondFrame, false, 0, true )
    private function onsecondFrame( evnt : Event ): void
    removeEventListener( Event>ENTER_FRAME, onsecondFrame
                var xml:XML =<states>
                <state name="AL - ALABAMA" value="AL" />
                <state name="AK - ALASKA" value="AK" />
                <state name="AZ - ARIZONA" value='AZ' />
                </states>;
                dataProvider=new DataProvider(xml);
                labelField="name";
    Note, In my custom components when I extend the UIComponent a set the parameter in afterComponentParameters or CreateUI( I think this was the name ) methods but more fast is just to pass one frame and set the parameturs

  • Accessing External .as files

    My AIR app runs fine in test movie but when run as an air
    install the external class files do not seem to be used. Do I need
    to include them in included files and if so how do I reference
    them.

    Hello conn.xx. Welcome to the Apple Discussions!
    Ive read all over the place about Time Capsule being the perfect back-up solution, but can I use it NOT for back-up, but just as a simple external harddrive? Accessing/Streaming files from TC to my laptop (PC)?
    Yes.

  • Importing a .class file into my package?

    Hi. I'm making a java program but I need to use an external .class file to get variables and use methods from. Is it possible to "import" a class file into my package to be able to do so?
    Thanks

    Basically, for our last project we created a class
    that held the information about a year: how many days
    were in a month, how many months were in a year, etc.
    etc. For this project, we'll be having to use that
    same class to make a GUI calendar. Our teacher
    provided a class which he compiled for us to use in
    our projects incase our previous class had some flaws
    in it, which mine did. Unfortunately, it's in .class
    format and I don't know how to use it in my package!That's going to be a problem then. I would assume that it is going to have an API like your old one did. Same name and same methods etc. So do you know what the name and method signatures of your class were supposed to be?

Maybe you are looking for

  • Adober Reader 8.1.2 will not open new page links to .pdf file

    Since upgrading to version 8, I cannot open a pdf file (from IE) if it opens in a new window. It opens local files, and links on pages that go directly to the pdf file, but not if the link opens the file in a new window. This means that I cannot open

  • [Solved] game has no sound

    again, after i installed system, i want to run skulltag. i installed everything, everything runs but sound doesnt work. i have flac and libfmod installed, anyone know the solution? in everywhere else sound is working fine Last edited by syms (2009-03

  • Color Context not saving for Grid(Lights) Display Template

    I am trying to add a column of colored lights for a Grid in a 12.0 (12.0.2, Build 88) environment.  I select Grid, Grid Type = Lights.  I go to Color Context and apply Green to PASSED and Red to FAILED and White to *.  I then save the Display Templat

  • Utlfile error

    dear all, i m getting the below error Error message in the worker logs is:- DECLARE*ERROR at line 1: ORA-29282: invalid file ID ORA-06512: at "SYS.UTL_FILE", line 1ORA-06512: at line 41 ORA-29283: invalid file operation ORA-06512: at "SYS.UTL_FILE",

  • Is it true that Firefox v11 will fully suport Adobe Flash and when are you going to make a mobil version of Thunderbird.

    I going purchase an HTC Merge soon and would like to know if Firefox v11 will fully support Adobe Flash and if I decide to use v10 right now would this method work https://support.mozilla.org/en-US/kb/firefox-mobile-doesnt-support-flash?e=es&as=aaq i