How to export an unsigned apk in Flash Builder?

Hi,
is there a way to export an unsigned apk in Flash Builder 4.6?
If not, is there a way to do it via the commad line, presumably adt?
-c.

Below is the code i have come up with through hours of googling etc but sometimes it wont play a sound any thoughts on this? All of my urls are correct, the method works, its just sometimes i ll click the play button and no sound will play and then i click it again and the sound will play.  Should i use ceil instead of floor?  Thank you in advance!
import flash.events.*;
import flash.media.*;
import flash.net.URLRequest;
import mx.controls.Label;
private var randSound:Sound;
private var channel:SoundChannel;
private var my_sounds:Array = ["sounds/hisbuttocks.mp3", "sounds/hisfoot.mp3", "sounds/hiship.mp3", "sounds/hisknee", "sounds/hisleg", "sounds/hisshin"];
//random sound function:
private function playRand():void
var randVal:int = Math.floor(Math.random()*my_sounds.length);
var urlname:String = my_sounds[randVal];
var request:URLRequest = new URLRequest(urlname);
randSound = new Sound(request);
channel = randSound.play();

Similar Messages

  • How to export a fireworks file to flash while retaining image quality?

    I created a banner for our website using fireworks cs3. Part of the banner has aimation (basically a slide show of 6 photos). I've tried to export the files by saving the frams to files, but when I do this, the image quality really gets bad. When I try to change the export settings and change the dither, everything but the last frame looks better and the last frame looks like a yellow color is splattered all over it....I've tried just saving the file as an .swf file but when I do so, the file doesn't work when I insert it into my web page, it doesn't work.  Is there a better way to do this?  Can I export as something else then import into flash and still retain my image quality?  Thanks for any input and help!

    How are you inserting the file?
    Flash objects need to be placed in an object tag...as described here: http://kb2.adobe.com/cps/415/tn_4150.html

  • How to export height quality gif frm Flash CS3?

    Hi,
    When i export a .GIF movie from Flash CS3 , the movie quality is not good, here is some dot dots in the gif movie.
    How to export height quality gif ? . Kindly explain pls as soon possible...
    Thanks & Regards
    Mohan

    GIF is a color restricted format with on/off support for transparency. There's really no settings you can tweak to output a better GIF. You have a drop-down during GIF sequence export to allow transparency, select the amount of colors (up to 256) and you can choose dither to save a little filespace. The only 2 things in there that really matter are dither and amount of colors used to export.
    If your content is very similar (e.g. not a lot of complex gradients/shadows/etc) and is limited in color use turning down the amount of colors used and dithering is your only option.
    Make sure you're exporting the GIF via "Publish Settings" so you get a single animated GIF and not file->export->movie because this creates a separate sequence of GIF images for each frame.

  • How can generate an unsigned apk from FB 4.6?

    Hi, i just finish the development of an Flex-AIR app for Android. The build possibilities are signed APK and unsigned AIRI file (plus desktop air versión). The fact is that the client needs the apk unsigned so they can sign it with their own digital signature. They don´t want to use the adt option to sign the AIRI file. Is there any way to generate an unsigned apk from FB 4.6 or in Eclipse with the FB4.6 plugin?
    Thanks a lot.

    FlashBuilder (doesn't matter what version) screws this up all the time. There are so many files related to configuration of the workspace, the projects within the workspace and the eclipse environment that it gets messed up all the time.
    I never have this problem in other editors Eclipse based editors like InteliJ, Aptana, FDT etc. It's just Adobe growing / extending a tool which has bad programming in it and not bothering to go back and fix the root of the problem before expanding on it. FlashBuilder doesn't get the attention it deserves from Adobe. If they are not careful in the not too distant future when WebGL is supported on all the major web browsers and tools are released to translate WebGL to OpenGL ES iOS and Android applications AIR might see itself becoming a thing of the past. Esepcially when the tools can't even save the state of the projects they themselves created correctly.

  • How to create a contact-formular in flash builder 4?

    Hello!
    Is there any way to create a contact-formular in flash builder 4?
    Only three text-boxes (name, email, message) and the "send" button!
    I build my page in flash catalyst and export it as an fxp file to flash builder!
    What comes next? Please help me!
    Greetings

    You understood correctly:
    - I removed all Build Path > Source Paths
    - I moved those paths over to Library Paths > Source attachment
    I took inspiration by how the Flex SDK is added to the project. Flex and flex related frameworks (e.g. datavisualization lib)  also specify a Source Attachment under Lib Path. If I remove the source attachment I am not able to drill down into Flex code when I want to by Command-clicking on a class name (or hitting F3).
    All my SWC are open source. BTW some of the source paths I was using were the path to the Flex code and to datavisualtization lib, which I think are the biggest library I am linking against. So maybe to recreate, just add those 2 libraries and make sure to add the source path AND source attachment.
    I am using RSLs for every library if that matters.
    I don't understand why specifying a Source Attachment would cause any issues...  the swc is in sync with the source specified in its source attachment.

  • How to create a "contact form" in flash builder

    How can I build a "contact form" that will sent an email in flash builder.
    Secondly how do I get it inside Flash Catalyst?
    Does anyone know any tutorials?
    Regards
    Rasmus

    Hi,
    May I please have the URL of the site and any specific pages you'd like me to take a look at? Let me check before suggesting anything.

  • How to update the AIR included in Flash Builder SDK?

    So, the Flash Builder SDK comes with a version of AIR, which it uses when you package a mobile app for iOS (Android mobile apps are run with the AIR that's downloaded from the Marketplace)...  On my Windows machine, this "built-in" copy of AIR is located in "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\runtimes\" unless I'm mistaken.
    I'm pretty sure that it does not automatically update itself -- and I'm equally certain that it's a pretty old version of AIR, because it's the one that was included with the 4.6 SDK which was released 8 months ago...
    So how do I update this version of AIR that's built into the Flash Builder SDK?
    Thanks,
    Laurence MacNeill
    Mableton, Georgia, USA

    Oops -- never mind...  Didn't realize there was a separate AIR SDK that you could download -- I thought it was integrated into the Flex SDK, and since there hasn't been a new Flex SDK since 4.6, I thought I had to somehow grab pieces and parts of AIR to update this manually...
    But grabbing the AIR SDK from http://www.adobe.com/devnet/air/air-sdk-download.html did the trick...  Just unzipped that into the sdks\4.6.0 folder and was done...  Sweet...
    L.

  • How to optimize text editing performance in Flash Builder 4?

    I am running Flash Builder 4.0.0 (build 272416) on a Macbook Pro 2.4 Ghz with 4Gb RAM. I am experiencing extremely poor performance while simply editing moderately complex MXML files.
    By poor performance I mean noticeable lag between keystrokes. Type one char, wait 2 or 3 seconds on a 700 lines MXML with about 20 buttons, 2 AdvancedDataGrids, 1 text area. Fairly complex, but that's what I need.
    Opening said MXML file takes around 12 seconds.
    Saving said MXML results in around 8 seconds: no automatic building, nothing else being done.
    On trivial MXMLs there's still a noticeable lag while typing, around 0.5 seconds per char.
    At this point Flash Builder 4 is unusable for me: editing .as files is still decent, but for MXMLs is almost impossible to work with, as you can see from the numbers above.
    Is there *anything* I can do to improve text editing performance? I've disabled all sort of niceties (automatic completion, indentation and so on) in the prefs, sadly to no avail. This is a major inconvenience for us.

    You understood correctly:
    - I removed all Build Path > Source Paths
    - I moved those paths over to Library Paths > Source attachment
    I took inspiration by how the Flex SDK is added to the project. Flex and flex related frameworks (e.g. datavisualization lib)  also specify a Source Attachment under Lib Path. If I remove the source attachment I am not able to drill down into Flex code when I want to by Command-clicking on a class name (or hitting F3).
    All my SWC are open source. BTW some of the source paths I was using were the path to the Flex code and to datavisualtization lib, which I think are the biggest library I am linking against. So maybe to recreate, just add those 2 libraries and make sure to add the source path AND source attachment.
    I am using RSLs for every library if that matters.
    I don't understand why specifying a Source Attachment would cause any issues...  the swc is in sync with the source specified in its source attachment.

  • How to Ignore SSL handshake warning in Flash Builder 4?

    Is it possible to configure Flash Builder to ignore SSL handshake issues when attempting to configure a Flex client to communicate with a PHP backend?  I'm attempting to connect to my PHP backend server running with a shared SSL certificate so the domain name doesn't match the certificate.
    Here's the error:
    javax.net.ssl.SSLHandshakeException:  java.security.cert.CertificateException: No name matching ...

    You understood correctly:
    - I removed all Build Path > Source Paths
    - I moved those paths over to Library Paths > Source attachment
    I took inspiration by how the Flex SDK is added to the project. Flex and flex related frameworks (e.g. datavisualization lib)  also specify a Source Attachment under Lib Path. If I remove the source attachment I am not able to drill down into Flex code when I want to by Command-clicking on a class name (or hitting F3).
    All my SWC are open source. BTW some of the source paths I was using were the path to the Flex code and to datavisualtization lib, which I think are the biggest library I am linking against. So maybe to recreate, just add those 2 libraries and make sure to add the source path AND source attachment.
    I am using RSLs for every library if that matters.
    I don't understand why specifying a Source Attachment would cause any issues...  the swc is in sync with the source specified in its source attachment.

  • How to recover deleted projects in adobe flash builder 4.5 for PHP

    Hi
    Problem:I accidently deleted project in adobe flash builder 4.5 for PHP and in confirming dialogue box,i checked delete contents one(see figure).
    I have wasted almost 6 hours and googled almost everything but couldn't find solution.
    I have also used data recovery software like Get Data:Recover my deleted files.It found all my deleted files which was deleted by me pressing Shift+Del,but it didn't displayed files which i wanted(since they were deleted by Adobe flash builder).
    Any help would be welcomed as that project was so important for me.

    Thanks for your solution but in mine it saying,There are no previous versions found.
    I have used almost 6 recovery software paid and free and didn't intstalled on that drive where my original files are located so that it don't get overwritten.
    All of them are able to recover some files like
    .project
    public/bin-debug folder
    .settings folder
    But my .php files i located in web root folder.Those file by i connect data/services. I mean PHP project files are deleted.
    I had following structure of files
    <Web root > php scritps to connect data\services\UserService.php                  (this file)
    <Web root > php scritps to connect data\services\EmployeeService.php          (this file)
    <Web root > php scritps to connect data\test\test.php                                    (this file)
    <Web root > php scritps to connect data\Imp files to connect data using PHP and MySql.txt (this file)
    Files marked by "this files "  are  lost and not found by any recovery software.
    I need those php and txt files specifically.

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • How to set StrictMode on/off in Flash Builder?

    I'm just finding about Flash Professional.. What about Flash Builder?

    You are better off posting this in Flex forum.
    In general, in compiler options you can do:
    mxmlc --strict=true --file-specs yourApplication.mxml
    To my knowledge it is set to true by default and you should leave it at that if you want a code with integrity.

  • How to export or capture audio from Flash content?

    I've downloaded a Macromedia Flash file via Safari. I'd like to capture a snippet of its audio into a standard audio file format (e.g. AIFF). How do I do this on the Mac, if possible?
    I apologize if this is the "wrong" forum for this, but nothing else seemed appropriate.

    Hi,
    This can probably do what you are after:
    http://www.rogueamoeba.com/audiohijack/
    Depending on the length of the clip, the demo version may be sufficient for your needs.

  • How to EXPORT or CONVERT .mov to Flash Movie (.flv)?

    Hi all,
    Do any fastest way to export or convert a .mov to .flv? I saw some third-party software to do so, which is need to pay a reasonable price. Hope you c'ld give me some of your suggestion before I proceed to the purchase. Need the converter just purposely for website use...
    Appreciate!

    cheeper version ffmpegX supports .flv too
    ffmpegX a DVD, SVCD, VCD, CVD, VOB, DivX, XviD, H.264, PSP, iPod ...

  • How to show video in iOS by flash builder 4.5?

    I use VideoDisplay show local flv  file, when publish to Andriod mobile phone, it worked , but publish to iphone4, it do nothing.
    But when I use video control attachCamera, it can work, why?

    iOS does not support flash video.
    That is not correct. We play flv just fine on the iPad, both locally and streaming over RTMP.
    We are using the AIR 2.7 SDK with Flex 4.5.1.

Maybe you are looking for