Why arent the wheels connected to Havok

Ok I am totally lost with this havok thing. I am trying to
understand what gets attached to the havok physics engine when
designing a car racing game. However, after downloading both the
jeep car and the remote control car games from director-online
havok archive site, I noticed something very stange. While trying
to decipher the code on both files it seems to me that the wheels
are not attached to the Havok physic's engine. Now I could be
wrong, but I wanted to ask you guys if this is correct, and if so,
then how do the wheels follow the car as well as stay on the ground
and without going through the ground? I am asking this becuase I
could not pick it out through its lingo. There are so many
behaviours attached to the 3d world that it is impossible to know
where Director starts to read each behaviour.
I understand a little bit about havok, such as if you want
something movable then you attach a movable rigid body to it and if
the object is fixed then you would attach the fixed rigid body to
it. In addition, I also know a little bit about mass which sets the
weight of the object. However, it seems to me that both of these
games are way too advamced for me especially when just for now all
I am trying to unserstand is how the wheels of a car can follow the
body of the car and also for the wheels to stay on the ground and
without them going through the ground.

Roofy wrote:
>
quote:
IIRC, the example you?re talking about has a "chassis" whose
model
> consists in 4 wheels and the car itself it?s only
attached to the
> chassis by a spring or dashpot to give the amortiguation
effect.
>
> ok, I might be wrong on this, but after pressing play
and typing the following
> syntax in the message window...
> form the jeep demo ....
> put member("blankHavok").lineardashpot
> put member("blankHavok").spring.count
>
> and from the RemoteControl Car demo
> put member("carHKE").lineardashpot
> put member("carHKE").spring.count
>
>
>
> ... doing this in both files and after pressing play, I
get an emplty list
> returned back for the dashpot and 0 for the count of the
spring. So I don't
> think there are any dashpots nor springs on either demo.
Sorry, I thought you were talking about this demo:
http://director-online.com/havok/demos/demo-dashcar.html
> However, what I am
> concluding is that I think they are using 2 custom
handlers called
> initializeHover and updateHover which is somehow
detecting the chassis and its
> wheels if they collide or not. I did a test by disabling
both of these custom
> handlers and by doing so, the chassis would fall through
the wheels and land on
> the ground instead. On the other hand, if these 2 custom
handlers are causing
> this effect, then I srill don't understand how the the
wheels are following the
> chassis. Therefore, I am wondering if it would be easier
to use modelsUnderRay
> considering that all I am trying to do is do collision
detection? What do you
> think?
Actually, this RayCastCar demo uses modelsUnderRay() for
collision
detection of the wheels with the ground:
-- For each wheel do
repeat with i = 1 to pWheelPointList.count
pIsHoveringList
= false
worldWheelPoint = pChassisMDL.transform *
pWheelPointList
intersectDetails = pMember.ModelsUnderRay(worldWheelPoint,
worldDownDir, 2, #detailed)
So the physics and control are applied to the chassis and the
wheels are
just "floating". At which distance should they float is what
modelsUnderRay() is used for.
This doesn�t mean that you don�t need Havok at
all and you can use
modelsUnderRay() instead since havok handles all the driving
physics and
MUR just the distance of the wheels to the chassis.
Regards,
Agust�n Mar�a Rodr�guez
www.onwine.com.ar > Macromedia Director demos & code

Similar Messages

  • Why does the wheel for the apps close and how to keep it open?

    why does the wheel for the apps on the tool bar close and how to keep it open? i've checked thru all the information on your site..

    Exactly which driver did you downlaod and from where? By "GET STRAT", do you mean one of the Getting Started VIs? Error 5 means "NI-488:  Command requires GPIB Controller to be System Controller." Are you using GPIB to control the instrument? If so, what type of board are you using and which version of VISA and NI-488? If the error only occurs on a read, try issuing the query from MAX and see if the error occurs there. In a couple of the Xantrex drivers I looked at, there seemed to be some fixed delays after a write and before a read. You might try increasing those values to see if that makes any difference.

  • Why is the speaker connection wizzard wrong??

    I have creative T7900 speakers, which connect through the 4 different coloured cables. My speakers screwed up earlier so I thought I'd run through the speaker connection wizard again. Why does it only seem to think there are 3 cables? It ignores the grey cable and seems to be telling me all 7 speakers and the subwoofer should be working through 3 and sothe side channels don't work.
    Please help me out on this, I'm sure someone must know. Please. Thanks.

    Thank you. You would be surprised how many times a Google search will land a person here on the forum, and if the answer is found in a thread, they don't have to take the time to post their question. Glad you got the phone working, and have a nice day.

  • Why does the wheel keep spinning at the top of my screen on my iphone 5

    Basically,
    I noted the past 2-3 days that my battery is dying really quick. It  dies after being charged all night within 25 minutes. I also noticed that the wheel keeps spinning at the top of my screen between the time and wifi symbol. Is there a connection?

    I think that it is turning the WiFi switch on in Settings (from "not connected" ) that starts the wheel.
    In normal circumstances the wheel stops when you have selected and connected to a network of your choice.

  • TS1398 Why does the internet connection appear to be offline with stronger WiFi signal?

    I purchased new iPAD 3 generations 32 GB last Monday so i did click iCloud on left side to open the page but it
    indicated "Verification Failed - the internet connection appears to be offline" at home while WiFi icon shows stronger
    but problem with the internet connection being offline at home
    I have no problem with my home computer and wireless printer  - both still working good but I don't understand what's problem
    with my new iPAD after creating new iCloud account   outside home such as McDonald or Starbuck - internet connection appears to be online
    I have Verzion High Speed DSL and router DLink Model DES-1105.
    Please advise.
    Janice Lemanski
    Serial DYTHPBLEDJ8R
    Model A 1416  32 GB
    I

    You may think you are connected to the internet, but maybe not. Click on Safari and see if it connects.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130?tstart=60
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why are the SSL connections maxing out at 256?

    We are running a test and the maximum number of SSL connections keeps stopping at 256, even though the RQThrottle is set to 1024. For HTTP, we are able to get to 1024 connections. It appears that we are able to "burst" above 256 connections for SSL, but the excess connections close and we always return to 256. Our test is creating 500 SSL connections.

    You have answered your question.  If the two simular cameras (XT - T1i) with the same settings,  with the same lens and in the same settings, is not making nearly the same photo, there is something wrong with one camera.
    Your job is to make sure these conditions are met.
    EOS 1Ds Mk III, EOS 1D Mk IV EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 70-200mm f2.8 L IS II, Sigma 120-300mm f2.8 EX APO
    Photoshop CS6, ACR 9, Lightroom 6

  • Why does the Database Connectivity Toolkit not return my text fields?

    I'm running LV 8.2.1 and have the Database Connectivity Toolkit.
    My database is served by MS SQL Server 2005.  The table looks like this:
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">dbo_Test
    dbo_Test
    ID
    Text
    1
    abc
    2
    def
    3
    slkdfj
    4
    owierlkjsdf
    5
    soiwuers
    A snapshot of my vi block diagram is attached.
    A snapshot of my vi front panel is attached.
    Where is the text?
    Attachments:
    vi.jpg ‏75 KB
    vi-fp.jpg ‏53 KB

    kc64,
    I don't think I completely understand the problem.  Can you go into more details of exactly what is the issue you are experiencing?
    Mark
    LabVIEW R&D

  • HT4858 I have bought 4 movies however one wont download due to insufficient storage, why arent the others stored in the cloud so I could down load the fourth movie?

    Are movies automatically stored in the cloud and if so why can't I download a new movie.  When I try it says "insufficient space".  If the other movies are stored in the cloud- why won't the last movie download?
    Sivle1940

    You have to download or sync the movie to your iPad in order to watch it.  If you already downloaded too much you won't have sufficient space on your iPad to download more, and iCloud doesn't expand the space on your iPad.  Purchased movies are stored in the iTunes store, and depending on the country you live in and whether or not the studio allows it, you can redownload them again for free.
    If you need more space on your iPad, transfer the movies you have already download on your iPad to your iTunes library by connecting it to your computer, opening iTunes, then going to File>Devices>Transfer Purchases.  You can then delete some of the movies off your iPad to make room for more.

  • Why was the wheel reinvented, when older wheel was more reliable???

    Apple, answer me this..
    After the foundation of iMovie & iDVD 4 and 5,
    a very reliable and sturdy basis for DVD and movie creation
    (at least for me anyway)...why did you mess with a good thing?
    All the problems I've read in the forums combined with the
    problems I've had with iDVD 6 (and some with iMovie 6)...
    what happened? what went wrong?...and why mess with a good thing?
    Now with iMovie HD, I cannot re-install my iMovie and iDVD
    and go back to version 5.
    sincerely,
    very frustrated!!

    First off...I want to thank you both Skip & Mish for your time and patience in attempting to solve the problem and I will try to lay out what's happening and my particular situation. Good luck.
    I'm an Art Director/Print Designer of some 13 years and have within the last 2+ years, have dove head-first into video editing (Premiere, etc) and DVD creation. So that's where I am at, in a designer mindset and knowing all the Mac programs that entails.
    Not knowing how to use iMovie/iDVD programs some 1+ years ago, now being able to make high-quality DVD productions are now something I take pride in.
    Having sucess with mostly version iMovie5/iDVD5, and some v4, I comitted a cardinal sin of the "computer programs law #1"..never buy/install a new program when it comes out due to "bugs." But with the sucess i've had with 4 & 5, what could go wrong...so I went with it and purchased iLife 6.
    What a mistake...and you're right Mish, there are bugs in any program, especially non-essential ones, but these were crutial and created havoc, something that I wasn't accustomed to in previous versions.
    So here's the problem, I had created movies in 5 and eagerly installed 6. I don't quite remember exactly what the bug was but it had to do with iDVD6 dropping assests as it's brought into it as encoded by iMovie6 when I burned the DVD. I could not proceed with the project. (I am tempted to reinstall 6 to recreate the bug so I can detail what's going on.)
    Anyway, so like any other Mac guy i thought, i'll delete all programs of iMovie/iDVD6 and reinstall 5. Well, i was able to install iDVD 5 however, iMovie 5 was "grayed-out"
    as an option on both install discs of 5. I couldn't reinstall iMovie 5.
    Getting discouraged, I installed iMovie 6 and prayed that it would "share" with iDVD5 menus already created. It didn't share... thus, I had to follow Skip's suggestion to Export w/ a Full Quality movie and re-link, however it didn't transfer encoded chapter markers into iDVD5.
    What it did was every chapter that was already created in iDVD would now play the entire movie from the beginning.
    Now i'm thinking that I have to somehow relink chapter stops...a bit much work for what iMovie/iDVD makes so easy.
    I now have two versions of my movie, saved one in 5 & one in 6...would like to continue with 6 version but burn DVD's in 5 as it's more stable. iMovie won't share/transfer at all...only opening the program but not creating a new project in iDVD.
    So there I am...the project is on hold until I figure this out and where i can continue to focus on the "design & form" and not the technical function, which Apple had built-in as being "so easy."
    Now you can see why i am so frustrated and need a solution that doesn't require an 8 hour day. Do I bother continuing with 6 for future projects?
    Speaking of 8 hours, this post needs an end.
    How do we solve the problem? Suggestions & Options please..
    Gratefully in your debt, thanks!!
    Scooby69
    1.4 GHz PowerPC G4; 896mb SDRAM Mac OS X (10.4.6)
    1.4 GHz PowerPC G4; 896mb SDRAM Mac OS X (10.4.6)
    1.4 GHz PowerPC G4; 896mb SDRAM Mac OS X (10.4.6)
    1.4 GHz PowerPC G4; 896mb SDRAM Mac OS X (10.4.6)

  • Why does the wireless connection on my desktop disconnect when I plug in my Ipod Touch?

    Basically I just recently had my uncle build me a desktop computer and so far everything has been great but I noticed that everytime I plug in my iPod touch into it to charge it switches off my wirless adapter somehow making it impossible for my ipod to update or for me to use the internet. Then when I disconnect the iPod I can't firgue out how to switch the wireless adapter back one. Most of the time I have to use the windows troubleshoot to fix it. And sometimes it says that the wireless adapter had been reset or something?

    I have the same issue.  I believe this is an issue that has only developed since the last ITunes update since I have had no problem prior to this.  I have isolated the problem to be a conflict between ITunes and the AE1000 driver.  I have found no solution yet.  If you do find a solution please notify me.  Thanks. See my related post.  https://discussions.apple.com/message/20650864#20650864

  • Why arent the nba league pass HD channels turned on for the free preview?

    They better be turned on by tommrrow or else i wont be too happy!!

    This is because Verizon is in the process if replacing lots of boxes for people to see subscribed channels that are being converted to MPEG-4. If someone is subscribed to the package and can't see the HD channels, they will swap out the box. Verizon doesn't want to swap out boxes at this point for people to see a two week preview and nothing else. I was kind of bummed that I couldn't see the HD channels in the NHL package, but if I wanted them that bad, I would have subscribed.
    On another note, I just bought an Apple TV unit, and I will never bother with buying a sports package of regular TV channels again. If I ever subscribe, I'll get the online version and watch it on Apple TV so I can get either teams' broadcasts in HD every day. The only exception is if a local team is involved, and I could only watch on my region's RSN.

  • An error occurred while connecting to the AirPlay device "Stereo Airport Express G". The network connection failed.

    When attempting to play iTunes 11.1.2 music wirelessly from my Mac Mini to stereo speakers connected to an AE "G" I get the following message: An error occurred while connecting to the AirPlay device “Stereo Airport Express G”.   However, when I attempt to play internet radio from an iPod Touch wirelessly to the same speakers connected to the same AE "G", it works fine.
    Finally, when I swap out the "G" for an AE "N" connected to the same speakers Airplay works fine, both from the Mini and the iPod.
    Why would the iPod connection work while the Mini connection not?

    I have what sounds like a very similar issue.
    I had my Denon 3312ci working perfectly with Airplay from my 2013 iMac running iTunes. Upgraded to iTunes 11.1.3, and now when I attempt to Airplay direct from iTunes to the 3312, it plays for about half a second and then stops. Displayed on the Amp then says "Assigning Network". The amp starts dropping ping packets at this point. About 15-20 seconds later the pings start coming back, but no Airplay.
    I tried different network cables, resetting the microprocessor, a different switch, changing between DHCP and static IP. Was about to make a warranty call to Denon, when I thought maybe I should try Airplaying directly from iphone and ipad. Much to my surprise, it worked from those devices.
    I prefer to use my iMac to Airplay rather than ipad/iphone as I found I got next to no audio drop outs using it that way (they are both using wired network), where as ipad/iphone occasionally would get a moment of silence in the middle of a song.
    My network set up is fine. I can use internet radio and connect to DLNA services fine on the amp. It is just airplay between iTunes 11.1.3 and the amp where the issue lies.
    No fixes as yet, but I have logged a support call with Denon Australia to see what they say.

  • Why doesnt Adobe just UPDATE Flash Professional? Arent they reinventing the wheel?

    Congratulations on getting to open beta with Flash Catalyst!
    I know its late in the game to mention something like this but why didnt Abobe just update Flash Professional?
    It seems that the arguments for flash Catalyst center around the following:
    1) smooth workflow between Photoshop & Illustrator, especially because of the same layer view
    2) No coding required to create components out of artwork
    3) Can create FXG  and FXPs to be used in Flash Builder
    4) Can create multi screen aplications
    1) 2) and 3) could all be solved by adding a new types of symbols to Flash Professional's 3 currently available symbols(MovieClip, Button, Graphic)
    1) could be solved by adding a new Sprite symbol.
    Flash Professional needs to be updated to keep up with and match the structure of AS3 anyway.
    Sprites were added in AS3 and now wireframe components are being added to the code structure, why not just at that on the design side as well?
    Sprites are essentially MovieClips with out a timeline.
    So if you created a new Sprite symbol and opened it up in the timeline, you would only see one frame with folders and layers.
    A Sprite symbol is essentially organized the in layers and folders and would just like a photoshop file.
    And if you really want it to look like a Photoshop layout, then you just move the timeline view over to the right.
    This would solve problem 1.  Designers could import their artwork into Flash Professional as a Sprite and it would be a seemless experience.
    Obviously I'm not saying that a bitmap is a sprite. But I am saying that layers of bitmaps and could be organized inside of a Sprite. And the designer could turn any of the assets into a Button, MovieClip, Graphic, Sprite, and hopefully other Classes and WireframeComponents available in Flash.
    2)&3) could be solved by adding a new Symbols for the new Wireframe Components. The Button symbol already has a template with 4 states. Why not update Flash Professional to visually represent more Classes and Component Classes, instead of just the MovieClip Class and the Button Class. Even better, maybe there could be a way to make a template for creating our own wireframe components. Just assign a base class for the wireframe class and a base template, and the introspection view will display accordingly.
    States of the component would be listed out at the top instead of frames,  just like the Button Symbol used to be.  Different layers could be designated for specific graphical parts of the component. The designer would be free to add their own layers if necessary.
    In previous versions of Flash, everything was a movieclip and everthing had a timeline. Thats not the case anymore. The timeline is for intropecting MovieClips, but this view could be different when intropsecting different types of symbols such as Sprites, Buttons, Wireframe Components, and even Custom Wireframe Components(extensible).
    These new Symbols and also Sprites could export to FXG very easily.
    The multi screen applications in 4) look pretty similar to the Slide Presentation Template. Why not just make a new MultiScreen App Template and youre done. these MultiScreenApp Templates could exporte Screens to FXG or export the whole Template to a FXP.
    I applaud the work done on the new wireframe components and FXG. Great Job!
    But, just cant understand why you cant update Flash Professional with new types of Symbols(Sprites, new Buttons and wireframe Component Classes) and a new MultiScreen App Template.
    Flash Professional needs to keep up with AS3 and also needs to export FXG and FXP.
    Why doesnt Adobe focus on on this rather than create a new Tool? These features need to be added to Flash Professional anyway.
    Isnt there more of a disadvantage to having 2  tools for designers that do the same thing?
    I'm sure this issue has been debated before. Can anyone point to me links that have the arguments for creating a separate tool instead of updating?
    Has anyone ever suggested that Flash Professional should keep up with AS3?
    Has anyone ever suggested making Sprites a new symbol in Flash Professional so that it could be more seamless with Photoshop?
    Has anyone ever suggested make Wireframe components in Flash Professional like the Button Symbol in Flash Professional?
    Has anyone ever suggested updating Flash Professional so that it would export FXG and FXP?
    What is your opinion on this?
    -thomasglyn

    @Ross
    Thanks for your explanation. I appreciate your feedback.
    I'm glad we agree that ideally there should be 2 main tools, one for designers(Flash Professional) and one for programming(Flash Builder).
    You had mentioned "But, that assumes this is possible.  As it currently stands it is not" and the reason being "Catalyst, and Builder both use a completely different framework from Professional. The component architecture is drastically different, not to mention the entire backend of the software.".
    You could also argue that, the reasons to make a separate flex component creation tool like Flash Catalyst assumes that updating Flash Professional CS4 is NOT possible. But is the statement about the framework being entirely different really true?
    Well, that depends on what you mean by the term "framework".
    Framework can refer to 3 things in this case.
    1) the component framework
    2) the code framework(AS3)
    3) the flex framework (mxml, fxg)
    If you are refering to #1 then you're right, because Adobe hasnt updated the flash component framework in Flash Professional from Flex3 Halo components to Flex4 Spark components.
    Flash components have gone through many iterations, and the switch from AS2 to AS3 was probably more profound than the new wireless component structure(Spark). And now that we have AS3, isnt the only difficulty creating a intuitive UI in Flash Professional, and adding export features?
    If you are refering to #2 then I think you're incorrect, because Flash Professional has been updated to AS3 and Flex4 Spark components use AS3. I would totally agree with you, if CS4 did not go through all of the trouble updating to AS3.
    If you are refering to #3 then you're right, because Flash Professional doesnt export mxml, fxg, or fxp, but with a little creativity, it would probably be possible to allow such an export. Adding FXG/FXP export features could be solved by creating a new type of project file.  Adobe did this for AS2, AS3, flash lite, etc. Why cant they just make a new AS3/FXG file that only allows you to build fxg/fxp exportable assets.
    Why cant Adobe make a Sprite class the default document class for AS3/FXG projects and when some adds a movie clip asset, export movie clips as swfs or swcs?
    So to be honest, after opening up Flash Catalyst again and looking at it again, I almost get the feeling that its just a Flash Component creation tool with a Photoshop UI, for the new AS3/Flex 4 components(Spark components) that Adobe just refuses to add to CS4.  CS4 uses AS3 and Spark components use AS3.  CS4 needs to be a visual design tool for all the classes in AS3(as much as possible).
    Perhaps Adobe originally meant to name this product...
    ADOBE FLASH COMPONENTS
    Or maybe Adobe Flex Components(but thats no longer true, because Flex 4 will be Flash Builder).
    In regard to "reinventing the wheel". Flash components have been reinvented several times, and I totally agree with you that this is important to "reinvent" components to keep up with new techiques as2,as3,fxg.  You are right, this is a positive thing. However in this case, I am using "reinvent in a negative sense.
    So maybe I shouldnt say "reinvent the wheel", but "reinvent the car".
    Perhaps Adobe is trying to create a wheel for the upperclass RIA programmer Flex car, and isnt making it compatible common designer/programmer Flash car. And when they finished the wheel, and they decided just to make a Segway for the Designers and Flash people to ride, that uses this new wheel.
    You might argue that its more approachable for designers, and designers feel at home because the ui is similar. This is precisely why Adobe should hurry up and finish updating the ui of the Flash Professional IDE so that its ui is more compatable with Photoshop and Illustrator. The fact that Photoshop and Illustrator is the standard for designers are perhaps one of Adobe's greatest advantages.  They could make the designers happy if they just make a Sprite inspector view with layers like photoshop in Flash Professional, instead of using the old "everything
    is a movieclip" paridgim. Flash Professional has already upgraded to AS3 and in AS3 everything isnt a movieclip.  So it would be nice if they could make views for some of the new classes and wireframe components.
    This is the age old debate, update or start from scratch.  I guess I'm saying that I think the hard work of updating to AS3 has already been done, and its just plain wierd that Adobe decides to build a separte tool for components, when they use the same AS3 code base.
    Its just insanely exciting to just think about what could have been if Flash updated and brought on more Designers and at the same time linked in the Flex community. Thats what Flash has always been about! The meeting point between Designers and Programmers.
    To go this far and quit just because of components just leaves me blue.
    It seems that many projects stop at 80% complete and if the developers just spent the extra 20% on fine tuning things then they would have a very high quality product. In this case the remaining 20% is  components, ui, and export. I understand that there are probably many things I dont understand, especially when you through in marketing, and product life cycle.
    But I think Adobe could have done it, if they put as much effort into it as they did to make an entirely new product.
    Maybe we should make some noise before its too late.
    I'm still interested in seeing more links that show the logic behind the initial discussions of this debate when it was first decided.
    pls keep me posted.
    @nwfa & macsavers
    Yes, youre right. it does seem to be their plan.  I just hope they are just testing the waters.  Perhaps after they do the initial selling of Flash Compenents, then maybe they could offer a free update to CS4.
    As I mentioned above, the main reason designers feel at home is because of the UI of Flash Catalyst. UI's can be updated, and I believe Flash Professional can and should update itsui for the reasons I mentioned above.

  • Why does JDBC keep connections open even though I close the resultsets?

    I attached my program and my output. Please bear with me for the long output. My question here is why do the connections remain even though I closed the resultsets. I need to reuse my prepared statements, but don't want to keep the oracle sessions open. Is this possible? What do I need to do?
    If you notice in the program, I have executed the query to find the number of open sessions 5 times.
    1) After creating the connections
    2) After creating the prepared statements
    3) After executing them
    4) After getString on the resultSets
    5) After closing the resultsets.
    And the sessions are still there even is Step 5 :-(
    import java.sql.*;
    * Title:
    * Description:
    * Copyright: Copyright (c) 2001
    * Company:
    * @author
    * @version 1.0
    public class Test {
    String dburl = "jdbc:oracle:thin:@oracle92:1521:oracle92";
    String query = "select s.username,s.sid ,s.logon_time, s.serial#,sql.sql_text"+
    " from v$session s, v$sqltext sql where sql.address = "+
    "s.sql_address and sql.hash_value = s.sql_hash_value "+
    "and upper(s.username) like 'KRTEMP%'"+
    " order by s.username ,s.sid ,s.serial# ,sql.piece" ;
    // String query = "select s.username, s.sid ,s.logon_time, s.status from v$session s where upper(s.username) like 'KRTEMP%'";
    public Test(int num) throws Exception {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection[] con = new Connection[num];
    for(int i=0; i<num; i++) {
    con[i] = DriverManager.getConnection(dburl, "krtemp", "krtemp");
    executeQuery();
    PreparedStatement[] ps = new PreparedStatement[num];
    for(int i=0; i<num; i++) {
    ps[i] = con.prepareStatement("select * from contact");
    executeQuery();
    ResultSet[] rs = new ResultSet[num];
    for(int i=0; i<num; i++) {
    rs[i] = ps[i].executeQuery();
    executeQuery();
    for(int i=0; i<num; i++) {
    ResultSetMetaData meta = rs[i].getMetaData();
    while(rs[i].next()) {
    for(int j=1; j<=meta.getColumnCount(); j++) {
    rs[i].getString(j);
    executeQuery();
    for(int i=0; i<num; i++) {
    rs[i].close();
    executeQuery();
    private void executeQuery() throws Exception {
    Connection con = DriverManager.getConnection(dburl, "krtemp", "krtemp");
    PreparedStatement ps = con.prepareStatement(query);
    ResultSet rs = ps.executeQuery();
    ResultSetMetaData meta = rs.getMetaData();
    System.out.println("-----");
    while(rs.next()) {
    for(int i=1; i<=meta.getColumnCount(); i++) {
    System.out.print(rs.getString(i));
    System.out.print(" ");
    System.out.println();
    System.out.println("-----");
    public static void main(String[] args) throws Exception {
    Test test = new Test(5);
    The output is
    KRTEMP 9 2005-06-27 17:09:30.0 5436 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WH
    ERE PARAMETER ='NLS_
    KRTEMP 9 2005-06-27 17:09:30.0 5436 DATE_FORMAT'
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 105 2005-06-27 17:09:30.0 3296 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 153 2005-06-27 17:09:30.0 31065 DATE_FORMAT'
    KRTEMP 163 2005-06-27 17:09:30.0 3205 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 163 2005-06-27 17:09:30.0 3205 DATE_FORMAT'
    KRTEMP 183 2005-06-27 17:09:30.0 3465 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 183 2005-06-27 17:09:30.0 3465 DATE_FORMAT'
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 256 2005-06-27 17:09:30.0 2718 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:30.0 2718 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:30.0 2718 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:30.0 2718 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS WH
    ERE PARAMETER ='NLS_
    KRTEMP 9 2005-06-27 17:09:30.0 5436 DATE_FORMAT'
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 105 2005-06-27 17:09:30.0 3296 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 153 2005-06-27 17:09:30.0 31065 DATE_FORMAT'
    KRTEMP 163 2005-06-27 17:09:30.0 3205 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 163 2005-06-27 17:09:30.0 3205 DATE_FORMAT'
    KRTEMP 183 2005-06-27 17:09:30.0 3465 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 183 2005-06-27 17:09:30.0 3465 DATE_FORMAT'
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 select * from contact
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 select * from contact
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 select * from contact
    KRTEMP 163 2005-06-27 17:09:30.0 3205 select * from contact
    KRTEMP 173 2005-06-27 17:09:31.0 3922 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 173 2005-06-27 17:09:31.0 3922 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 173 2005-06-27 17:09:31.0 3922 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 173 2005-06-27 17:09:31.0 3922 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 183 2005-06-27 17:09:30.0 3465 select * from contact
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 9 2005-06-27 17:09:30.0 5436 select * from contact
    KRTEMP 34 2005-06-26 18:51:01.0 3629 rename tstore to store
    KRTEMP 37 2005-06-27 17:09:25.0 4209 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 37 2005-06-27 17:09:25.0 4209 DATE_FORMAT'
    KRTEMP 74 2005-06-27 17:09:26.0 17625 select appId from profile_application_tabl
    e wher
    KRTEMP 74 2005-06-27 17:09:26.0 17625 e appName=:1 and appVersion=:2
    KRTEMP 83 2005-06-27 17:09:25.0 1771 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS W
    HERE PARAMETER ='NLS_
    KRTEMP 83 2005-06-27 17:09:25.0 1771 DATE_FORMAT'
    KRTEMP 105 2005-06-27 17:09:30.0 3296 select * from contact
    KRTEMP 111 2005-06-27 17:09:25.0 4878 SELECT VALUE FROM NLS_INSTANCE_PARAMETERS
    WHERE PARAMETER ='NLS_
    KRTEMP 111 2005-06-27 17:09:25.0 4878 DATE_FORMAT'
    KRTEMP 153 2005-06-27 17:09:30.0 31065 select * from contact
    KRTEMP 163 2005-06-27 17:09:30.0 3205 select * from contact
    KRTEMP 183 2005-06-27 17:09:30.0 3465 select * from contact
    KRTEMP 191 2005-06-27 17:09:26.0 5438 select appId from profile_application_tabl
    e wher
    KRTEMP 191 2005-06-27 17:09:26.0 5438 e appName=:1 and appVersion=:2
    KRTEMP 204 2005-06-27 17:09:32.0 1478 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 204 2005-06-27 17:09:32.0 1478 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 204 2005-06-27 17:09:32.0 1478 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 204 2005-06-27 17:09:32.0 1478 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 232 2005-06-27 17:09:31.0 5893 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 232 2005-06-27 17:09:31.0 5893 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 232 2005-06-27 17:09:31.0 5893 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 232 2005-06-27 17:09:31.0 5893 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece
    KRTEMP 256 2005-06-27 17:09:31.0 2783 select s.username,s.sid ,s.logon_time, s.s
    erial#,sql.sql_text fr
    KRTEMP 256 2005-06-27 17:09:31.0 2783 om v$session s, v$sqltext sql where sql.ad
    dress = s.sql_address
    KRTEMP 256 2005-06-27 17:09:31.0 2783 and sql.hash_value = s.sql_hash_value and
    upper(s.username) like
    KRTEMP 256 2005-06-27 17:09:31.0 2783 'KRTEMP%' order by s.username ,s.sid ,s.s
    erial# ,sql.piece

    Why do the connections stay open? Because you haven't closed them.
    You answered your own question: obviously closing the ResultSet is NOT the same thing as closing the connection.
    When you do a query, you want to get the connection, statement, and result set, load the data from the result set into an object or data structure, and then immediately close them all again in reverse order of creation. You want to keep the scope as narrow as possible. You want to use a connection pool to keep the cost of obtaining a connection down. You should leave caching of the PreparedStatements to the JDBC driver.
    %

  • Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?

    Why when I try to login the Itunes Connect with my Apple ID it always says: "Apple ID does not have permission to access iTunes Connect."?

    Look on one of your bank statements and be sure to enter the billing address exactly as it shows on the statement. Some folks forget where they actually get the statement. They put their home address in iTunes/Mac App Store and they actually get the statement at their place of employment or vice versa.

Maybe you are looking for

  • How do I add a forum to me site using iweb 08?

    I have all the sources such as i web 08, mobile me account and my own domain name website all set up and running fine. I would like to add a forum where people can add comments and pictures. How can I do this?

  • SSL Client example from dev2dev

    Bruce, I still have some questions unaswered. 1. Is there any "default" list of trusted CA that is used during handshake? The SSLClient example does not have any references to trusted CA files. The weblogic.webservice.client.ssl.trustedcerts property

  • Missing Parts report for Purchase Orders

    Hey Gurus, We are running the availability check for Purchase orders and the user group is wondering if there is a standard Missing Parts report in SAP similiar to transaction CO24 for Purchase Orders so that they can view all of the Purchase orders

  • Web dynpro Abap : Icons not display in alv table

    Hi , I want to replace the content of a cell by an icon ,in an alv table. I know how I should do it, but my icon is never displayed. There is only an "X" as if the icon hasn't been find. Did anyone encountered the same issue? Thanks Karim

  • Apple account expiry?

    Hi, Does anyone receives a email saying apple account will expire in hours and request password and username to log in to a certain link? I think is a trap. ahjai