Help! When the foreground sprite hovers over sprite bkground for the change of venue for photo

Help!

IM pretty new steering and need urgent advice or assistance.

Basically, I setup a grid of squares four through four down.

The squares are all separate 200 by 200 multi colour sprites.

I've created a transparent center square sprite that moves directly on each square on the grid using the arrow keys:

on exitFrame me

go to the section

If the sprite 18 loch > 800 then

the loch of sprite 18 for 100 of the value

end if

If the locv of sprite 18 > 800 then

the I1 of the sprite 18 for 100 of the value

end if

If the sprite 18 loch < 0 then

Set the sprite loch 18-700

end if

If the locv of sprite 18 < 0 then

define the sprite 18 to 700 I1

end if

end


on keydown me

If keycode = 126

Set the sprite 18 I1 I1 of the sprite 18-200

end if

If keycode = 125 then

Set the sprite 18 I1 I1 of the sprite 18 + 200

end if

If keycode = 123

the value of the sprite 18 loch loch of sprite 18-200

end if

If keycode = 124

the value of the sprite 18 loch loch of sprite 18 + 200

end if

end

I want to write a script that changes everything what place the highlighter foreground sprite is top of a photo. It must not change once its has changed at first I just that each square to replace a different when image hovers over the sprite proposed by the arrows.

I thought it would be easy to possibly work but it is not at all! Initially, I tried to use the predefined behavious change cast member and change the passage of the mouse or what that preset to ' if the loch of sprite 18 = 200 then' but no where near him.

Can someone please help me here iv spent days on this thought, it would be easier than its turned on

Here is one of my here. pathetic I know:

-If the sprite loch 18 = 400 then

-the Member of sprite 7 assigned to "PICTURE1.

-end if

THA nks cheers in advance

I took the liberty of rearranging your existing code a bit - especially to modernize the syntax away from the 'old school' "has the property of the value object. I also put some cache regularly referred to values in local variables to save typing and perhaps provide a performance gain:

on exitFrame me

  spr = sprite(18)
  lH = spr.locH
  lV = spr.locV

  if ( lH > 800 ) then
    spr.loch = 100
  else if ( lH < 0 ) then
    spr.loch = 700
  end if

  if ( lV > 800 ) then
    spr.locv = 100
  else if ( lV < 0 ) then
    spr.locv = 700
  end if

  go to the frame

end

on keyDown me
  spr = sprite(18)
  case the keyCode of
    123: spr.loch = spr.loch - 200
    124: spr.loch = spr.loch + 200
    125: spr.locv = spr.locv + 200
    126: spr.locv = spr.locv - 200
  end case
end

It is not clear from your post if the code you have posted is a behavior script and if so which sprite/channel to which it is associated, or was it a movie script. I suspect the latter because the graphical sprites are not usually keyDown sent messages.

The extent of the change other sprites based on the location of your furniture sprite, are the sprites for BG exactly the same size as the sprite of furniture? You need your sprite furniture simply touch a tile of BG, or be completely enclosed within its limits?

Since you're moving sprite 18 in increments of 200 and locking to [0, 0, 800, 800], you can try the following change to the above:

on exitFrame me

  spr = sprite(18)
  lH = spr.locH
  lV = spr.locV

  if ( lH > 800 ) then
    spr.loch = 100
  else if ( lH < 0 ) then
    spr.loch = 700
  end if

  if ( lV > 800 ) then
    spr.locv = 100
  else if ( lV < 0 ) then
    spr.locv = 700
  end if

  go to the frame

end

on keyDown me
  spr = sprite(18)
  case the keyCode of
    123: spr.loch = spr.loch - 200
    124: spr.loch = spr.loch + 200
    125: spr.locv = spr.locv + 200
    126: spr.locv = spr.locv - 200
  end case

  tLoc = spr.loc
  case tLoc of
      -- adjust sprite numbers and member names to suit
    (point(100, 100)): sprite(2).member = member("picture1")
    (point(100, 300)): sprite(3).member = member("picture2")
    (point(100, 500)): sprite(4).member = member("picture3")
    (point(100, 700)): sprite(5).member = member("picture4")

    (point(300, 100)): sprite(6).member = member("picture5")
    (point(300, 300)): sprite(7).member = member("picture6")
    (point(300, 500)): sprite(8).member = member("picture7")
    (point(300, 700)): sprite(9).member = member("picture8")

    (point(500, 100)): sprite(10).member = member("picture9")
    (point(500, 300)): sprite(11).member = member("picture10")
    (point(500, 500)): sprite(12).member = member("picture11")
    (point(500, 700)): sprite(13).member = member("picture12")

    (point(700, 100)): sprite(14).member = member("picture13")
    (point(700, 300)): sprite(15).member = member("picture14")
    (point(700, 500)): sprite(16).member = member("picture15")
    (point(700, 700)): sprite(17).member = member("picture16")
  end case
end

Tags: Director

Similar Questions

  • PSD in lightroom, edited in lightroom. When the changed data ('Edit Original'), returns to lightroom with original lightroom edits lost

    Hello

    It is a change, I've noticed since the upgrade to 2015 CC LR and PS 2015.

    My process usually looks like this:

    1) modify the RAW in lightroom (leave uncropped image)

    (2) with LR edits done, edit RAW file externally in Photohop (cloning, patching, etc.).

    (3) save PS edit, back to Lightroom to find new PSD alongside old RAW, with PS changes.

    (4) new DSP harvest at the end

    (5) fact

    Every now and then, I noticed that I forgot to do something in photoshop and bring back the PSD in the PS, choose when you are prompted to "modify the Original.

    Before the update LR and PS to the CC 2015 versions, I'd be able to do everything I wanted the PSD in PS, and when I got back to lightroom, LR would have kept the culture I had done in the PSD before resuming in photoshop (so I wouldn't have to redo a culture I can done in the PSD in step 4 above).

    Lately, since I've upgraded LR and PS to CC2015 I noticed that when I take a PSD already edited out of LR in the PS, he returned with the new PS made adjustments but the harvest of LR (step 4) are all lost, and I need to redo any cropping, I could have done.

    Is this a bug? Is it a setting I need to change? This is a feature that was simply lost in the latest versions of PS/LR?

    Any help?

    Thanks in advance

    Vineet

    I think I know what is different with my configuration of LR and what is the cause of the problem. I don't have 'include develop settings in metadata in JPEG and TIFF, PNG, PSD files"checked in the settings of my catalog? Do you have?

    I just tested this with "Including developing parameters in the metadata in JPEG, TIFF, PNG and PSD files" checked. Using "Manual" "save metadata to file" ("Automatically write changes into XMP" unchecked), I lose my LR changes when back and forth if I have not updated the metadata with the latest development changes. LR resembles returned PS 'Original Edition' file and bed in XMP changes rather than changes in the catalog. Even when you use "Automatically write changes into XMP" it mast be a delay in LR update metadata file with the latest changes to LR.

    If I do the new changes in LR to 'Edit in PS' TIFF and then try to do another edition in PS > edit the Original I get the following message below. If I choose "Settings Overwrite" TIFF opens in PS without the LR settings as expected. When the file is saved in the PS and returned to LR LR changes are applied.

    If you do not see the message below check "reset all warning dialog boxes" in LR preferences > general tab. It should be shaded below when all warnings are activated.

  • Need help with the changes of the library

    I use Windows Vista Home Premium.  My husband recently bought & installed Office 2010 student, (we had Office 2007 and he removed) and I don't know if it was that, or some buried upgrade, but either way - photos of how open looks very different now.  Honestly, I know no more if what I used before was another version of Microsoft Photo Gallery (that I have provided with Vista and therefore changes in office should not affect) or some other MS Viewer, but it's different and I don't like the changes.   Don't really like the limits of this 'new' Photo Gallery - ESP the inability to resize the size of the photo file to make duplicates & share on networks social & other places where I don't want to use the larger file that I use in the camera.  I searched & searched and found info about Live Photo Gallery and paint, but neither really to talk about this - the ability to simply change the file size...  I know I could do a system restore and then reinstall a custom Office 2010 version, but wanted to first see if it's even WHY he has changed, and also if there is a better way to address some minor problems, but maddeningly.
    Thank you!
    Katherine

    Office 2010 has nothing to do with changes to the photo gallery.

    You can uninstall the windows live photos,.

    Personally I don't see why we went in office 2007 to 2010 students unless it was Student 2007?

    http://windowslivehelp.com/solution.aspx?SolutionID=64db5c80-85E4-49fe-BF07-cb08ffc5dd53

    Gallery of original photos comes with vista is here,

    http://www.Microsoft.com/download/en/details.aspx?ID=16904

    Or just a slightly improved version is here, don't worry it works fine on win 7 or vista.

    http://explore.live.com/Windows-Live-Essentials-XP

    But you also have to change the way you receive recommended windows updates, otherwise the other photo gallery will be back.

    Go to your control panel and click on windows list update, top left of the next page, click on change settings.

    Uncheck the entry, give me recommended to update the same as important updates.

    Also, click on the arrow down just above this list and select the check for updates, but ask me until they download and install and click Save.

    After uninstalling windows live essential 2011 and the start your computer, go back to windows update and check for updates, windows live essentials 2011 will come up as an available update, right-click the update, and select hide.

    Download whatever you want.

  • Need help making the DIMENSIONS of a smaller photo.

    I'm trying to post a photo JPEG on my LinkedIn page. I get a message saying that the dimensions of the photo are too big. I tried following the directions in the Windows Photo Gallery to make the picture smaller, but as SOON as I click on 'Apply' takes the smaller area I chose and breath this area more room back to the size of the original. Can someone tell me how the DIMENSIONS of a smaller photo. I don't really like it if the whole photo or a cropped the photo version. I have windows vista. Thank you!

    Rather than crop the photo... try to resize the photo...

    In Windows Live Photo Gallery... Right click on one or more
    selected inches... Choose... "Resize" in the menu. Choose
    one size, navigate to a folder to save in left click the ' resize
    Save "button. (I suggest that you save the resized pictures
    in a new folder to prevent the replacement (replacement) the originals)

    Take a look at the following link:

    Resizing Photos in Windows Live Photo Gallery
    http://blogs.msdn.com/PIX/archive/2007/11/30/resizing-photos-in-Windows-Live-Photo-Gallery.aspx

  • Photos app does not save the changes, impossible to edit photos without using other applications

    'Photos' of photo editing features does not work because it is impossible to save the changes. Photos can be edited as usual, but trying to save the changes that the photo is reinstated to the State of origin regardless of changes. There is no error message, to solve the problem, I tried to reset all settings, but it did not help.

    I have iOS 9.2.1 on an iPhone 6 s.

    Thanks in advance for your advice

    I have the same question since getting my iPhone 6. Very frustrating. Several times the photo says even "revert to original" even though the changes have been never applied, as if he thinks he has saved the changes. I asked for help with an apple store and they had never seen before and had no suggestions.

  • How to replace "apply downloaded update now" with "Check for Updates" in the menu help when the update fails because the downloaded update files are missing but the "Ready to install update" window keeps appearing?

    Question

    I have another type of problem with Firefox

    Description

    Window "Ready to Install" Firefox "Software Update" appeared. The folder "C:\Program Files\Mozilla Firefox\updates\0" contained the files update.mar, update.status and update.version. Each of the 3 files have been deleted. The next time that Firefox has been started, no update occurred because update files were missing. In the Menu bar, clicking Help showed in the menu drop-down that "apply downloaded update now" was always on the list. By clicking on "Apply downloaded update now" open "Software Update" window "Ready to install update", so that Firefox still considers that the update files exist, but they do not. In the window "Software Update", by clicking on "Restart Firefox" restart of Firefox, but once again it there's no update, and remains "apply downloaded update now" on the Help menu. How can "Apply downloaded update now" be replaced by "Check for Updates" so the update files can be downloaded?

    Version of Firefox

    3.6.3

    Operating system

    Windows XP

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; RV:1.9.2.3) Gecko/20100401 Firefox/3.6.3

    Plugins installed

    • npmnqmp - 989898989877
    • NP-mswmp
    • Adobe PDF plugin for Firefox and Netscape "9.3.2.
    • Default plugin
    • Foxit Reader plugin for Firefox and Netscape
    • Shockwave Flash 10.0 r45
    • Version 1.0.3 copyright 1996-2009 The VideoLAN Teamhttp: / /www.videolan.org/

    You can manually reset the software update feature by closing Firefox and remove the file "updates" (which seems you have done) and the two files "active - update.xml" and "updates.xml" - these are in the installation (C:\Program Files\Mozilla Firefox) directory or in the profile folder (C:\Documents and Settings\nom_utilisateur\Application Data\Mozilla\Firefox\Profiles\something.default).

    If it does not, see our KB article How to resolve the failure of the update of Firefox update error message - the section of 'last resort' can be useful, or or read this article from MozillaZine KB, software update.

    Please let us know how the above work, and if we can be of further assistance.

  • Help with the status button widget – I want the button to be transparent, but not the text!

    Basically I have a few images which passed hovered, I you want to lighten and text to appear (it's for a portfolio, so I want the title of the project and a very brief description appear when each image is hovered over). To do this, I had to use the status button widget and set its real part of white button, opacity of 50%, while the image lightens when hovered over. However when I do this the text reduced to an opacity of 50%, but when I select the bit of the text itself, he always says 100% opacity. I need the text to be 100% opacity and non-transparent so it can be easily read.

    Looks like you apply opacity to all button instead of simply filling. When you set the opacity? You should be setting the opacity of the background of the button by using the opacity of fill not the opacity of the effects...

  • Need help from the iphone screen colors 4 change and sometimes the screen turns black

    Hello guys I need your help when I turn on my camera, my phone screen colors change, and sometimes it goes to black screen when I lock / unlock my colors sometimes phone repairs to normal, but when I turn on my camera once again it still happens

    The phone has been maintained in the past?

    To exclude a software problem, set it back to factory settings without using the backup data.

    If the screen works after that, restore your backup to new form.

    Use iTunes to restore your device to factory settings - Support Apple iOS

  • Help reduce the partial wakelocks

    Hey guys,.

    Recently, I noticed that my phone is wake a lot more then it helps when the screen is off and I'm in stand by mode. attached a few screenshots show what I got. It seems that the first three next annex espeically alarm and synchronization loop are the culprits.

    Someone at - it no indication as to what I can change the settings to reduce these locks specifically wake?

    Thanks in advance for any help.

    There are a few ideas I've read on this particular suite lock. Most agree that it is strongly associated with the grille and gnow. I would check your sync on your calendar options if you use it. Otherwise, you could just turn off. Another thought was that this could be attributed to a music player/blue tooth. Using the power control widget can be an easy way to toggle Bluetooth, GPS, WiFi, etc... on and off quickly. This is particularly useful if you are trying to save the battery. As Quentin stressed XDA can really be helpful when you're investigating specific processes.

  • toggle is plotted on a graph when the application is running

    Hello

    I'm trying to figure out how to make a graph that allows the user to select which elements are drawn when the application runs.  I want all data to appear on the same graph with the same x and axis of ordinates and maybe some checked boxes or something to allow easily what items are displayed.

    Thank you

    Gary

    1... don't use two nodes in separate property for the PLOT VISIBLE and Act implementation CHART.  If you do that, you don't know who runs first, - they are independent.  Use a single property node (stretch it to include two properties).  The top property must be ACTPLOT, 2nd one, be VISIBLE TRACE.  In this way, it is guaranteed to run in the order you need.

    2 you are the cluster of box check ONCE at the beginning of the program of reading and using the same value each time.  You want to read the cluster when the CHANGE occurs, EVENT that is, in the case of the EVENT.  You can read the terminal, or read the NEW VALUE property for the event, so be it is OK.  But you have to read the new value, not the old one.

    3... you also read your buttons ONCE at the beginning of the program, and re - trace the same value whenever you draw. You need to know when you need to draw and THEN read them and lead the chart.

    4... If you set the timeout to, say, 100 mSec, in the TIMEOUT case, read the buttons and drive the graph, then you will have a living picture that updates approximately every 100 milliseconds.  Implement #1 and #2, and you can turn on and outside plots.

    I say "Roughly" because of the way the timeout works - if you wait 99 mSec and then click on a checkbox, the wins Manager check box and the timer 100mSec STARTS OVER when you get to the next iteration.

    If you want the table to day exactly every 100 msec and then use time separate loop, with a WAIT TIL NEXT MSEC MULTIPLE.  Do the waiting, read buttons, drive chart and repeat.  A separate loop will not be disturbed by events in the loop of the user interface.

  • Help keep the page in the same region after Submit

    Version: 4.1.1.00.23

    Theme: Classic Blue

    Page template: tabs in level one

    Hello

    I have 6 Classic reports on the page. Some have filters with of LOV in cascade and button to submit the Page after the filters are selected.

    The Page reloads the top of the page after sending filters.

    I would like to have the page remain on the region where the submission arrived if the user do not scroll to the region that they watch one or work with him.

    I found this article: http://http :// www.apexninjas.com/blog/2011/02/stay-in-page-section-after-submit-on-same-apex-page-unconditional-branch-to-same-page-section/ of Apex Ninjas, but the page reload always at the top.

    I also tried to put an anchor at the bottom of the Page template tag in the Body section after all the tags:

    #LOGO #.
    #REGION_POSITION_06 #.
    #REGION_POSITION_07 #.#NAVIGATION_BAR #.
    #REGION_POSITION_08 #.
    #TAB_CELLS #.
    #SUCCESS_MESSAGE # NOTIFICATION_MESSAGE # GLOBAL_NOTIFICATION #.
    #BOX_BODY # REGION_POSITION_02 # REGION_POSITION_04 #.

    #REGION_POSITION_03 #.
    #REGION_POSITION_01 ##CUSTOMIZE #

    I have a branch:

    Present immediately after treatment

    Target type of URL

    URL of: f? p = & APP_ID.:124: & SESSION. : #APPLY_FILTERS_MPL_LT

    But the Page still loads up and scrolling is necessary.

    Can someone help me get this to work?

    Can what information I provide?

    Thank you

    Joe

    Tom,

    The 'Skip' and 'submission' comes from the LOV cascading I.

    Here are the lists of select Standard. The parent list is called ID wallet and the list of children is called project name. So, if a selected portfolio list project name code displays the project for this portfolio ID name. If no ID portfolio is selected then all the project name are displayed.  When checking for Session I knew if a wallet code has been selected, then the default ID, 'All' portfolio, has been selected Session still had the previous ID and therefore the Select project name list was empty.

    What I don't understand is that when the default portfolio ID is selected, even if the 'Null' is set to 'Yes', and the default value has been set to 0 (zero), the Session was not updated when the default has been selected.

    I changed the query on the Portfolio ID to:

    SELECT 'All' d,0 r
    FROM dual
    UNION
    SELECT portfolio_name, portfolio_id
    FROM   portfolio
    ORDER BY 1
    

    The 'Skip' and 'submission' came from portfolio ID "Action when the changed value of the Page" Configuration. I had it set on 'Redirect and set the value. When I changed it back to "None (default)" and set 'Cascading item (s) Parent LOV' project name to the page item Portfolio ID and then the page started working as expected.  No more 'jump' or 'submit '!

    Thank you very much for your help and your patience!

    Let me know if you have any questions or comments, and if I can close this thread.

    Thank you

    Joe

  • Is there an event when the mobile connections are changed

    Hi, expert,

    I'm looking for an auditor check the following:

    1. when the phone is connected to a mobile network not connected

    2. when the phone is connected to another mobile network (another carrier or wifi) from current network

    3. the current mobile network connection is dropped.

    I found of initailly than ConnectionAttemptLIstener (http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/io/transport/ConnectionAttempt...). I thought I could use it to change mobile network connection. It turns out that I just couldn't. He listens to the event on ConnectionFactory which really is a connection on the connected mobile network.

    Did some research and I could not find any related information.

    So is it possible for me to achieve what I said at the outset?

    You can use a combination of CoverageStatusListener and RadioStatusListener to have access to these events.

    CoverageStatusListener will let you know what type of network access you have access from your coverage (by cell phone connectivity, etc.) WLAN network and which network transports are available).

    RadioStatusListener will let you know when the changes on the cellular network occur as signal changes, changes the base station etc.

    RadioInfo class can also be used to receive information on the current mobile network too.

    Kind regards

  • AnyConnect Cert warning error when the xml file is changed.

    Hello world

    We have valid CA cert and it is installed successfully on the ASA ASA associate outside the interface.

    When you use ipsec IKeV2 with any connection pre deployment anyconnect when I change the anyconnect on ASA and user profile

    connects the first time, he gets the warning below

    Untrusted security VPN server certificate warning

    The options are

    Connect anyway cancel connection

    I click on connect anyway and anyconnect is connected.

    Checked that CN has the FQDN value.

    We do not use SSL certificate.

    When I connect the second time above cert error warning do not come.

    This warning cert error only comes when the changes are made to the anyconnect profile and the user connects again to the AAS.

    We do not use cert based authentic.

    Any ideas how I can fix this problem?

    Concerning

    MAhesh

    You can remove and reinstall the certificate authority. It will require that first delete you the configured services dependent thereon, binding to the interface etc..

    I am not convinced that would fix what you see, and it would not be my first choice.

    First, I would check things like why don't not the client approves the certificate (audit for example simply by accessing the interface of the ASA and see what your browser indicates that the question (both Firefox and Chrome are very useful in telling you of any problem with the certificate if you expand the details), what is the content of the profile and changes) the etc.

    You can open a TAC case?

  • I want a music video to play when the user hovers over a button

    Hello

    I want a music video to play when the user hovers over a button, but I don't want the music to start again when the user hovers over the button again. I want him to play for its entire length, does not restart if the user accidentally will be on it once more.

    Thanks in advance for any help.

    You can use:

  • A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?  I can't even read the sticker because it has been moved to a separate column on the right.

    A way to return to the controls at the top of the files and thumbnails when hovering over the name of the file?

    I can't even read the sticker because it has been moved to a separate column on the right.

    Hi Bobca,

    I'm sorry, but the forecast of nail has been deprecated in the latest version due to security problems.

    Kind regards

    Nicos

Maybe you are looking for

  • Satellite L655 - 11L starts with Windows 7 64 bit

    Hi gent. Today, I tried to turn on my laptop for 2 hours and I failed. When I pressed the round button there is nothing in the screen is black (as when the laptop is turned off) after 30-40 sec, departures of screen to display the logo of Toshiba and

  • Hello everyone I can move a PDF file a document to my email to icloud ipad air to icloud drive if so how thanks for any help

    Hello everyone I need a bit of help can I move a PDF of my ipad air to the icloud drive icloud email if yes how? Thanks for any help Good day

  • Photosmart C4780 question

    I used my printer all day and it works great.  When I stop usually, I click on start then devices and printers, and often there is a yellow triangle instead of a green check mark.  That tells me there is something wrong, so I click the icon print & d

  • Pavilion 15-n015et: no driver

    Hello world I was using Win 8.1 (64-bit) on this computer. After that, I decided to use Win 7 (64-bit). I installed perfectly, but I can not install the drivers for it. I tried to download the drivers for this computer and transfer drivers for HP. I

  • Windows media 11 to win, player rip music t

    Hi, I tried to copy a cd in windows media player 11 and get a message that the file is already used to close and try again, but I closed everything bar the computer and I get always the message and no tearing.