Command for Max y on scrolling MC?

Hi guys,
So I have a movieclip that scrolls via a 'up' and 'down' button on the right, they work fine, however, they don't recognise the top or bottom of the movieclip and as such continue scrolling indefinitely.
Is there a way to set my max/min scroll height so it doesn't go past y(0) or like y(2000)?
code:
onClipEvent (enterFrame) {
if (scrollDown) {
_root.ScrollPaneMain.GuruQuestions._y = _root.ScrollPaneMain.GuruQuestions._y-2;
And the buttons contain the following: 
on (rollOver) {
scrollDown = 1;
on (rollOut) {
scrollDown = 0;

Add those into your conditionals... if (scrollDown && _root.ScrollPaneMain.GuruQuestions._y > ? ) {  // example only, > <, ??

Similar Messages

  • Expdb using Unix pipe command for max compression

    I think the answer to this is NO, but I thought I'd ask the questions anyway, in case some of the Oracle geniuses on this site have figured out a way around this.
    We have been using the existing exp/imp commands for years, due to the fact that we can pipe the output through a pre-setup file that will compress the data as it is written. Since we have moved onto the 10g and now the v11 software, we are starting to what to utilize the parallelism that is afforded in expdp, but don't want to deal with the space required for non-fully compressed exports that occurs with expdp.
    So the question is, has anyone figured out a way to use expdp and using 'on the fly' compression like you could do with the old exp utility on Unix boxes??
    Any help would be appreciated....

    Unfortunately, no--it has to do with the parallel nature of the file ops that prevents compression through a pipe. However, if you buy the Compression option in 11--you can compress on the fly.
    See this white paper.
    http://www.oracle.com/technology/products/database/utilities/pdf/datapump11g2007_quickstart.pdf
    Edited by: jdanton on Sep 2, 2008 3:12 PM

  • How do I turn off the alt scroll zoom?  When I'm in Adobe photoshop and illustrator using the pen tool, alt is utilized for another short cut.  I would like to use the alt command for the pen tool instead of zooming into the screen.

    How do I turn off the alt scroll zoom? 
    When I'm in Adobe photoshop and illustrator using the pen tool, alt is utilized for another short cut.  I would like to use the alt command for the pen tool instead of zooming into the screen.

    I tend to select things from left to right and every time I am moving in a downward right diagonal motion during lasso selection I am missing a clear view and I am tending to have a more sloppy selection.  All this does is slow me down since I need to go back and hit those areas again.  The big arrowhead just get's in the way.  The original lasso tool with the thin line and small active point at it's lower left was far better for me.
    I don't like turning the cursors to precise because I like to see the active tool icon where my cursor is and as the icon changes as I hold modifier keys down.  If I am forced to get comfortable with using pricise cursors I guess I will, but man, I've never had to do this in my 15 years of photoshop use...
    I would absolutely LOVE to find a way to get the old lasso icon -- without the arrowhead above it.
    Is there any chance this option could be inlcuded in cursor preferences?  I'd give much thanks, Adobe.

  • "Specific" command for memtest in terminal????

    What is the "specific" command for memtest in terminal????
    I've downloaded the 4.22 version of memtest installed okay and I can't get it to run.
    I have a G4 MDD.  Os is Tiger 10.4.11  I've run applejack countless times, Onyx as well, have corrected permissions and run disc repair as well
    and I still have slowed up beachball frozen processing!!! across all my hard drives.  Windows stall all my other open programs with a beachball then 14 seconds later it lets it allgo and the window opens.  Every time after start-up.  Any new window or program I open does same.  After it's been initially clicked on, most windows open normal speed.   This is excruciating.  I've had this machine optimized professionally, and it was good for couple of weeks then it started slowing down processing again. 
    I thought to check the ram, but cannot run the memtest program!
    What is the command sequence font per font and spaces to use in terminal?
    Or how do I check if it's even recognized by my machine?  I have used rember which came back okay, but, I know that it can't test the ram currently in use.
    I've downloaded and checked memtest when installing applejack and also dwnloaded it seperately, but no go.
    I would welcome advice and direction. 
    Thank you
    E

    My Machine:
    G4 Mirror, 1,25 GHz , 2 GB (max ram) 10.4.11
    Graphcs Crd- ATI Radeon 9000 Pro, VRAM 64MB
    I have 3 internals HD's
    Reason I want to check is my system is not only slow, but, freezes at random times.  For example typing into test edit, while Firefox is open with one window. Or, I open a window in Finder and it takes 15 seconds for the request to complete, meantime all other applications freeze in those 15 seconds.  Nothing works and I have 2 GB ram! 
    When problem started, I had a pro optimize the system - Checked all 3 HDs. found no bad sectors on any of them.
    I have booted into 2 different drives and have the same problem:  Beachball appears often. When opening windows in Finder, it hangs for about 10 -15 seconds. Sometimes it just stays rolling until I force shut it down.  Every session it happens at some point. I don't need to shut it down every time, but, it is slow, as if a huge program is running in the background.  BUT, I only have the browser open.  It scrolls with a stutter often or beachball shows up when opening a new tab that is loading a page.
    For the Primary Drive which is 300GB capacity:
    Disk Usage - Space utilized - 141.54 GB
            Space Free- 137.79GB
    The Other Drive I boot into:
    250GB capacity,
    Space Utilized - 166.31MB
    Space free 66.56GB
    I'vee dumped these pref panes in Safe Boot - 
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    It ran okay for a day, then it went right back to the same issue of slow-down and freezes.  This happens even when there is no browser or when I use Safari.
    I'm deeply frustrated, as I can't work profficiently on this machine right now, and it's the only one I have. 
    The memtest app is on my desktop...so is this the correct script?   /desktop/memtest/memtest all 3 -L
    I have super duper and I love it.  Will get Disk Warrior.
    I will have console and activity monitor open at all times,  
    Only reason I think it's possible bad ram is because the freezes are happening on my other drive as well.  I get slow window beachballs when I boot into it! 

  • Using voice activation commands for Illustrator

    I was searching this forum to see if you can scroll (zoom) with the mouse wheel. I found a couple of short cuts that accomplishes the task (but not as easy as PS CS3 does).
    In PS CS3, I created a whole bunch of Dragon Naturally Speaking commands which, in effect, allowed me to speak the various PS commands (as opposed to clicking, dragging etc) with eh mouse and Wacom Pen.
    WITHOUT A DOUBT, this is the way to fly in PS. Speaking commands and having the program perform the function allows you to concentrate on the creation as opposed to what tool and when etc.
    Just being able (using the scrolling wheel example), to say "zoom" or "zoom out" instead of looking for the zoom icon clicking it and then clicking the work area helps tremendously.
    So, while looking for a way to Scroll in Illustrator, I got to thinking I will do the same thing for this application.
    Therefore, I was wondering if anyone had done the same thing here in Illustrator.
    I also posted this in the Windows forum.
    Anyway, just wondering.
    Bob

    Hi Jean,
    first, I had to let you know, and I am by no means connected in any form shape or manner with Dragon Naturally Speaking software.
    Second, I am actually dictating this message to you utilizing this voice activation software. I have been utilizing the Dragon for many years and this particular version happens to be one of the best that they have ever marketed.
    To give you an idea of the different commands that I utilized when creating very simple voice commands in the Dragon, here are some of the commands I created:
    Adjust color, adjust contrast, adjust curves, adjust hue saturation, adjust levels, auto color, (for the brushes if I wanted to increase them, bigger 1 bigger 2, bigger 5, bigger 7 (as you can see, it would increase the size of the brush dependent upon the number that followed the word bigger)), clone, copy, copy layer, crop, curves, cut, delete layer, deselect, duplicate layer, feather, erasure, eyedropper, etc., etc., etc)
    Once again, I am dictating this message and not typing it.
    Hopefully you can see we have a mouse in your hand, or a pen tablet and you are looking at the screen and reciting commands, and not having to look at the keyboard or the mouse or the walkom pen or what ever, and when you speak a command the application does exactly what you want, this allows you to concentrate on what you are trying to create as opposed to how to create it!
    This is the major differentiator between working manually (and trust me the pros on this forum can work very very fast manually), and working allowing your creativity to come to the front as opposed to your technical specific knowledge of the application and how to maneuver it.
    Anyway, I come out of many many years of information technology and this is probably one of the best combinations of applications that increases the efficiency of the individual working with said applications.
    I probably should go back and correct any recognition errors that the Dragon might have made (which were probably made because of my poor pronunciation were slurring of words), but I would rather not.
    It would be better for you to see (and I guess the other members of the form to see) the voice activation software can do for you.
    In closing, and once again I have to stress I am in no way affiliated with the Dragon, combining these two applications increases your productivity tenfold.
    Good luck, and I hope you shoulder feels better.
    Bob
    ps., ok so i lied, I corrected 5 small errors the Dragon made.... but you would have understood what I was trying to say anyway....

  • Command for compilation of views

    Hi
    what is the command for compilation of views,triggers,procesdures anf functions from SQL prompt
    Regards
    Najeeb
    Message was edited by:
    Rehman

    not much of a searcher, are you. you didn't even need the search box - just scroll down on the page a bit and you would have seen it
    to compile all invalid objects

  • FlexMotion Command For Initialize

    Could someone please tell me if there is a FlexMotion command for initializing a motion control card? I am using a PCI-7334 stepper controller card along with a MID-7604 4-axis driver power unit. In MAX, I can find a button for initializing the PCI-7334 card, so instinct tells me that there must be a command for performing this initialization down in the FlexMotion ".dll". I have searched through the list of FlexMotion commands, and I cannot seem to locate this command. ANy help that could be provided would be appreciated. Thank you.

    Thank you Jochen for your response. I downloaded the "FlexMotion Software Reference Manual" from the link below:
    Link: http://digital.ni.com/manuals.nsf/websearch/92003B670CC3CB3F862567C800755B95
    Interestingly enough, I did a search of the "321943b.pdf" document that I had downloaded and was unable to locate a "flex_initialize_controller" command. I'll give this command a try. Thanks again for your help!

  • Aaa authorization commands for pix 535

    Hi ,
    Can you provide aaa authorization commands for pix 535
    Sanjay Nalawade.

    Hi,
    Please find the AAA config for PIX.
    aaa-server TACACS+ protocol tacacs+
    max-failed-attempts 5
    aaa-server TACACS+ (ExranetFW-In) host
    timeout 5
    key ********
    aaa authentication enable console TACACS+ LOCAL
    aaa authentication serial console TACACS+ LOCAL
    aaa authentication http console TACACS+ LOCAL
    aaa authentication ssh console TACACS+ LOCAL
    aaa authorization command LOCAL
    aaa accounting command privilege 15 TACACS+
    aaa authorization exec authentication-server
    Karuppuchamy

  • Need example vi using AT commands for dialing the modem at the remote end

    Can any one give example vi for dialing up a modem and sending data to remote end

    Hi sindhu6,
    Presuming that you are connected to your modem via a serial connection:
    I did find a forum related to your enquiry: http://forums.ni.com/t5/LabVIEW/AT-commands-in-labview/td-p/1213335
    And I did find an example from ni.com: http://zone.ni.com/devzone/cda/epd/p/id/2577
    Basically, what you need to do is to find out what are the AT commands used for your modem and send the command over using VISA related functions (e.g. VISA Read VI). You can send the command in a sequantial method. You can do this by using the method found in the first link. The best would be that you can create a state machine where by each case/state will consists of commands that you need to run in a sequence (let's say a sequence of AT commands for sending a message via TCP/IP communication).
    You can also use a sequence structure but I would not suggest that since you cannot stop the sequence half way and if your command is very long, this may look pretty messy for your code.
    The main question is:
    What is the version of your LabVIEW?
    What is the modem that you are using and how is your hardware setup is going to be (e.g. how did you communicate with your modem)? 
    Thank you
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • Questions on Commands for planning application

    Hi,
    1. Where can i get the information on commands for planning functions?
    2. What is the difference between
    ---Execute planning function simple and -
    Execute planning function
    3. I create planning layout with few buttons
    a. Copy: I clicked on the copy button and can see the data in the layout
    b. Save: Clicked on the save icon, Data saved into the planning cube
    c. Change. : clicked on the change and changed few values and then clicked on SAVE button. Data got saved into my planning cube.
    Now I my requirement is when user open the planning layout, It should only be in display mode. But currently automatically all the keyfigures are in change mode (Is it because in query designer, I checked "Start query in the change mode?)
    When user opens the planning layout, he should run the copy function, then should save the data into the planning cube and then should be allowed to chagne. Change button should be in active until data is saved into the plannigng cube. IS this possible?
    Thanks
    Annie

    Hi Deepthi,
    Thanks for your reply.
    I did as you mentioned and its working as expected.
    User wants something like this
    1. Execute the planning layout.
    2. Click on the copy function
    3. Save the data
    4. Click on the change button so that data can be changed now.
    As per your solution, without have change button its working perfectly. But now i want to have change button on the layout. Initially change button should be disabled. When i save the data then it should get active.
    I did the following things but didnt work
    1. Save button i have two commands
    a. Save data
    b. Set_item_parameters
    2. Change button> disable>set_data_entry_mode.
    After executing the layout. I could copy the data and save it. BUT after saving it change button is not getting active.
    I think i did do something in save button (B). I just mentioned button group but didnt mention the change button. Can you please help me?
    Thanks
    Annie

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • What is the default key command for the COMMAND key?I seem to have changed it somehow along the way and now when I push the command key it hides all windows or shows desk top I need to correct this as soon as possible-.any ideas?

    What is the default key command for THE COMMAND (apple) key? I seem to have changed it somehow along the way and now when I push the command key (only) it hides all open windows and shows the desk top and when I push it again it shows all windows again...I need to return to default A.S.A.P. just this one key...Any ideas? Thanks in advance...

    Go to
     > System Preferences > Keyboard
    Click on the 'Keyboard' tab and hit the 'modifier keys...' button. You can see and change the defaults there.
    As I'm not sure if all the labels are the same in Lion, he's a screenshot from Snow Leopard. It should be similar enough:

  • Command for "How to find Cursor Size" in Oracle Stored Procedure"

    Hi
    Can u tell me....
    How to find Cursor Size" in Oracle Stored Procedure........
    I want command for that........

    why don't you try select count(*) from your_table;That requires running the same query twice - or rather running two different queries twice. Besides it still doesn't guarantee anything, because Oracle's read consistency model only applies at the statement level (unless you're running in a serialized transaction).
    This is such a common requirement - users are wont to say "well Google does it" - it seems bizarre that Oracle cannot do it. The truth is that that Google cheats. Firstly it guesses the number on the basis of information in its indexes and refines the estimate as pages are returned. Secondly, Google is under no onus to kepp all its data and indexes synchronized - two simultaneous and identical queries which touch different Google servers can return different results. Oracle Text works the same way, which is why we can get a count with CTX_QUERY.COUNT_HITS in estimate mode.
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com
    .

  • What is the best type of xml storage for max performance in 9i r2

    We have many schema based xml's of 1MB in xdb (9.2.0.5)
    and our database is getting slower by every new xml
    delete_resource (300 sec) and create_resource (300 sec ) take a long time
    and if I ftp a schema based xml out the xdb takes a long time ( 200 sec )
    Our system works like this , the xml comes in (ftp) ,the xdb validates the xml and then the xml is archived and the
    last step, the xml data is extracted and put in normal tables
    no xml updates or xml constraints
    I have now defined in the schema, one main table and I use oracle types for complextypes and xdb:defaulttable =""
    in 10g I don't have problems, but our production system
    are 9.2.0.5 and it takes a lot work and downtime to change that
    This goes well in 9i by files smaller then 500k
    what is the best schema configuration for max performance ( create / delete resource and ftp out )
    thanx edwin

    I changed
    maxOccurs="unbounded" xdb:SQLName="TRANSACTIONRANGE" xdb:SQLCollType="TPF_MASTER_D_T_RANGE_COLL_01"
    into
    maxOccurs="unbounded" xdb:SQLName="TRANSACTIONRANGE" xdb:SQLInline="false" xdb:defaultTable="TPF_MASTER_D_T_RANGE_TAB"
    this gives me very good performance
    the total run is now 6 times faster
    and to ftp xml out of the xdb takes now 2 seconds

  • __ Is there a way to adjust the key commands for switching channels in curves?

    __ Is there a way to adjust the key commands for switching channels in curves?
    By that I mean <command> + 1 for cyan, <command> + 2 for magenta etc. like Photoshop CS3 rather than <option> + 3 for cyan etc.
    There's gotta be a way under Edit --> Keyboard Shortcuts - but I can't find it!
    Thanks,
    Hugh

    Hi,
    You can find the CS4 plug-in here:
    http://blogs.adobe.com/jnack/files/Use_Old_Shortcuts.zip
    It's inline in tis post with some more background info:
    http://blogs.adobe.com/jnack/2010/05/use_legacy_shortcuts_option_in_cs5.html
    regards,
    steve

Maybe you are looking for