Sound.length is not working for Flex Mobile Project

Hi
i am working on Flash builder 4.6. I see sount.length is returning zero verytime. other sound object is working but sound.length is not working.
Any one facing such type of problem for sound file in Flash builder 4.6.
Thanks
Brij Kishor
Flash Builder App developer

Thanks for the response. I am using spark TextInput components as you can see in the code above. I've used these conrtols in other apps in FB 4.5 and have had no problems so it seems like something may be different in 4.6, or it's a bug.

Similar Messages

  • Windowed Application for Flex Mobile Project

    I have a project intended for both deskotp and mobile, and so I began it as a Flex Mobile project.  I then imported the source into a Flex Air project and everything has been working great--until I added cut and paste functionality using the NativeApplication/NativeWindow model.  On a Mac, because there is a default set of menus, this works just fine, but on a pc, the menu is not present unless you define it.  My top level class is a ViewNavigatorApplication, and I can't for the life of me figure out how to get my NativeWindow NativeMenu built.  I have tried plugging code into creationComplete, initialize, preinitialize, but nothing works.  I also tried putting a WindowedApplication around the ViewNavigatorApplication, but that too failed.
    So is there a way to make this work?  While menu support would be nice, I would settle for just shortcut key support.
    Thanks in advance,
    Adrian

    Umm, overall it's doable but you may come up against two or three hurdles:
    The program may have to run for hoursThat may require keeping the phone handset connected to a charger, especially if the display backlight is configured to be on continuously.
    a sample rate of 20Hz from the sensor.You'll have to cross that bridge when you get there, but I suspect that many handsets won't be able to handle receiving, processing and displaying of data every 50 ms.
    log the data and produce simple statistics from a session.Keeping all data in memory probably won't be feasible; writing it to the record store may make the program still slower, further limiting the sampling frequency that can be handled.
    In future all Java ME related questions should be posted on the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    any pointers as to how to beginIf you have never programmed in Java, go through [The Java™ Tutorials|http://java.sun.com/docs/books/tutorial/index.html]. If you have some experience in Java but none in Java ME, [this tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html] will get you through the basics.
    luck, db

  • Overlaying adobe air sdk 13 for flex mobile project gives me error

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on adobe site. Can anyone please suggest me what i need to do in order to get this work.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Adobe AIR for Android as3 codes not working for this one project

    I'm trying to use Accelerometer in my flash game, which works for every other project I'm working on, but for some reason on this one project if I try using it I get errors, using the same code i've used before, such as this. 
    1046: Type was not found or was not a compile-time constant: Accelerometer.
    1180: Call to a possibly undefined method Accelerometer. 
    This is a fairly old file, not that old, so are there files I need to add to it to get it to work, or settings I need to change? This is very frustrating, I don't know what the problem possibly could be. Can anybody help me?

    The error message is indicating it cannot find the class.  Make sure you are importing it:
         import flash.sensors.Accelerometer;

  • Create ItemRenderers for Flex Mobile Projects | ADC Presents | Adobe TV

    Piotr Walczyszyn explains the process of creating custom ItemRenderers in ActionScript3 for Flex mobile applications, as well as the functionality they add to your projects.
    http://adobe.ly/z8Lce2

    Looks like the source is available on github
    https://github.com/pwalczyszyn/examples/downloads

  • Tabbing is not working properly / Flex Mobile 4.6

    Hello,
    I've been working on a mobile app in Flex 4.6 and I've noticed that tabbing between fields is not working properly - maybe someone else has had the same experience and has a fix?
    I have 4 TextInput fields, which now all have tabEnabled set to "true" and tabIndex set accordingly, however, I am unable to tab netween the fields.
    More specifically, when I run the app with a destop run configuration, any time I hit the "TAB" button on the keyboard the first field is focused on. So, if the cursor is in field 3 & I hit TAB, the focus is now in field 1.
    On the mobile device (Samsung Galaxy S), there is no tabbing at all, no matter which field I am in. The soft keyboard does detect the last field though, and the "Next" button on the keyboard will change to "Done".
    I've tried putting the TextInput fields withing a SkinnableContainer (as mentioned here: http://forums.adobe.com/message/2418694#2418694), but no change.
    I also found a bug report on something similar, though it was closed becuase it was opened in the AIR bug base instead of the flex bug base. (https://bugbase.adobe.com/index.cfm?event=bug&id=3064944)
    Here's the code for my "registration" view without any functions or function calls.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        title="Create Account">
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Group left="10" right="10" top="10" bottom="10">
                        <s:layout>
                                  <s:VerticalLayout/>
                        </s:layout>
                        <s:TextInput id="email" prompt="Email" tabEnabled="true" tabIndex="1"/>
                        <s:TextInput id="un" prompt="Username" tabEnabled="true" tabIndex="2"/>
                        <s:TextInput id="pw" displayAsPassword="true" prompt="Password" tabEnabled="true" tabIndex="3"/>
                        <s:TextInput id="pwc" displayAsPassword="true" prompt="Confirm Password" tabEnabled="true" tabIndex="4"/>
                        <s:Button id="button" width="100%" label="Sign Up"/>
                        <s:Group width="100%">
                                  <s:layout>
                                            <s:VerticalLayout horizontalAlign="center"/>
                                  </s:layout>
                                  <s:BusyIndicator id="bi_reg" visible="false"/>
                                  <s:Label id="msg_reg" width="100%" text="Label" textAlign="center" visible="false"/>
                        </s:Group>
              </s:Group>
    </s:View>

    Thanks for the response. I am using spark TextInput components as you can see in the code above. I've used these conrtols in other apps in FB 4.5 and have had no problems so it seems like something may be different in 4.6, or it's a bug.

  • Sound & Graphics Drivers not working for Qosmio F15R

    I was granted this Laptop with nothing more than AC Adapter. I didn't need the information contained in it and didn't want to deal with its configuration issues either, so I started planning formatting it. Looking for model number label at the bottom found it says "Qosmio F15R". I couldn't found this model number at support website for drivers, closest model was F-15AV201, figured it out by watching its pictures in detailed specs documentation. Everything but Bluetooth seemed to be available, so I formatted and reinstalled Windows XP Pro SP3 and then downloaded all drivers. Touchpad, Ethernet, Wireless, Flash memory, TV-FM and DVD-RAM worked just fine. On the other hand Sound, Display and Modem didn't work at all.
    While installing Sound driver I got this error message:
    http://img21.imageshack.us/img21/5075/sounddriver.png
    (it says: "couldn't find driver, reboot and reinstall")
    After installing Display driver checked display adapter properties and found this:
    http://img402.imageshack.us/img402/5171/vga.png
    (no information available and even scrolling on web browser is crappy)
    After installing Modem driver realized it was not identified:
    http://img237.imageshack.us/img237/4613/devicemanager.png
    (Sound, Display, unknown device, Modem)
    I thought I was using drivers for wrong model, so I downloaded PC Wizard, a freeware that identifies hardware configuration:
    http://img262.imageshack.us/img262/6452/pcwizard.png
    wich gave me chipset, processor, video card and-
    http://img175.imageshack.us/img175/4121/soundr.png
    -sound card: 82801FB ICH6 AC'97.
    I couldn't find any proper driver nor for sound nor display, so I tried a shareware, Everest:
    http://img337.imageshack.us/img337/6199/everesth.png
    wich showed me the same chipset, video card and sound card model numbers than PC Wizard.
    I realized that chipset, and display model didn't match detailed specs documentation. I thought that hardware was not working properly, so I downloaded and installed a Linux distro (Kubuntu 9.10 RC i386), and fount out that display and sound were working just fine but I need it to work properly with Windows XP.
    Can anyone tell me where can I get sound and display drivers (and even Bluetooth if possible) for this laptop? Thanks in advance. Regards.

    I have the same problem with audio driver. I can send you the graphic driver that works with Qosmio F15R if you need. My email: [email protected] Toshiba is so bad in supporting with their products.

  • Active Sync Not Working for NEXUS MOBILE in Exchange 2010 SP3 Enivironment..

     HI Exchange Techy's.
    We have Exchange 2010 SP3 Servers. Now All mobiles are working fine Through Active Sync Except Google Nexus. 
    Problem: Account has been activated successfully in Mobile, But Mails are not synchronized.  
    Kindly help fix me out of this problem.
    We are welcome & Appreciate who are giving Comments & Solutions for this problem.
    Regards,
    One of your Exchange Person
    B@[email protected]

    Hi,
    I'd recommend asking your question over here:
    https://social.technet.microsoft.com/Forums/en-us/home?forum=exchangesvrmobilitylegacy&filter=alltypes&sort=lastpostdesc
    This forum is meant for feedback on the TechNet website/subscriptions, not product support.
    Good luck.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • My sound recorder is not working for my HP G60 443CL

    Sound recorder was working but suddenly stopped working

    Hi abbhey,
    Take a look at this document and let me know if the troubleshooting steps help to resolve your issue.
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Release build and standard packaging doesn't work for iOS mobile project.

    Hi,
    We are trying to port our web application on iOS(iPad). Made some minor changes and package ipa with fast packaging method. It works great.
    Now we are try to package application for AppStore and use Standard method. But error occurs.
         Error occurred while packaging the application:
         Exception in thread "main" java.lang.Error: Unable to find named traits: spark.components::Application
             at adobe.abc.Domain.resolveTypeName(Domain.java:225)
             at adobe.abc.Domain.resolveTypeName(Domain.java:142)
             at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
             at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:994)
             at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:390)
    Distribution certificate and provisioning profile are used for compilation.
    Restarting FB and OS doesn't help. Packaging via command line also throws same error.
    Exporting Release build shows other error. After opening Export Release build window and click next error occur:
         Encountered errors or warnings while building project XXXX.mxml.
         configuration variable 'runtime-shared-library-path' requires a value 'rsl-url'.
    All the libraries are merged into code, not RSL.
    OS: Windows XP SP3, Windows 7.
    Flash Builder: 4.5.1.
    Flex SDK: 4.5.1 build 21328.
    AIR: 2.7.1(2.7 shows erros also).
    Thanks in advance for your answers.

    Hi,
    Please send your swf and app-xml to [email protected] so that we can try it at our end.
    Thanks,
    Amish.

  • Flex mobile project: web root and root path for a remote web service?

    Hi all,
    i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
    and php data.
    I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
    test file is http://mywebsite.org/TestDrive/test/test.php... and it works
    correctly)... But when i'm setting properties of the project, i don't know what
    to write into the web root and root path fields... I thing root path is simply
    http://mywebsite.org... and whatever i write in the other fields (output folder
    too) i have errors when i click on "validate configuration"...
    What should i put into those fields? is zend framework (and gateway.php)
    strictly necessary?
    As you can see... i'm a bit confused....
    Many thanks for any help
    Bye
    Alex

    I thought it was a simple question...
    No advice?

  • External sound system is not working

    Hi, the sound system is not working for my MacBook. It is working perfectly for my PC, however, when I plug it into my mac, every sound playing is being paused (e.g. iTunes are being paused on the second playing). What could be the issue?

    That is what I am asking. It just does not make since that the Macbooks audio out/headphone plug works on some systems and not on that particular system.
    If the system you are trying to use does not plug into the AC wall socket to get power then that could be one of the problems. But I believe you have try to tell us that is does plug into the AC wall plug and then plugs into the Macbooks headphone plug.
    Is it possible that the Jack on the sound system you are experiencing problems with is bad?
    Does the sound actually pause or just cut sound in/out similar to how a loose speaker wire might sound like?
    Have you tried using this sound system on a different computer to see if the problem still exist?

  • Open PDF with Flex Mobile Project

    I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).
    I've tried successfully stagewebview to load a pdf from a web server with this:
    webView = new StageWebView();  webView.loadURL("http://<url>/Paper.pdf");  webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight); webView.stage = this.stage;
    But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html
    I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.
    Do you know if there is something to do this? or how can I do this?
    Is there any native-extension or something?
    Thanks in advance

    Thanks Keith, I'll have a look at that. In addition to opening a PDF, I want to be able to encode an anchor id in to the open command to jump a specific anchor; I'd concluded that on iOS, until Adobe add decent url-scheme support, that was a no go - so I've been staring down the barrel of converting the .pdf to HTML and tidying up the inevitable issues manually. Here's hoping Print2Flash will help avoid that!

  • Hi, I have an iPod touch 5th generation which i got about 10 months ago and now my sound is not working. for example my music isn't playing nor are any of my game sounds. Someone help please.

    Hi, I have an iPod touch 5th generation which i got about 10 months ago and now my sound is not working. for example my music isn't playing nor are any of my game sounds. Someone help please.

    No sound form :
    - Speaker?
    - Headphones?
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • Sound is not working for my TV Shows

    My sound is not working for just my TV Shows. Sound for the music is just fine. I would appreciate any help given. Thanks!

    If you go back 4 pages you'll find a lot of responses about the same problem. Towards the bottom of this link to that page, Lex came up with a band-aid for the problem until iTunes gets it fixed. Lex's fix worked for me and some others. Since I did as he suggested, I have downloaded two movies and put them over to my iPod. I can also see them on my computer screen and hear them too.
    Possible Temp Help

Maybe you are looking for

  • Snow Leopard Boot Camp Install Woes

    I'm having some trouble installing boot camp. I have a MBP 2.2 and I have just installed OS 10.6 and I am trying to reinstall my boot camp partition. I am using an HP external USB DVD drive (which has been used to installed boot camp successfully in

  • How to open DCR raw files in CC

    I cannot open DCR files which I used for years with the Kodak 14nx, since I built a new computer. It worked fine with my last computer and CS5. With the new computer I tried it on CS5 and CC and they won't open because it's " not the right kind of fi

  • IPhone Weather App issues

    Hello, I am having an ongoing issue with the weather app in the Notification Center not reflecting the correct city when the location services for the app in turned on, why? I did contact Apple earlier today, they asked me to use the feedback link at

  • GARAGEBAND window lockup!

    I am running OS 10.5.3 and Garageband 4.1.2. My problem is in relation to this error I am receiving in the console. Every time I go to change tempo the window is frozen. Can't edit anymore and menus just flicker down and back up again. Is this relate

  • Cleaning PSA in 3.5

    Hi experts, I try to find how to refresh or clean the PSA as a step of a chain in 3.5, but i can't find how. Can someone please give me a clue about it? Thanks, Artur.