Using the compass sensor in flash mbile 4.5.1
Is that possible to use the digital compass with flex 4.5.1. Or is there any tip or trick to do that ?
Hi Ravi,
just installed AIR3 SDK at work. I try to recap the steps I did:
1. Locate the "old" SDKs
They are located in the Flash Builder directory, in my case this was c:\program files(x86)\adobe\flash builder 4.5\sdks
2. Make a copy of the previous SDK
Copy a previous SDK (I used SDK 4.5.1 for that) and rename the copied folder to AIR3SDK (or a different name if you like)
3. Overwrite the copied (!) SDK with the AIR3 SDK
Copy all files from the AIR3 SDK into the copied folder. It should ask you to overwrite files quite a couple of times. After this, you should have a working AIR3 SDK installed.
4. Set a name for the new SDK
I had to to this with the Beta2 - go to the new SDK directory and edit flex-sdk-description.xml - change the <name> content from Flex 4.5.1 to AIR3 SDK.
6. Add the new playerglobal.swc from Flash Player 11
Download the current Flash Player 11 "playerglobal.swc" from http://labs.adobe.com/downloads/flashplayer11.html and put it into the correct folder. From the SDKs root folder this was: <sdkroot>/frameworks/libs/player/11.0/ (I had to create the 11.0 folder myself and then just put the file in there and rename it to plain "playerglobal.swc")
7. Add the AIR3 SDK to Flash Builder
Under "Project Settings - Flex Compiler" for a project, choose the new SDK as SDK to use for the project. If the SDK does not show up, go to "configure Flex SDKs", then "Add" and select the newly created folder. The new AIR3 SDK should now be included in the dropdown list as a compiler for that project.
Don't forget to add -swf-version=13 as a compiler flag on the same screen.
After doing all this, I was able to use the new features, compile my projects and well, work with it
Edit: I almost forgot - you also have to set the namespace in your -app.xml to 3.0 like this:
<application xmlns="http://ns.adobe.com/air/application/3.0">
Best regards,
Martin
Similar Messages
-
Can I use the Compass without the locator service running?
It seems to me that when I first got the phone I could use the Compass without have the Lat and Long displayed.
Is that still possible?
MattMalcolm Rayfield wrote:
The "True North" mode needs the location since the difference from magnetic north varies by location.
An excellent point. I normally use mechanical compasses and do the compensation the same way; hadn't thought of the need for position data to do it the iPhone way!
Hmm .. now I wonder if putting the compass in magnetic North mode will let it work with location services off? Just tried it an the answer appears to be NO.
Phil
Message was edited by: w7ox -
I have purchased the nike sensor to use with my Ipod touch. I tried it on the golf course and it kept pausing after time.. I tried the different ways to work out eg basic, timed, calories...but it kept pausing after a short distance. Is this because you stop and start with golf? Is there a setting I can adjust?
Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
Then perform these steps:
#Open Firefox ''Options'' window (''Preferences'' on Mac or Linux) as follows:
#* In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]] and select ''Options'' for Windows or ''Preferences'' on Mac or Linux.
#* In Firefox 28.0 and previous versions, click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
#In the Firefox Options (or Preferences) window, click the ''Advanced'' tab, then select ''General''.
#In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
#Now, restart Firefox and see if the problems persist.
Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
* [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
* [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
Did this fix your problems? Please report back to us!
Thank you. -
I'm in the process of teaching myself the components of the CS4 Design Premium package using the Adobe Classroom in a Book series. I'm currently going through the Flash CIAB and i've started using the pen tool. The task involves creating a wave like design across the stage. Whilst this in itself is simple, the final instruction is to click on the first anchor point to close the shape. In the illustration, the closed shape seems to automatically extend around the stage, however when I click on the first anchor point, the line automatically connects between the two points in a straight line.
Am I doing something wrong? The next step is to fill this area, but with the straight line effect that I am getting, this becomes impossible. I should point out that the instruction states that the pen tool line should extend off the stage. I have done this, but even then on clicking on the first anchor point the shape is closed incorrectly.
If you have any suggestions as to why this may be, I would be greatly appreciative.
ChrisThanks Ned,
I think I worked out the problem; I think that part of the instruction was missing. When I looked at the picture again, I noticed that there were anchor points around the stage, so I guess that was what I missed. I was simply creating the wavy line across the stage, and then clicking on the first anchor point to close the shape. I resolved the problem by creating three anchor points around the stage and then closing the image by clicking on the first anchor.
Thanks again for your help Ned.
Chris -
My mom bought me the student version of Flash Pro CS5.5 a few years ago, but I am not taking five classes any more so I don't qualify anymore. Am I still allowed to use it?
If you own the license you are allowed to continue to use it.
-
Hello-
One day I noticed that there was an icon on my MacBook Pro of Adobe Flash on the last row of system Preferences. I had never seen it before, and I had ben using Flash for a long time and updating it regularly.
It recently told me there is a newer version. I did not let it install it because I am having so many problems with viewing Flash Videos on websites. I have a MacBook Pro, Mac OS X 10.6.8. I use Safari 5.1.5, the latest as far as I know.
In using this automatic updater for Flash (there are actually several tabs when I click the Adobe icon not just the updater) in the Advanced tab of the Flash Player icon are there any special things I should do if I click yes update? should I close all the windows, apps, Safari? do a restart? I am debating if I should do a Clean Install, wipe all Flash Player off the Mac and just install the latest version rather then letting the updater install the latest version, which I think is 11.2.202.228. I currently have 11.1.102.64 with a bunch of video issues.
Thanks for any assistance.Replied via PM
-
Is there a way to turn 'passcode on immediately' while also using the fingerprint sensor?
If I turn my fingerprint sensor on in the new iPhone 5s to use as the passcode, it requires it to be used immediately after locking. I would like to change this to 1 minute but there aren't any other options when the fingerprint sensor is on. Is there a fix to this?
i am wondering the same thing. Also there should be an option where you ONLY have the fingerprint unlock instead of also having the numerical password when sliding phone.
-
Is it possible to save when I use the trial version of Flash Professional CS5?
I downloaded the trial version so I could work on the final project for class but for some reason when I tried to save it my computer froze up. Is this because the save feature is turned off for the trial version or was it just my computer? If I can't save using the trial version than I wasted memory on my computer and a lot of my time downloading the trial version that isn't going to be very useful to me.
The trial versions have no restrictions on use and you can save what you create, so it was most likely your computer. Make sure your machine meets meets the minimum requirements.
The harddrive memory is not wasted, it is recoverable when you uninstall. If you are talking about RAM, it is only used when you run the program. The time you say you wasted downloading shouldn't have been necessary... downloading happens without the need for your participation, so you could have let that run by itself while doing something else. -
Is there a way to use the "Spinner list" in Flash professional?
Can I import the componen "spinner list" used in Flash Builder to a Flash professional proyect?
Flex and Flash Pro don't mix, entirely different layers of the VM. If you don't see it in the default CS6 controls list, no you can't use it from Flash Pro. Only certain components (spark) were converted from Flex to CS6.
You should look into GPU accelerated components like feathersui.com. -
Is anyone aware of an iPad App that uses the screen as a flash for photography?
While pictures taken outdoors with good lighting are acceptable, less can be said for those taken indoors under artificial light. Does anyone know of an app I can use to augment the room light with that from my screen?
IMO, unless the room was nearly dark, I can't imagine the iPad would, even at full brightness, make any significant difference in this application.
-
Do i have to purchase the nike+ shoes to use the nike+ sensor w/ my ipod?
I own a 2nd generation ipod touch and it doesnt need the reciever but when i try to connect it it doesnt see anything. i have not puchased the nike+ shoes and i am wondering if i need it for it to connect. plz answer!
I tried the pouch yesterday and my Touch kept searching for my sensor. It did not find it. My Touch was in my hand and I kept moving it around while I was walking, trying to help it find the sensor. Nothing... which brings me here.
-
Using the Motion Editor in Flash CS5 crashes the program
Everytime I try to make a change by scrubbing a number in the motion editor, the program crashes with no explanation as to what went wrong. How do I stop this from happening? I was viewing an online video tutorial when it happened. If it helps, here is some information about my computer:
OS Name
Microsoft Windows 7 Home Premium
Version
6.1.7601 Service Pack 1 Build 7601
Other OS Description
Not Available
OS Manufacturer
Microsoft Corporation
System Manufacturer
Dell Inc.
System Model
Inspiron M5010
System Type
x64-based PC
Processor
AMD Phenom(tm) II N870 Triple-Core Processor, 2300 Mhz, 3 Core(s), 3 Logical Processor(s)
BIOS Version/Date
Dell Inc. A08, 10/12/2010
SMBIOS Version
2.6
Installed Physical Memory (RAM)
6.00 GB
Total Physical Memory
5.75 GB
Available Physical Memory
3.52 GB
Total Virtual Memory
11.5 GB
Available Virtual Memory
8.98 GB
Page File Space
5.75 GBDoes Flash also crash when you scrub hot text in other area like the Timeline or Properties Inspector? Please delete your user configuration folder and recreate your preferences files.
Delete user configuration folder and recreate preferences.
Delete the Flash CS5 folder from: C:\Users\<username>[AppData]\Local\Adobe\
See technote on how to recreate preferences: http://kb2.adobe.com/cps/520/cpsid_52048.html
Thanks,
Quynh
Flash Pro QA -
Error while attempting to use the CSSFormatResolver Class in Flash CS4
Hello,
While trying to work with a revised version of the CSSFormatResolver class (created by timoisalive and posted on this thread) the compiler threw the following error:
1061: Call to a possibly undefined method getChildAtIndex through a reference with static type flashx.textLayout.elements:FlowGroupElement.
The method originates from within the invalidate() method of the CSSFormatResolver class.
public function invalidate(target:Object):void {
delete _textLayoutFormatCache[target];
var blockElem:FlowGroupElement = target as FlowGroupElement;
if(blockElem) {
for(var idx:int = 0; idx < blockElem.numChildren; idx++) invalidate(blockElem.getChildAtIndex(idx));
If I comment the for loop I can get the example to run, but that seems to seriously affect the way the styles are interpreted...
The example files are attached below.
Any suggestions?
Thank you in advance.There is no FlowGroupElement.getChildAtIndex method.
There are these two:
getChildAt(index:int):FlowElement
Returns the FlowElement child at the specified index.
FlowGroupElement
getChildIndex(child:FlowElement):int
Searches in children for the specified FlowElement object and returns its index position.
FlowGroupElement
I think you meant getChildAt.
Hope that helps,
Rich -
Can an M750 scroll like an ipad using the touch sensor?
Is there a way to make my Portege M750 scroll smoothly like an ipod/ipad? Have not been able to find any drivers or software to make this happen yet.
I do not believe that's supported.
- Peter -
Hello, I would like to know if I can use the same nike Ipod sensor with two different ipods. I want to use the same sensor sometims with an Ipod touch and sometimes with an Ipod Nano, I want my trainings with both Ipods to be registered to the same account. I want them to be registered to only one account, not as it had been used by two different people.
Of course. You should use the same AppleID on all your devices. Why would you create a new one?
Matt
Maybe you are looking for
-
Customizing to do billing using free of charge delivery type
Hi Friends I have the following task to do in urgent. Usually in free of charge delivery, billing is not needed, but my task is I have to make customizations so that billing should be needed(have to do billing).when selcting free of charge delive
-
Sound, but no vision when streaming from iPad2 to ATV2.
Have downloaded FilmOn app and trying to stream a programme from iPad2 to ATV2 using AirPlay. Getting sound on TV but no vision. Any ideas?
-
Using HP Pavilion Dv7 with Windows Home Premium, 64bit, and only now and then will FF4.0.1 restore previous (normal) session after returning from a private browsing session, )I use the Quit Private Browsing menu item from the Toolbar right-click menu
-
NVidia on Macbook Pro Retina 2.0 GHz
Hey everyone, I recently bought a Macbook Pro Retina 2.0 GHz which I thought would be sufficient for almost anything. After all the processor would tune up to 3.2 GHz if needed. Now I wanted to try something heavy on the graphics and I wondered why t
-
How do I change parimiters in a lightroom flash web gallery?
how do I change perimeters in a lightroom flash web gallery? I have the gallery made up and it works, but the photo info text is small and i see the site title is slammed against the left margin. How do I change these? I've downloaded flash and tri