Need advice in regards to external class scripting!!

Hello all,
For my Flash class, my professor is making us create a four room "adventure game" created entirely in an external class with ActionScript.
I know how to get things set up, but does anyone have any references or website suggestions that would help me create the mechanics for a multi-room adventure game?
Much obliged,
Jerry

create a document class that instantiates each of the 4 room classes.

Similar Messages

  • Need advice in designing an External library DC

    Hello,
    We've got about 10 jar files that we use in our developments that needs to be exposed via External library DC.
    Each DC that we develop uses a different combination of these jar files.
    I am wondering whether to create a seperate public part for each jar or create just one public part and add each jar to it as an entity.
    I would be happy to hear your opinion and pros/cons for each method.
    Roy

    Hi Roy
    I think we need to look at what you mean by 'efficiency' with this requirement first. I suppose you need to decrease the size of the classpath at three distinct points: compilation in the IDE, build time in the NWDI, and runtime on the application server.
    At compile time (in your NWDS), having a single external library DC with multiple public parts will cut down on the classpath with which NWDS has to work in your referencing project - only the classes within the public parts of your external library DC will be accessible. (And God knows it's not the most efficient little IDE, so it needs all the help it can get.)
    Having said that, if your external library DC contains code (which it can), you'll probably need to be rebuilding it fairly frequently, even if you don't change anything. In this case, you need to take into account the size of the external library DC itself - so splitting your libraries into separate DCs and setting up the graph of dependencies would be preferable.
    However, in this instance, you need to remember that the NWDS (or, more correctly, the Web DynPro tools) is essentially broken with respect to its resolution of dependencies. You're constantly having to rebuild things in a certain order to get it to recognise your libraries, open and close the IDE in order for things to compile correctly, and so on. Creating a large dependency graph will likely only exacerbate this problem.
    With respect to builds by the NWDI, before the assembly step, your classpath should be the same as at compile-time in the NWDS. When the assembly occurs, however, everything in your track is built - so it doesn't really matter where you put things. Everything is also going to be deployed to TEST and PROD anyway (which is what Snehal was alluding to).
    Although I'm not certain of this, I assume that the situation at runtime is the same as at compiletime. I don't know if SAP has released in-depth information about the class-loading strategies employed by the Web DynPro runtime with respect to public parts, but I'd expect that the runtime and compile time classpaths would be consistent. (The class-loading strategies employed by the Web Application Server more generally would also suggest that this were the case.)
    Obviously, the more complex you make your dependency structure (the more independent public parts you have, and even moreso, the more separate library DCs you have), the more complex you'll make the process whereby other developers will declare dependencies upon your DC, as they'll have to reference multiple public parts and DCs. However, using more conventional referencing methods, they would need to determine which JAR files they needed anyway.
    Consequently, in the greater scheme of things, one questions how much real efficiency there is to be gained here. The more granular your dependencies, the more efficient your design will be. But this complicates things in practice in the NWDS, and whether it is worth the extra effort depends on how large your libraries are, and how many of them you have - i.e., how much you have to gain by optimising.

  • Need advice on purchasing an external hard drive for video editing

    Hi,
    I looking for advice on which external hard drive to get. The main purpose for the hard drive will be storing video files on for use with Final Cut Pro. I have the 12 inch powerbook G4 so I plan to use the FireWire (400) port to connect the drive. I'm interested in getting comment from others who use their external hard drives for video editing.
    Thanks!

    Firstly your decision to use FireWire is a good one, as not only will it free up the USB it performs much better on sustained transfers.
    That said you're still limited by the FireWire interface, so opt for a drive with a big cache (16MB would be good) and fast spindle speed (7200rpm+).
    Some of the newer enclosures are compatible with SATA drives. While these are easier to install and theoretically will perform better, I'm not sure that the performance would justify the extra cost.
    Matt

  • Need advice for a solid external harddrive system

    Background:
    I am a professional photographer and my data is well, my livelihood! So you would think I have an effective backup solution in place.Unfortunately, not so. The choices are overwhelming and I have not been able to decide what to buy.
    Currently I have an iMac G5, 2.16GHz, 1G memory (2 512K) that i need to upgrade to 3G. I have about 230G hardrive.
    Currently my iMac is running 10.4.8.I plan on doing a clean install of 10.5 once I have a backup of everything on my harddrive.
    I need an external harddrive. I want to have a backup of a backup so I think I should be getting a RAID 1 system. Is this correct? I would like 1TB (2 mirrored 500G if I understand correctly). My budget is about $600 or so.
    Please can you suggest a good harddrive for me? The Mybook from WD seems to fit the bill but I see it does not work with OS 10.4 . I did not see any OWC with a mirrored solution (RAID1?). I am so confused! Please help!!!
    Thanks!

    Take a look at what's available from macsales.com, their stuff is reliable, and they will have RAIDs to fit your requirements. Look at [this one|http://eshop.macsales.com/shop/firewire/usb/raid_1/Gmax] for instance.
    Hope this helps,

  • Need advice on purchasing an external hard drive

    Greetings, oh wise Apple users. It has been suggested that I purchase an external hard drive to store my iDVD projects on. Can anyone give me a checklist of what to look for? My Mac is a G4 flat panel with 800 MHz and 512 MB. I'm currently using OS X (10.2.8) but am upgrading to 10.4 soon. Many thanks in advance for your help.

    Firewire and an 'Oxford' chipset are a must for Macs with USB1.1 like yours. Here's some examples:http://eshop.macsales.com/shop/firewire/
    Personally I'd go for one with a built in USB and Firewire hub as I'm always running out of ports (like the mini stack V2).
    If you think an new Intel iMac or MacBook Pro could feature in your computer line up in the next year so, go for one with FW800.
    mrtotes

  • Need advice in regards to N580GTX watts

    About a week ago i put together my first built.
    My built is as follows:
    Asus Z68Pro board
    I7-2600K, automatically O'ced to 4.5Mhz with H60
    GPU MSI N580GTX
    Ram, 2x2 Corsair (ordered 2x4mb)
    Lanboy Blue case
    850W Corsair marginal PSU
    Asus 27"
    Used a 3D Mark 11, and received a score of P7058...not sure if this is decent for GTX 580.
    I read that MSI is a good card in order to O'c it, but was wondering if its safe to change watts. I am using the MSI afterburner, and for the first time today, changed watts.
    Core Voltage (Mv), I changed from 0 to 150 (the max is 200)
    MSI comes stock with 832Mhz Core Clock and i was able to Oc it to 980Mhz, Shader Clock automatically rose to 1960Mhz and i changed the memory clock to 2150Mhz
    3DMark 11 run faster, as it seemed to me and was stable. I know i can go more on the Shader clock, but the 3D mark score was close to P7620 this time around.
    Is it safe to change my GPU watts in an MSI afterburner to 150? (i have read that some people are afraid to change the watts). Thanks for your response in advance.

    Quote from: Scorpi2771 on 19-October-11, 05:55:59
    So when people say something like "pushing the voltage, the card responded well all the way up to 962MHz with the maximum allowable voltage of 1.213v applied"...it has nothing to do with an "off-set voltage" of +150mV?
    I am really confused between the two!!!
    Hehe, i am new to MSI Afterburner, but finally figured it out. In an MSI Afterburner, I see that the minimum Core volts are 0.956 and maximum are 1.168...that's when changing the off-set voltage from 0-150. It's 2 different values, ignore my previous posts.
    1.106 is the volts settings now at idle...I hope they are fine. What is the maximum safe amount of volts for GTX580?
    Correct me if i am wrong, but after looking more into MSI Afterburner, 1000 mV = 1 volt, so the maximum that the MSI N580GTX can add is a 0.2 overclock in volt...so 200mV is only 20 percent of 1 volt.

  • I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?

    I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?
    Is there like in a hard drive of which iTunes can read the media, which will not require me to add and delete media onto iTunes, because of a lack of space on my laptop?

    just get an ext HD, and point your itunes library to that drive so now you'll just keep all your media on this ext

  • Classes may only be defined in external ActionScript 2.0 class scripts.

    i try to use the BitmapExporter 2.2.
    i inserted the .as file into the first frame in my fla but
    when i try to test movie i get
    "Classes may only be defined in external ActionScript 2.0
    class scripts."
    since i am not expert in extensions - what did i do wrong and
    hoe can i properly use this extension?

    remove the .as file code from your fla. put the .as file in
    the same directory with your flash files. when you publish your
    swf, flash will incorporate the .as code in your swf when you use
    the new BitmapExporter() statement.

  • Need advice regarding physical standby databases in rac environment on orac

    need advice regarding physical standby databases in rac environment on oracle 10G r2
    I like to have have a Primary ( 10 node RAC cluster ) shipping to a physical standby ( 3 node RAC cluster ) shipping using LGWR .
    So I have a lot of questions
    1) What will be the performance overhead on the Primay if we are using LGWR SYNC option .
    2) Does the overhead depends on the physical distance between primary & physical
    3)Do you recommend a seperate private network for shipping logs between primary and standby.
    4) I know that DGMGRL supports RAC only from 10g. So are there any know issues are bugs using DGMGRL is RAC environments.
    Thanks in advance
    -Satish

    Generally you should have same CPU architecture and same operating system but it's not mandatory to have the exactly the same CPU model, the same number of CPU, the same RAM size etc.
    Actually starting with 11.1 you don't need to have the same hardware setup: it 's even possible to have primary and standby database on different platforms: http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/standby.htm#i72053.

  • How do I write an external class with global constants?

    Hi you all !
    First I want to explain what exactly I want to do:
    I have an application that should run in different resolutions. The app runs fullscreen, and I don't use Layouts or something, just a single Frame with a Graphics Object.
    Now to handle the different resolutions, I want to write an external class with some constants to use. The usage in my main Class should be something like this:
    public
    class blah
    private Constants myConstants;
    public blah()
    if (highResolution)
    myConstants = new hiResConstants();
    else
    myConstants = new loResConstants();
    System.println(String.valueOf(myConstants.SCREEN_WIDTH);
    }or somthing like that. The important fact is that I can choose the constants at runtime and that I am NOT forced to use methods to get the values, cause something like
    System.println(String.valueOf(myConstants.getScreenWidth());sux if you have methods using 5 or more parameters.
    Anybody out there who understood my problem and can help me??? PLEASE?
    best regards,
    Skippy

    First, what's so much worse about
    System.println(myConstants.getScreenWidth());
    than
    System.println(myConstants.ScreenWidth);
    Is the extra five characters really that bad? (Note
    you don't need the String.valueOf method call.)Well actually it was a wrong example I gave here, but it's not the call that makes me shake but the implementation:
    public int screenWidth = 1024;vs.
    public
    int getScreenWidth()
    return 1024;
    }Here it makes a bigger difference, even when you think of managing about 100 or even more constants.
    Second, why do you have methods that take five or more
    parameters!?Well, maybe this example show up what I mean:
    if (cursorIsInArea(100,100,200,200,areaId))
    doSomeStuff();Ok, I could use Rectangles here, but if you think of the timing here (I draw 30 frames / sec and this check comes about every frame or the animation would be choppy) I refuse to create an Object everytime I make this call.
    Btw: Is it worth thinking about the time of execution like I did in this example? OO is a neat thing, but is it that fast?
    I don't think isCursorInArea(new Rectangle(100,100,200,200),areaId) is such a great idea, but I might be wrong.
    It sounds like you're trying to compound a bad design
    with an even worse design for no good reason!Well, I'm not that experienced Java programmer to judge about that, but I (and my profs at university too) found my codes well structured and designed so far.
    Skippy
    PS: the string.valueOf(123) call came from cut&paste:
    system.out.println(string.valueOf(number1)+string.valueOf(number2));Try this without the function.... ;-)

  • 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.

  • Use "external" classes as plugins

    hi everyone :-)
    i have an application which offers some plugins to the user.
    now the thing is: the plugins shouldn't be included into my JAR-file, the should be in an external folderstructure outside of the JAR.
    when i use the Class.forName(...)-method, i cannot access the external classes... even if i add the package-path of them (i.e. "pluginsp.plugin1.Plugin1")
    has anyone an idea how to solve?
    thx a lot & regards
    manu

    OSGi is pretty bulky and is a spec. Eclipse is built around OSGi. Perhaps the better implementation is OSCAR, an open-source implementation of OSGi that is more a stand-alone plugin engine like my Platonos Pluginengine is.
    Depends on what you want. Small, fast, easy to work with and get up in about 5 mins? Go for mine. If you need something a little more industry standards based but is more complicated to work with and quite a bit bulkier in terms of the library size, go for OSCAR. I am not slamming OSCAR or OSGi. OSCAR is very slick, and OSGi is a great initiative. Just offering another solution that may work out better.

  • Need advice in carrer in Java path

    Hi,
    I am in and out Java Ptrogrammer.
    I am in Software industry for round about 5 years.
    I started with Web Desgining in HTML, Java Scripts and CSS.
    After that I joined a Multinational Company and got into SAP ABAP Team.
    I worked in 2 ABAP Projects and then moved to Production Support in Dec 06.
    I cleared SCJP 5.0 in Sep 06. At that time my core Java Skills were very good.
    But then in Production Support, I worked in HR Application Support. I supprted
    4 applications, the main Application was based on Java Swing.
    Even if the application were based in Java Swing, Servlets, JSP etc, we didnot need to do
    any coding in Java Side. Our work was in the backend. We has to retrieve data from back-end tables
    usually through Select queries (Joins) and sometimes we need to write Store Procedures involving
    updation of data. Our work also involved writting Shell Scripting. The Database used was Oracle/Sybase.
    My project tenure ended in Sep 2007. I then was assigned with Unit Testing (JUnit and Ant) for 6 months
    and then QTP Automated Testing Project. After that, I was assigned to SAP NetWeaver Team in SAP Master Data Management. I worked in SAP MDM 5.5 for 6 months August 2008 to Jan 2009 and also appeared in SAP MDM 5.5 Certification in Nov 08. I got 53% and the pass percentage is 55%. Now, I am in Java Project involving
    EJB 2.0, Java Web Dynpro and Oracle Database. It is an Event Management System. It also involves DAO Design Pattern.
    Now, I am involved in Testing the full application. I need to switch back to Java based development.
    What should be the approach? Should I clear SCBCB right now or go for SCJP 6.0?
    Or I will again give SCJP 5.0?
    I need to built a Java Skill set. It is told that you can't learn if you are not in projects. But it is not true with Java J2EE. You can learn it from Net as many free lancing sites are there. Please advice.
    Regards
    Taton

    I suggest not taking any more certifications (for now). Your main concern should be extending your development skills in those areas you are lacking. I suggest reading a book on EJB 2.0, and reading up on event management and DAO on-line. Also, set up whatever development environment they have (example: Eclipse IDE) and get familiar with it.
    For your own long-term career development, I suggest re-writing your resume and having many people review it. Revise it over and over as they point out problems. Have them quiz you on items in your resume (and that aren't in your resume) so you can gain experience on interviewing and answering questions verbally well. I think you have a lot more experience than you realize. Your post seems to me to indicate you don't have confidence to sell yourself in an interview and haven't organized your thoughts to present your argument well yet. Most people don't. Its a skill you have to develop.

  • JMS to Synchronous Web Service Scenario (Need Advice to use BPM or Not)

    Hi Experts,
    We have a scenario where we fetch data from JMS Sender and Send it to MDM Webservices.
    We want to have the files processed in such a way that until we get a response from webservice back that it was sucessful ,then only we need to process the next file.
    We would need advice as can we use BPM for this.
    We are thinking of having BPM like this:
    RecieveStep(Asyn)-SynchronousSend Step(with wait)-Stop
    The problem with this is when processing huge files the processing time of the Queue is taking very long and sometimes we are getting SYSFAIL.
    Please would anyone advice as how can we approach this scenario either using BPM or without.
    Also Can we use multiple queues or multpile instances concept for this scenario.
    Please Advice.
    Thanks in Advance
    Regards
    J

    Hi Prateek,
    Thank you very much for your quick reply.
    The response from Webservice does not need to be sent anywhere.
    We just want that after recieving the response back from webservice(SOAP) then only we need to process the next file.
    Can we control something from Sender JMS adapter side as well as it is picking up all the files and all files wait at BPE until each one gets processed.
    Is this possible without BPM or with BPM.
    Please advice as what wud be possible steps inorder to achive it through BPM or Without BPM.
    Thanks and Regards,
    J

  • Major Issues with installing 4tb internal. Really need advice please

    In the process of a long needed upgrade to my 2010 Mac Pro Quad core 2.8 and have run into a serious headache that I really need advice on so I can get back to work. I've already spent 2 days dealing with all of this...
    Just did a new SSD install and Migration which went fine but I'm also updating the rest of the internal drives. My main (non boot) drive was being upgraded from a Seagate Barracuda 3tb to a 4th Deskstar NAS (it was showing as compatible with my desktop, see links below). My 3tb ran fine for years but now due to it being heavily used I want to switch to a new drive and I can also use a bit more space.
    The issue I'm running into is that initially on boot, my system was telling me it couldn't recognize the disk and it wasn't even showing up in Disk Utility. I had to purchase a SATA USB 3 kit to attach it as an external to get it to show which worked without problem. With the USB kit I was then able to partition it (GUID, Mac OS extended journaled) and format it properly. After reinserting the drive into my tower as an internal it failed to show again. After a few attempts of restarts and trying various bays it popped up but showed as a non formatted drive and I was told again that the system didn't recognise it. I was then given the option to initialise and was then actually able to then format and partition it though Disk Utility while it was installed as an internal.
    Figured that was problem solved but when I went to check the drive and getting ready to transfer files over I noticed that Disk Utility was only allowing the First Aid and Partition options but not Erase, RAID, Restore which I'd never seen before. I then also noticed that none of the drive connection info was in the same format nor will it even provide drive bay info, connection info or read/write status (See screen shots). This is what I can't figure out and really need to clarify before I put full trust into using this drive.
    Any info would be greatly appreciated...
    Deskstar 4tb internal info which is installed in Bay 2
    3tb Seagate which I trying to retire and transfer from.
    Here are the weblinks to the Deskstar 4tb drive and the compatibility list but I support isn't allowing me to add direct links so add the www. before hand.
    (Drive - eshop.macsales.com/item/HGST/0S03664/) (compatibility list - eshop.macsales.com/Descriptions/specs/Framework.cfm?page=macpromid2010.html).

    What OSX version?
    Disk Utility in later versions of ML and I think Mavericks have problems formatting with 4 TB internal drives.
    http://forums.macrumors.com/showthread.php?t=1661024
    http://apple.stackexchange.com/questions/112266/why-doesnt-my-mac-pro-see-my-new -4tb-sata-drive

Maybe you are looking for