Co-ordinates of sprites drawn from mouse appear 0.
Sorry for the confusing title.
I asked this question few weeks back - http://forums.adobe.com/thread/1106063?tstart=0
Using Ned's code, I was able to add the drawn lines during runtime, to the sprites, which were being added to the array "lines"
public class Main_Game extends MovieClip
private var drawing:Boolean;
var line_mc:Sprite;
public static var lines:Array = new Array();
public function Main_Game()
drawing = false;//to start with
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
stage.addEventListener(MouseEvent.MOUSE_MOVE, draw);
stage.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
public function startDrawing(event:MouseEvent):void
line_mc = new Sprite();
addChild(line_mc);
lines.push(line_mc);
line_mc.graphics.lineStyle(9,0x000000);
//move to the correct starting position for drawing
line_mc.graphics.moveTo( mouseX, mouseY);
drawing = true;
public function draw(event:MouseEvent)
if(drawing)
line_mc.graphics.lineTo(mouseX,mouseY);
public function stopDrawing(event:MouseEvent)
drawing = false;
Now, I need these lines, to follow a collision detection. For that I need the sprites co-ordinates. When it was not working, I tried doing a trace on the sprite co-ordinates in a for-loop as lines[i].x, but it always showed 0.
Any help with this, please?
all your sprites are at 0,0.
use:
public class Main_Game extends MovieClip
var line_mc:Sprite;
public static var lines:Array = new Array();
public function Main_Game()
stage.addEventListener(MouseEvent.MOUSE_DOWN, startDrawing);
stage.addEventListener(MouseEvent.MOUSE_UP, stopDrawing);
public function startDrawing(event:MouseEvent):void
stage.addEventListener(MouseEvent.MOUSE_MOVE, draw);
line_mc = new Sprite();
line_mc.x=mouseX;
line_mc.y=mouseY;
addChild(line_mc);
lines.push(line_mc);
line_mc.graphics.lineStyle(9,0x000000);
//move to the correct starting position for drawing
line_mc.graphics.moveTo( 0, 0);
public function draw(event:MouseEvent)
line_mc.graphics.lineTo(mouseX-line_mc.x,mouseY-line_mc.y);
public function stopDrawing(event:MouseEvent)
stage.removeEventListener(MouseEvent.MOUSE_MOVE, draw);
Similar Messages
-
Sprite sheet from PhotoShop CC 2014 layers to Edge Animate?
Hi
The Photoshop CC 2014 script that takes layers and generates a sprite sheet to the latest Edge Animate does not appear to work correctly. Unless I"m missing something very obvious (that isn't in the instructions below provided by Adobe), it doesn't take the seperate layers and seperate them out correctly in the output png file. Any suggestions? Thanks - would LOVE a quick answer -
http://blogs.adobe.com/edge/2014/09/18/export-sprite-sheet-from-adobe-photoshop/Hi Sharon
You are right. Open the .jsx file in text editor of choice and change the function the following:
function translateActiveLayer(deltaX, deltaY) {
//see http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/photoshop-cc-scripti ng-guide.pdf on how to use script listener.
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putEnumerated(charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt"));
desc.putReference(charIDToTypeID("null"), ref);
var coords = new ActionDescriptor();
coords.putUnitDouble(charIDToTypeID("Hrzn"), charIDToTypeID("#Pxl"), deltaX);
coords.putUnitDouble(charIDToTypeID("Vrtc"), charIDToTypeID("#Pxl"), deltaY);
desc.putObject(charIDToTypeID("T "), charIDToTypeID("Ofst"), coords);
executeAction(charIDToTypeID("move"), desc, DialogModes.NO);
Will PM you the updated script if needed. ( And also the blog post soon )
Regards
Avinash -
Mouse appears before Happy Mac:
Why does the mouse appear for like 15 seconds before Happy Mac appears?????????
Hi, In-Correct -
Baby Boomer is far from being a "silly person".
Fact is, you do have a habit of not giving adequate info about which of your machines, and its particulars, is pertinent to the issue you wish to discuss. You have several threads going in more than one forum; it is not reasonable to assume that a potential responder is familiar with all or even any of them. Responders, including frequent ones, visit forums of their choice; given that there are over 450 unique forums in Apple Discussions, the chances of a particular responder having seen one or more of your other threads is slim.
Baby Boomer responded referencing the only info available in your post - the info in the machine specs line at the bottom of your post. It does not mention OS 9.
As a courtesy, but more importantly to save everyone's time including yours, it helps if you include in your thread-initiating post the pertinent information applicable to the issue given - the particular machine model (especially if you have more than one machine), which specific OS it is running, etc. Or, you can alter your forum specs for that post - there is an entry filed to do that in each post-message screen (the screen where you write the message); changing the info in this field will not change that info included in previous posts, it will only remain in effect until you change it again.
We can't read minds; we can't see your machine; we may not recall (or be aware of) info in other threads you have posted. All we have for sure is the info you give in a particular thread, so it helps everyone if you include all pertinent info in every thread you start.
<hr>
Re this question, why the cursor (not the mouse) appears before the OS-booting displays appear -
The short answer is - because it does. It has done so since probably OS 1.
The long answer is something along the lines of - because the cursor display is generated via one of the many hardware-based routines ("toolbox" routines) which are called up before the OS has started to load.
It is good that this happens. If it did not, then -
• Startup Manager (what you get when holding down Option during startup) would be useless; and
• the Extensions Manager intercept function (holding down Spacebar during boot) would probably be useless.
The cursor's presence at that time is also a sometimes useful trouble-shooting factoid if the machine hangs during booting - if the cursor is movable (repsonsive to the mouse), it would tend to indicate the loading of the OS has bogged down on an item, and perhaps waiting it out is the answer; if it is not responsive, then the machine is in a total lockup and needs to be reset (and all too often this can indicate a hardware fault). And, if the cursor does not appear at all at the inception of booting, there is definitely a hardware problem.
If you happen to use a third-party mouse and third-party mouse software (including USBOverDrive), you will note some behavior issues at that time - the mouse will be very, very slow in tracking speed; and, for multi-button mouses, clicking (such as in the Extension Manager window if that intercept is invoked) will work using only the default button particular to that mouse. -
have purchased ringtone on iphone 4 not in my itunes library when i click devices, transfer purchases from, it appears in tones in my library but in a paler shade of print with a dotted circle to the left of it, if i try to click on it or take any other action it disappears and leave a blank space i have tried this several time i want to transfer library to my new iphone 5 but i will loose the ringtone
I had the exact same issue!! Seriously p*ssed me off when I checked out my ITunes purchased items (via my computer) and noticed that most of the additional tracks listed on my IPhone playlist was listed there too. However, I never authorized any purchases!! (I have actually written Apple Support asking for a full refund of all tracks listed on my purchased list)
Be careful when you swipe your finger to the left/right on those "additional" tracks on your IPhone playlist... I'm pretty sure that the cloud symbol is an option to download or automatically buy those tracks.
Solution for the problem:
1 - go to your IPhone settings
2 - choose "iTunes & App Store"
3 - go to "Show All" & "Music"
4 - turn off "Music" by moving the bar to the left (it should be a white color once you turn it off)
Should solve your problem :~) -
when i want to sign in apple id in icloud from setting , appear a black page and loading .... help me ...
Hello shlomi2890,
To resolve your issue, you would need to change the Apple ID back to what you had originally, sign out and then change it back. Check out the article below for more information.
iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
http://support.apple.com/kb/TS5223
Change your Apple ID temporarily
If signing out and back in to iMessage or FaceTime didn't help, try these steps:
Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
Go to Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
Scroll down and tap Delete Account, then tap Delete to confirm.
Tap “Keep on My [Device]” or “Delete from My [Device].” In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
Enter the password for your previous Apple ID.
Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
Return to Settings > iCloud and sign in with your new Apple ID.
Regards,
-Norm G. -
I have downloaded itunes onto a new computer and connected my ipod classic, but only the tunes purched from Apple appear. How can Itransfer all my ipod library onto the copmter without deleting them
See:
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
If further problem post in the iPod Classic forum. This is the iPod touch forum -
Keyframes doesn't let go from mouse ???
Hello,
Kind a frustrating problem lately occurred. When moving keyframes and letting go where wanted, they still get stick with mouse and keep moving along few seconds. It happens in both CC and CC2014.
Not sure since when it happened. But lately upgraded to Yosemite. Is anyone having the same problem?
After Effects CC keyframe doesn't let go from mouse on mouse up. - YouTubeDave LaRonde wrote:
At the moment, AE and Yosemite do not get along together very well; if you can go back to Mavericks, you'd be happier.
Adobe says this will change soon, but they're pretty mum on HOW soon the fix is coming.
They've said, "Spring". So...that's at least a good time window. Sometime in the next three months! (Super-excited, by the way.) -
How modificate this script from mouse click to release
how modificate this script from mouse click to release
package
* A Colorful Fireworks Demonstration in Actionscript 3
* from shinedraw.com
import flash.events.MouseEvent;
import flash.system.ApplicationDomain;
import flash.events.Event;
import flash.display.MovieClip;
import com.shinedraw.effects.ColorfulFireworks;
public class Document extends MovieClip{
private var _colorfulFireworks : ColorfulFireworks;
public function Document(){
this.addEventListener(Event.ADDED_TO_STAGE, on_added_to_stage);
private function on_added_to_stage(e : Event):void{
// place the object to the stage
_colorfulFireworks = new ColorfulFireworks();
addChild(_colorfulFireworks);
// add the cover to save CPU time
var coverClass : Class = ApplicationDomain.currentDomain.getDefinition("Cover") as Class;
var cover : MovieClip = new coverClass();
addChild(cover);
cover.addEventListener(MouseEvent.CLICK, on_cover_click);
// remove the cover after click
private function on_cover_click(e:MouseEvent):void{
var cover:MovieClip = e.target as MovieClip;
removeChild(cover);
_colorfulFireworks.start();solved close pls
-
Follow sprite when the mouse is down, but randomly move when mouse is up?
I have a sprite that has a Random Movement behavior.
While the mouse is down, I want it to stop this behavior and initialize a Follow Sprite behavior instead.
When the mouse is lifted, I want to stop the Follow Sprite behavior and reset/restart the Random Movement behavior.
Openspark helped me out with a different version of a very similar behavior a long while back, which worked. It switched between Random Movement and Draggable. I tried to edit the code so that it would apply to Follow Sprite instead of Draggable, but it isn't working the way I thought it would.
The order of behaviors on my sprite is as such:
followSprite (Follow Sprite)
moveToward (The behavior described above)
randomMove (Random Movement)
turnTowardsMouse (sprite faces mouse when it is clicked)
Face Destination (if not facing mouse, sprite faces toward the randomized endpoints generated by randomMove)
This is the moveToward behavior - the middleman that's supposed to be swapping between the two:
property pSprite
property pTouching
on beginSprite(me)
pSprite = sprite(me.spriteNum)
end beginSprite
on mouseDown(me)
-- Overrule the Random Movement and Rotation behavior until the mouse
-- is released. See the on prepareFrame() handler for the effect.
pTouching = TRUE
end mouseDown
on prepareFrame(me)
if pTouching then
-- Block the event from reaching the Random Movement and Rotation
-- behavior, so that only the Draggable behavior will work.
if the mouseDown then
stopEvent
else
-- The user has released the mouse.
-- Start a new movement in the Random Movement and Rotation behavior.
pSprite.pPath = VOID
sendSprite(pSprite, #mNewPath)
pSprite.pRotate = VOID
sendSprite(pSprite, #mNewRotation)
pTouching = 0
end if
end if
end prepareFrame
Can anyone help me figure this out?
If you want to imagine a visual, it's essentially a touchscreen fish tank. Fish swim around randomly, but when someone is touching the screen, they approach the point of contact (which is defined by a tiny invisible sprite centered on the cursor).
Once again, thank you so much to anyone who can help me out. This is part of a capstone undergraduate art project I am doing - and I am far more experienced in making the visuals than I am in coding. I am having to mostly tackle Lingo on my own. Any coding help I've received will be recognized (with permission) on my artist website as well as a thesis paper I am writing that will be published in May.As first steps at troubleshooting you could try an SMC reset and a PRAM reset:
SMC Reset
Shut down the computer.
Unplug the computer’s power cord and disconnect peripherals.
Press and hold the power button for 5 seconds.
Release the power button.
Attach the computers power cable.
Press the power button to turn on the computer.
Reset PRAM
Shut down the computer.
Locate the following keys on the keyboard: Command, Option, P and R.
You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.
If that doesn't help, what OS are you running? Depending on the OS (Lion/Snow Leopard) will help determine the next step. -
No response from mouse or keyboard
I have a 2006 Mac Pro that I have upgraded from a 2.66 quad core to a 2.66 octo core (using Xeon X5355 processors - I also utilized a program
to upgrade the firmware from 1,1 to 2,1). The machine is sporting 10 GB of RAM, along with a Radeon 4870 video card (original Apple unit) and
a SeriTek eSATA PCIe card. This machine has been flawless for me. Yesterday, I installed a second SATA optical drive and everything was working
well.
Today, the keyboard and mouse became unresponsive. I powered down, booted into safe mode, and everything appeared to work. I rebooted normally
and it froze again shortly after I started some applications (Parallels and Firefox). The programs continued to load, but the keyboard and mouse did
not respond at all. I powered down and disconnected the second SATA optical drive - no change.
Then I started looking at the USB devices - I still have one of the original Entrega 7 port USB hubs hooked up that came with my old blue and white G3 (along with an Imation Super Disk Drive). I unhooked the hub and so far, everything is back to normal. I am attaching a copy of the report that I sent to Apple, in the hopes that someone can help me decipher if the old Entrega hub was indeed the problem. Any input will be greatly appreciated. Thanks in advance. Let me know if there is another report you might need to see (and where it would be found).
Interval Since Last Panic Report: -41551 sec
Panics Since Last Report: 1
Anonymous UUID: 51829B09-2E2B-4FBE-A0C7-2572B5840950
Fri Aug 17 14:07:06 2012
panic(cpu 3 caller 0x2abf6a): Kernel trap at 0x86b9b614, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x6ca17478, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x6ca17400, ECX: 0x0000000d, EDX: 0x6ec05000
CR2: 0x6ca17478, EBP: 0x8678be68, ESI: 0x6ec0518c, EDI: 0x00000000
EFL: 0x00010206, EIP: 0x86b9b614, CS: 0x00000008, DS: 0x6ec00010
Error code: 0x00000000
Backtrace (CPU 3), Frame : Return Address (4 potential args on stack)
0x8678bc28 : 0x21b837 (0x5dd7fc 0x8678bc5c 0x223ce1 0x0)
0x8678bc78 : 0x2abf6a (0x59e3d0 0x86b9b614 0xe 0x59e59a)
0x8678bd58 : 0x2a1a78 (0x8678bd70 0x6ec05000 0x8678be68 0x86b9b614)
0x8678bd68 : 0x86b9b614 (0xe 0x11090048 0xfa60010 0x11b00010)
0x8678be68 : 0x86b9b948 (0x6ec05000 0x1 0x0 0x4)
0x8678bea8 : 0x86ba0595 (0x6ec05000 0x1 0x0 0x300)
0x8678bf58 : 0x86b9da6b (0x6ec05000 0x1 0x1 0xcde1994b)
0x8678bfa8 : 0x86b9d9d6 (0x6ec05000 0x86bac520 0x0 0x227c4b)
0x8678bfc8 : 0x2a179c (0x6ec05000 0x0 0x2a17ab 0xeec13a4)
Kernel Extensions in backtrace (with dependencies):
com.firmtek.driver.FirmTek_SI_SATA_II(5.4.1)@0x86b95000->0x86bacfff
dependency: com.apple.iokit.IOATAFamily(2.5.1)@0x8689a000
dependency: com.apple.iokit.IOPCIFamily(2.6.5)@0x7d8e5000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10K549
Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
System model name: MacPro2,1 (Mac-F4208DC8)
System uptime in nanoseconds: 424521787840
unloaded kexts:
(none)
loaded kexts:
com.parallels.filesystems.prlufs 2010.12.28
com.parallels.kext.prl_vnic 7.0 15098.770637
com.bresink.driver.BRESINKx86Monitoring 8.0
com.parallels.kext.prl_netbridge 7.0 15098.770637
com.parallels.kext.prl_hid_hook 7.0 15098.770637
com.parallels.kext.prl_hypervisor 7.0 15098.770637
com.parallels.kext.prl_usb_connect 7.0 15098.770637
com.sophos.kext.sav 8.0.4
com.microsoft.driver.MicrosoftMouseUSB 8.2
com.microsoft.driver.MicrosoftMouse 8.2
com.roxio.BluRaySupport 1.1.6
com.firmtek.driver.FirmTek_SI_SATA_II 5.4.1
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.InternalModemSupport 2.6.2
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.driver.AudioAUUC 1.57
com.apple.driver.AppleUpstreamUserClient 3.5.7
com.apple.driver.AppleMCCSControl 1.0.20
com.apple.driver.AppleIntelYonahProfile 14
com.apple.kext.ATIFramebuffer 6.3.6
com.apple.driver.AppleIntelPenrynProfile 17
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.ATIRadeonX2000 6.3.6
com.apple.driver.AppleIntelNehalemProfile 11
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleHDA 2.0.5f14
com.apple.driver.IOBluetoothBNEPDriver 2.4.5f3
com.apple.driver.AirPortBrcm43xx 423.91.27
com.apple.driver.AppleIntelMeromProfile 19
com.apple.driver.AppleMCEDriver 1.1.9
com.apple.driver.Apple_iSight 4.0.1
com.apple.driver.AirPortBrcm43224 428.42.4
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1
com.apple.driver.AppleLPC 1.5.1
com.apple.driver.AppleIntel8254XEthernet 2.1.3b1
com.apple.filesystems.ntfs 3.4
com.apple.driver.CSRHIDTransitionDriver 2.4.5f3
com.apple.iokit.SCSITaskUserClient 2.6.8
com.apple.BootCache 31.1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.IOAHCIBlockStorage 1.6.4
com.apple.driver.AppleUSBHub 4.2.4
com.apple.driver.AppleFWOHCI 4.7.3
com.apple.driver.AppleAHCIPort 2.1.7
com.apple.driver.AppleIntelPIIXATA 2.5.1
com.apple.driver.AppleUSBEHCI 4.2.4
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleUSBUHCI 4.2.0
com.apple.driver.AppleACPIButtons 1.3.6
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.3.6
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.14
com.apple.driver.AppleIntelCPUPowerManagement 142.6.0
com.apple.iokit.IOATABlockStorage 2.6.0 - last loaded 412650093458
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.4.5f3
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.driver.AppleHDAHardwareConfigDriver 2.0.5f14
com.apple.driver.DspFuncLib 2.0.5f14
com.apple.iokit.IOAudioFamily 1.8.3fc2
com.apple.kext.OSvKernDSPLib 1.3
com.apple.iokit.IONDRVSupport 2.2.1
com.apple.kext.ATI4800Controller 6.3.6
com.apple.kext.ATISupport 6.3.6
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleHDAController 2.0.5f14
com.apple.iokit.IOGraphicsFamily 2.2.1
com.apple.iokit.IOHDAFamily 2.0.5f14
com.apple.iokit.IO80211Family 320.1
com.apple.driver.AppleSMC 3.1.0d5
com.apple.driver.IOPlatformPluginFamily 4.7.0a1
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IONetworkingFamily 1.10
com.apple.driver.CSRUSBBluetoothHCIController 2.4.5f3
com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
com.apple.iokit.IOBluetoothFamily 2.4.5f3
com.apple.driver.AppleUSBHIDKeyboard 141.5
com.apple.driver.AppleHIDKeyboard 141.5
com.apple.iokit.IOUSBHIDDriver 4.2.0
com.apple.driver.AppleUSBMergeNub 4.2.4
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.8
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6.1
com.apple.driver.XsanFilter 402.1
com.apple.driver.AppleFileSystemDriver 2.0
com.apple.iokit.IOAHCISerialATAPI 1.2.6
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8
com.apple.iokit.IOFireWireFamily 4.2.6
com.apple.iokit.IOUSBUserClient 4.2.4
com.apple.iokit.IOAHCIFamily 2.0.6
com.apple.iokit.IOATAFamily 2.5.1
com.apple.iokit.IOUSBFamily 4.2.4
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.6
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.TMSafetyNet 6
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 289.1
com.apple.iokit.IOStorageFamily 1.6.3
com.apple.driver.AppleACPIPlatform 1.3.6
com.apple.iokit.IOPCIFamily 2.6.5
com.apple.iokit.IOACPIFamily 1.3.0Running 10K549 = 10.6.8
died in the firmtek driver:
Kernel Extensions in backtrace (with dependencies):
com.firmtek.driver.FirmTek_SI_SATA_II(5.4.1)
non-Apple extensions loaded:
com.parallels.filesystems.prlufs 2010.12.28
com.parallels.kext.prl_vnic 7.0 15098.770637
com.bresink.driver.BRESINKx86Monitoring 8.0
com.parallels.kext.prl_netbridge 7.0 15098.770637
com.parallels.kext.prl_hid_hook 7.0 15098.770637
com.parallels.kext.prl_hypervisor 7.0 15098.770637
com.parallels.kext.prl_usb_connect 7.0 15098.770637
com.sophos.kext.sav 8.0.4
com.microsoft.driver.MicrosoftMouseUSB 8.2
com.microsoft.driver.MicrosoftMouse 8.2
com.roxio.BluRaySupport 1.1.6
com.firmtek.driver.FirmTek_SI_SATA_II 5.4.1
I strongly recommend you get rid of that anti-Virus software. That may be the cause of the problem.
You appear to be running the parallels drivers for 10.7, but running under 10.6.8. Is that OK with them? -
Image Sprites Not Working (not appearing)
I have a problem with image sprites disappearing.
I learned them from W3schools Image Sprites unit
http://www.w3schools.com/css/css_image_sprites.asp
and they are working on this website
http://www.mnsupportedliving.org Click on FAQs tab
But cannot get them to work on this page:
http://www.mnsupportedliving.org/index2.html FAQs tab
The css code for the explosion-type buttons on the FAQs tab (where I am having the problem) is on the same page (index2.html) at the top, clearly marked out:
/**********************CSS IMAGE SPRITES *****************/
To check that the link to the image is working correctly, I placed it in div tags at the bottom of this page:
www.mnsupportedliving.org/trial1.html
On this same page, I also tried inserting the css and the html code but I can't get them to appear on that page, either.
There might be something I do not understand.
The images disappeared when I was making changes to the www.mnsupportedliving.org/index.html file (listed above). Before I made the changes, I re-named it index2.html so, if a problem occurred, it wouldn't affect my website. Then I planned to rename it back to index.html again if the changes were successful. These are the changes I made:
***Resources Page: Lengthened the mainContent area in a TabbedPanelsContent area.
***Deleted some code that was not being used, but I was very careful. I don't think I took anything important out.
Thank you very much.
BettyBetty -
Despite the natural tendency we all have to chase down our errors, some time it's just smarter to copy the working page, rename it as desired and modify the balance of the content -
Move container sprite according to mouse movement
Hi All,
Currently I'm developing a game where there is a object which follows mouse. Also there are other objects and a map on the screen.I want all of background content(whole map and other objects) to move when user moves mouse left or right. That is, if user moves mouse on right side then all content(except object which moves as per mouse) should move left side so that user can see remaining part of map on the right side.
As of now I have created new Container sprite in which I have added all of my objects and map. So when user moves the mouse right, I move the container sprite to left so it looks all stuff moves to left. Code looks like as below
var pt:Point = new Point(character.x, character.y);
pt = dori.localToGlobal(pt);
if (pt.x > (stage.width * 0.5))
container.x -= 5;
Structure of project is such that, I add Container directly to stage. and this container contains everything like map, character and other objects.
Now issue is that as soon as mouse goes beyond middle of stage...it creates distance between mouse location and character..!! I mean it does move according to mouse but some distance get created between mouse and character. and this distance keeps increasing as I continue to move mouse away from center of stage!!
I'm really stuck with this issue. Please someone help with this. I hope I have explained this well. Let me know if you need more info but please help.No see......I dont want ease in n all....and character following the mouse logic is working fine if I dont use above linear interpolation to move the container mc.....
but I do want to move container mc as well so I will have to use what you gave to move the all background objects when user moves mouse....
so Again to clarify, in the game when user moves mouse the character should follow and at the same time bakckground objects which are in container mc should move opposite to mouse movement so that remainng mape gets visible to the user....
just now when I was debuggin the linear interpolation logic...I got to know that there something I need to change in it...because accroding to that logic...let say for example
stageWidth is 480
maze.width is 551
then x1 will be 480
y1 will be -71
x2 will be 0 and
y2 will be 0
so m = (y1 - y2) / (x1 - x2) = -71 - 0 / 480 - 0
m = -0.147
b = y1 - m * x1 = -71 - (-0.147 * 480) = 0
so on each enter frame when mouseX wil be multiplied with m....it will create lag in moving container(character is in container as well!
bcoz
container.x = m * stageRef.mouseX + b;
so I'm confused!!
where do u think shall correction be made?? -
I have logitech mouse wireless on my computer; it has ben working just fine until recenttly. I turned on the computer and no pointer, I've checked it out , when I do that it says that it is working properly. Still don't see it working . What else can be done to correct this issue. Thanks in advance for any help.
Hi,
Sorry to hear you're having trouble. If it's a wireless mouse, it may be that the batteries need to be replaced.
I "lose" my mouse pointer all the time! You can change your settings to make target circles briefly appear around your mouse pointer when you press the CTRL button.
From the Start screen, type Control Panel to open the Search charm (just type, and the list of results will appear), and then select Control Panel from the list of results.
Click Hardware and Sound.
Under Devices and Printers, click Mouse.
On the Mouse Properties screen, click the Pointer Options tab.
Click the radio button next to Show location of pointer when I press the CTRL key.
Hope that helps!
~Lil.Liebe
Clicking the white KUDOS THUMBS UP on the right is a way to say thanks!
Click Accept as Solution on a reply that solves your issue to help others in search of answers. -
Delivery from project appearing in billing due list
Hi,
We have a scenario in which delivery is done through project (Tcode CNS0) and the billing is done through sales order (order related billing)
The delivery type LP used for the delivery is not assigned to billing type since we are not supposed to do billing with respect to delivery document.
But these delivery documents are appearing in billing due list (VF04) and remain there in the due list
We want delivery documents (from project) NOT to appear in the billing due list.
Please help.Hi Shambhu,
Lets assume ZLP is not relevant for billing and if delivery is done then how can excise invoice ibe generated.
Issue is delivery doc type LP is assigned to billing type which is meant for excise invoice and not assigned to billing type of final invoice.
Now in India, why LP is assigned to excise invoice billing type, because for every delivery excise invoice is created.
But for the same delivery type LP in europe, excise is not created and hence these documents remain there in billing due list.
The issue can only be resolved if europe starts using another delivery type like ZLP which is not assigned to any billing type, but again that seems to be very difficult to implement at this moment of time.
Thanks Shambhu. -
Photos taken from iPhone appears upside down in windows explorer
Photos taken from my iPhone appears upside down in windows explorer....
Hi The problem I think ou are experiencing is because of the way you turn the phone to take pics. With the phone vertical (home button at the bottom) the pics you take will appear the right way up in all applications, the problem will occur when you hold the phone horizontally. If you hold the phone with the home button to the right the pics you take will appear the right way up in all applications, if you hold the phone with the home button to the left the pics will appear the right way up in the camera roll and some other apps that understand the iphone camera rotation but in other apps (iphoto and windows explorer are two) these photos will appear upside down.
Hope this helps
Doug
Maybe you are looking for
-
CRM 5.0 - IC - Navigation Bar
Hi Gurus I've added Shortcut Keys to my Navigation Bar Profile ID's but they're not displaying at all. This should be any easy one but cannot resolve. Many Thanks in advance. Panduranga
-
[ODI_11G] KM_CKM ORACLE problem
Hi I create a simple ODI_11g interface to load a CSV file into an Oracle 11g DB. I import the CKM Oracle module for the Flow Control. When executing the interface i get : -> warning on the create Error table step : ODI-1228: Echec de la tâche XXXXX (
-
Planned Compensation from Job to Position
Hi experts Is there any transaction that migrates the planned compensation from the job to the position infotype? Thanks in advance
-
I would like to close my adobe account
I would like to close my adobe account. I have never used it and now wish to close it thank you. But Adobe does not make it easy for me! Help me please
-
Problem while createing record using plsqlEO
Hi, I called API in insertRow() method of plsqlEO to create record and the primary key person_profile_id is the out parameter of this API and it'll generate by the API. But while submitting the page its throwing an error message as the attribute pers