AS3 Library in BB10

Hi, I plan to develop air (AS3) on BB10.

My question is:

1. What's the difference / limitation in the BB10 AIR and AIR Office? Any obvious restriction of BB10 AIR?

2 is the library as flash.text.TextFieldcan be used?

Thank you! Hope someone could help me with that.

Hi, thanks for the response.

This means that Starling is also supported?

I had the intention of some games and applications on the port.

Tags: BlackBerry Developers

Similar Questions

  • Core AS3 library in Flash 6?

    Hello

    How do we install the AS3 core library in Flash 6. I need save jpg and png of the scene, but can't download Flash to see the main library.

    Everyone says it's really easy, but I can't make it work. Help?

    Thank you!

    Click file > publishing settings > swf, and then click the key icon (settings of actionscript).  Click on the library path > add new path (more icon) and navigate to your library.

  • AS3 Library CB

    Hello

    I just downloaded the AS3CB class library and I'm having trouble using it.
    All classes in it are in a folder named as3cb.

    I blocked this dossier in my active project folder and used

    Import as3cd.*; but I can't use the classes.

    I also tried to put the classes in C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes\FP9\flash

    and that no longer works.

    What I am doing wrong?

    Thank you
    Dub

    I had to be more explicit in my import

    import flash.ascb.drawing.pen

  • BB10: Additional libraries for LocalManage and QNXApplication

    Which additional libraries are needed so that an application can see LocalManager and QNXApplication?

    It is located in a normal project, but it can't seem to find in an AS3 library that tries to import it.

    The solution is to include the DONKEY as you include a SWC to the library project.

  • Control DMX with AS3

    I try to write a program in AS3 (probably using the Flex SDK) that controls a light theatre DXM Pro USB system. The program must be able to send data to several DMX channels to control the light level, allowing the projects to light either pre-tuned and executed in a particular order.

    I saw libraries to work with DXM inr VB and c#, but I'm trying to determine if someone has written an AS3 library to send data to the DXM Pro USB device. I've never used AS3 to communicate directly with a USB device, so I'm a little loss to know where to start. Obviously, this will be a project written for AIR, because it will need access to system devices.

    Does anyone know of such a library? If this is not the case, can someone point me in the right direction for reading on communicate with devices USB in AS3?

    I didn't have a wrapper, as I wanted to be installed with the installer for Adobe AIR. And I checked Netlab. It worked fine, but I wanted to manage the problem at the level of the code, so I could have more control over it.

    I finally solved the problem with Serproxy, which runs in the background and makes USB ports available via 5331-5334 ports (COM 1-4) on localhost. Because the DMX USB Pro emulates a COM port, it was quite easy to connect via Serproxy (insofar that I made sure that the DMX USB Pro was not assigned a port above 4).

    I used NativeProcess, that's new in AIR 2.0. I was not familiar with this subject, so I thought I'd share the code here in case others want to use it.

    if (NativeProcess.isSupported)
       var file:File = File.applicationDirectory.resolvePath("serproxy.exe");
       var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
       nativeProcessStartupInfo.executable = file;
       nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;
       process = new NativeProcess();
       process.addEventListener(Event.ACTIVATE, handleProcessActivation);
       process.start(nativeProcessStartupInfo);
    } else {
       Alert.show("Unable to start Serproxy.");
    }

    I have connected to the port on localhost using the plug then used a ByteArray to getting the right information to the DMX USB Pro.I was also an event handler to exit the nativeprocess instance when the application closed.

    Thanks to all who responded. If someone needs help, namely the correct information to switch to the DMX USB Pro, I'd be happy to share what I know. Their documentation is a little sparse, but a little experimentation allowed me to find the right bytes to send.

  • How to import an AS3 project in Flash

    Hello

    First of all, I must say that I am new to Flash and AS3 and my English is far from perfect, just so tell me if I say what you cannot understand.

    I received the source code of a Web site that is entirely in flash. The code is sperated into two parts, one contains the application-specific code and the other is containing the AS3 library.


    I'm a little lost when I try to run it in Flash. What is the right way to import a complete project of action script in Flash? Where should I put the library?
    If you have a good tutorial to explain this, I would be great. If you got a good explanation is too great

    Thank you.

    AppInit.as is not really the main class (we have just to see) - you can find a class that extends Sprite?

    With these errors, you cannot compile to SWF. You can just contact the author http://lab75.jp/de/contact ...?

  • AS3 Flash Android components

    I found this AS3 library the other day, created by a guy named Kevin Hoyt, and it rocks. You can check it out here: http://xperiments.es/blog/en/as3-android-flash-components/.

    It has many components that have the same appearance as the natives of the Android, but unfortunately I can't make it work with Burrito. Available in link zip file contains a SWC, wich you can add path buld your project, it gives me a warning saying that the Design view can be loaded, it may be inconsistent and too dangerous "DesignAssetLoader.CompleteTimeout".

    Some research showed me that it is a known bug in Flash Builder, I read somewhere that the warning, but you are still able to drag the widget to the Panel. Well, here they are even not appear in Control Panel, which means that I can't use them.

    Someone knows how to fix this? I think it is a great library, and use it with Burrito would be the combo ultimate xD

    See you soon,.

    NiNshiM

    All the classes in this library are in default package if you do not have to have an import statement. Just add the swc to build you the path. I haven't used burrito so I don't know about drag and drop. I used a component or two of this library in my flash + as3 project (using the flash builder 4 to modify the code). To add a button (for example) on stage, I do:

    var: button = new Button();

    addChild (button);

    She's.

    I was also happy to see that library when I started my project at the end of last year. But unfortunately, it is not a good way to adjust the size of some of the elements of guidance. For example, if you have 10 items in the list, you are in portrait mode, but the list goes beyond the limits of the scene in the landscape. I'll be happy to know a work around that.

  • Optimization: Export to from the library vs load a folder

    I have seen that with AS3 library export is much better than the loading of a loop of music together. IE: one-tenth of the size so it would be best to always do like this to a game for example.

    But if I build an English teaching app with 100's of words and phrases, it's easier to connect via xml and load the file. What would be the best option here?

    See you soon

    Flash to compress your sound loops.  You can do this with the sound software.

    Thus, it is better to load your sounds, and you should still be able to realize the advantage of using compressed audio files.

  • AS3@FMS3

    Hi all

    I try to use the as3crypto under hard fms3 library. as I am an absolute newbee to flash/as/whatever, I don't know if it is possible to do it in General and if it is how to do it.

    can you help me please?

    Oxford,

    dialsc

    You use the AS3 library in Server-script action side?... If Yes, then it will NOT help as the script on the server side is basically a javascript version and can't stand not the as3/as2 coding style or libraries.

  • Default application to open ZIP files?

    I guess there is none because ZIP is missing in the QNXApplication.supportedFileTypes.

    However, the preloaded file manager (developed by RIM) can handle ZIP files.

    I need to set up my own ZIP handling, if I want to open ZIP files?

    I use an AS3 library to unzip files (internal to the app). If you are looking for a way to allow the user to see the decompressed files, so no at this point. You could display something in your application and view the contents of the zip file and control the destination of each file (make your own unzip the Viewer).

  • Strange behavior of drop-down list: can select only 3 albums

    I have a drop-down list populated from the SharedObject object and it works very well (can add and remove or clear all using the graphical interface that I created) but when it is developed, I can only select one of the first 3 points.

    Let's say that when I add to the list, I see these entries:

    Test1

    5_up_top

    diamonds

    Spider

    bigX

    I choose test1, 5_up_top and diamonds, but I can't select spider or bigX.

    Huh?

    var dp:DropDown = new DropDown();
    dp.rowHeight = CONTROL_HEIGHT;
    dp.width = 2* LABEL_WIDTH + LABEL_SPACER;
    dp.height = CONTROL_HEIGHT+ HALF_LABEL_SPACER;
    dp.x = OFFSET + LABEL_SPACER + OFFSET;
    dp.y = 4 * CONTROL_HEIGHT + LABEL_SPACER;
    dp.rowCount=8;
    dp.dataProvider = getSharedData();
    

    and getSharedData():

    private function getSharedData():DataProvider{
        _lso = SharedObject.getLocal("LoadGames");
        var valuePair:Object = _lso.data["puzzles"];
    
        var dp:DataProvider = new DataProvider();
        for each(var obj:Object in valuePair){
            if(obj != null){
                dp.addItem({label:obj["title"], data:obj["game"]});
            }
        }
        return dp;
    }
    

    9.4 Simulator running AIR2.5 on Vista32.

    I searched this forum but don't have not seen anything like that. Any ideas?

    TIA,

    Brian

    Certainly do.  It is also available in the AS3 library.

    package com.lib.playbook.controls
    {
        /*
        MIT License:
    
        Copyright (C) 2011 by John Tegen/O2 Interactive
    
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
    
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
    
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
        */
        import flash.events.Event;
        import flash.events.FocusEvent;
    
        import qnx.ui.listClasses.DropDown;
    
        public class DropDown extends qnx.ui.listClasses.DropDown
        {
            public var dataField : String = 'data';
            public var defaultSelection : * = '';
    
            /////////////////////////////////////////////////////////////////////////
        public function DropDown()
        {
            super();
            this.addEventListener(FocusEvent.FOCUS_IN, HasFocus );
        }
    
            ///////////////////////////////////////////////////////////////////////////
        private function HasFocus( event : Event ) : void
        {
            this.parent.setChildIndex( this, this.parent.numChildren-1 );
        }
    
            ////////////////////////////////////////////////////////////////////
        public function set selection( value : * ) : void
        {
                var entry   : Object;
                var counter : int = 0;
                for each( entry in this.dataProvider.data )
                {
                    if( entry[ this.dataField ] == value )
                    {
                        this.selectedIndex = counter;
                        break;
                    }
                    counter++;
                }
        }
    
            //////////////////////////////////////////////////////////////////////
        public function get selection() : *
        {
            return this.selectedItem ? this.selectedItem[ this.dataField ] : this.defaultSelection;
        }
        }
    }
    
  • How to stop or remove perlinnoise?

    .. then I can add the following image. and use an alpha tween to show. If you test this, (just rename images by image names I use and export to as3 library). You can see that the perlinnoise is continuously existing in the background. Simplicity and test, I'm tweening only two halves of an image that I'm trying, but actually I finally many tween parties (copyPixels) of the original image.

    I'm trying to get this to work because Tween does not work when you try Tween than an index of an array (so I can time differently each index), even if I name each index item in the table.

    Interestingly, enough when I use the loop and set the property of the Rectangle x new ix the bit of code below works to stop the perlin noise. But as soon as I remove the loop, the flag.fillRect (flag.rect, 0); does not work.

    If (newMC2.alpha == 1) {}

    found = true;//stage.removeChildAt(0);stage.removeChild(flag);ary.splice(0);

    break loop;

    break scloop;

    break noise;

    flag.fillRect (flag.rect, 0);

    } //END if

    Here is my code:

    import flash.display. *;
    import flash.events.Event;
    import flash.events.TimerEvent;
    import flash.geom.Rectangle;
    to import flash.geom.Point;
    import flash.utils.Timer;
    import flash.utils.setTimeout;
    Import fl.transitions.Tween;
    Import fl.transitions.TweenEvent;
    Fl.transitions.easing import. *;
    ary var: Array = [0,14,28,42,56,70,84,98,112,126,140,154,168,182,196,210,224,238,252,266,280,294,308,322,3 36,350,364,378,392,406,420,434,448,462,476,490,504,518,532,546,560,574,588,602,604];
    var pW:uint = 301;
    var xyPnt:Point = new Point (0,0);
    var rippleSz:uint = 160;
    var scalex:Number = 50;
    var ScaleY: number = 100;
    var: channels: uint = BitmapDataChannel.BLUE;
    var chX:uint = channels; var chY:uint = channels;
    var oct:uint = 1;
    var dmode:String = DisplacementMapFilterMode.COLOR;
    var color: uint = 0xFFFFFFFF;
    var dalpha:Number = 1;
    var fW:uint = 603; var fH:uint = 214;
    var fData:BitmapData = new BitmapData (fW, fH); perlinNoise applied to this
    var flagBmp:Bitmap = new Bitmap (fData);
    var: timer = new Timer (10000,4);
    timer.addEventListener (TimerEvent.TIMER, vPic);
    Timer.Start ();
    addChild (flagBmp); Adds the container bitmap to the stage object
    var lwyData0:BitmapData = new lawyers_sprite;
    var lkeData1:BitmapData = new lake_sprite;
    var dckData2:BitmapData = new duck_sprite;
    var ctyData3:BitmapData = new cotie_sprite;
    var fRect:Rectangle = new Rectangle (0,0,fW,fH);
    var tempFDataX:BitmapData = new BitmapData (fW, fH);
    var img1:BitmapData = lwyData0;
    var nPic:BitmapData = lkeData1;

    tempFDataX.copyPixels (img1, fRect, focus()) new;
    var: matrix new matrix());
    var fData2:BitmapData = new BitmapData (fW, fH, false);
    fData2.draw (tempFDataX, matrix, null, null, fRect, true);
    var flag: Bitmap = new Bitmap (fData2);
    addChild (flag);
    function vPic(event:Event):void {}
    var ct:uint = timer.currentCount;
    switch (ct) {}
    case 0:break;
    case 1:
    img1 = lwyData0;
    nPic = lkeData1; break;

    case 2:
    img1 = lkeData1;
    nPic = dckData2; break;

    case 3:
    img1 = dckData2;
    nPic = ctyData3; break;

    case 4:
    img1 = ctyData3;
    nPic = lwyData0; Timer.Reset (); Timer.Start (); break;

    by default:
    img1 = lwyData0;
    nPic = lkeData1; break;
    }
    tempFDataX.copyPixels (img1, fRect, focus()) new;
    var: matrix new matrix());
    var fData2:BitmapData = new BitmapData (fW, fH);
    fData2.draw (tempFDataX, matrix, null, null, fRect, true);
    var flag: Bitmap = new Bitmap (fData2);
    addChild (flag);
    var found: Boolean = new Boolean();
    flagBmp.blendMode = BlendMode.HARDLIGHT;
    flagBmp.alpha =. 3;

    stage.addEventListener (Event.ENTER_FRAME, wind);

    rippleSz = 160;
    var rippleSz2:Number = 160;
    var offset0:Point = new Point (0,0);
    ScaleX = 50;
    ScaleY = 100;

    function wind(event:Event):void {}
    offset0.y-=. 5;
    offset0.x-= 5;
    rippleSz2-= 1;

    noise: if (rippleSz2 > 100) {}
    fData.perlinNoise(rippleSz2,rippleSz,oct,1,true,true,5,false,[offset0]);
    var replaceData:DisplacementMapFilter = new DisplacementMapFilter(fData,xyPnt,chX,chY,scalex,scaley,dmode,color,dalpha);
    var replaceDataAry:Array = new Array (ReplaceData());
    Flag.filters = replaceDataAry;
    Flag.Smoothing = true;
    break noise;
    }
    else {}
    scloop: if ((scalex < = 50) & & (scaley < = 100) & & (found == false)) {}
    If ((scalex > = 0) & & (scaley > = 0)) {}
    offset0.y-=. 5;
    offset0.x-= 5;
    rippleSz2 +=. 5;
    ScaleX-= 1;
    ScaleY = 2;
    fData.perlinNoise(rippleSz2,rippleSz,oct,1,true,true,5,false,[offset0]);
    var replaceData2:DisplacementMapFilter = new DisplacementMapFilter(fData,xyPnt,chX,chY,scalex,scaley,dmode,color,dalpha);
    var replaceDataAry2:Array = new Array (replaceData2);
    Flag.filters = replaceDataAry2;
    Flag.Smoothing = true;
    flag.fillRect (flag.rect, 0);
    break scloop;
    }
    else {}
    trace (CT);
    var StageObj:Stage = stage;
    loop: for each {(ix:uint var in ary)
    var newBmd:BitmapData = new BitmapData (pW, fH);
    newBmd.copyPixels (nPic, new Rectangle (0,0,pW,fH), xyPnt, null, null, false);
    var pix: Bitmap = new Bitmap (newBmd);
    PIX.x = 0;
    PIX.Alpha =. 1;
    var newMC:MovieClip = new MovieClip();
    stage.addChild (newMC);
    newMC.x = 0;
    newMC.alpha =. 1;
    newMC.addChild (pix);

    var newBmd2:BitmapData = new BitmapData (pW, fH);
    newBmd2.copyPixels (nPic, new Rectangle (302,0,pW,fH), xyPnt, null, null, false);
    var pix2:Bitmap = new Bitmap (newBmd2);
    Pix2.x = 0;
    PIX.Alpha =. 1;
    var newMC2:MovieClip = new MovieClip();
    stage.addChild (newMC2);
    newMC2.x = 301;
    newMC2.alpha =. 1;
    newMC2.addChild (pix2);

    var twTimer:Timer = new Timer (2000,44); ARY.length is 45
    twTimer.addEventListener (TimerEvent.TIMER, doTween);
    twTimer.start ();

    var twn:Tween = new Tween(newMC,"alpha",Strong.easeIn,.1,1,1.5,true);
    TWN. Stop();
    setTimeout (twn.start, 1000);
    var twn2:Tween = new Tween(newMC,"alpha",Strong.easeIn,.1,1,1.5,true);
    twn2. Stop();
    setTimeout (twn2.start, 3000);

    / * If (newMC2.alpha == 1) {}
    found = true;//stage.removeChildAt(0);stage.removeChild(flag);ary.splice(0);
    break loop;
    break scloop;
    break noise;
    flag.fillRect (flag.rect, 0);
    } //END if
    } //END loop * /.

    Tween = new Tween (newMC, "y", Strong.easeOut,-214, 0, 1.5, true);
    } Else //END
    } //END if
    } Else //END
    } //END wind
    } //END vPic

    OR we know math to move each pixel, so that the waves of the whole image as a flag, without perllinnoise, so that I can start and stop the ripple when you want.

    Set flag.filters to an array of length zero.

  • Use of Squiggly for pun

    Hello

    I wonder if I can use Squiggly game in one word, I would build to validate the words based on a dictionary once they have been created by the end user... Is this possible? I intend to create the game entirely in flash, that I have not moved to Flex as of yet, but it will be 100% AS3...

    The other issue I have is that I can plug in a french dictionary as it comes to the language requirements for the game?

    Thank you very much in advance for your help!

    Martin

    Hello

    Wow! It's really a different use of scribbling...

    Squiggly provides the spellchecker and SpellingService the Classes that provide an API "checkWord". This API returns Boolean true/false whether if the word is correct/incorrect. For more information on how to use them, please refer to the Squiggly v0.5 AsDocs and notes.

    I'm not aware of your game design but here to emphasize that Squiggly dictionary contains a few proper names and also all forms of a Word. For example it contains apple and apples. All this can be important when you design your game.

    Squiggly is an AS3 library and can be added in the Action Script code.

    That of Squiggly v0.5 french (fr_FR) is not taken over but we are working on that and you can soon spell french with Squiggly.

    Hope it will be useful. Good luck with the game.

    Thank you

    Matthis

  • Plug into the dictionary

    Hi all

    I wonder if it is possible to connect somehow a dictionary in flash which can be used to check the words in a word game creation, I would like to create...

    Seems perfectly possible but I just don't know where to start to find it... are those out there that are easily available? (free preferably)

    Thanks in advance

    Martin

    Flex is created on top of the AS3. Flex has its own compiler, but it doesn't say we can't use it with other compilers like IDE Flash.

    Squigly's just a bunch of swc - you can point to them in Flash AS3 library use. When you download - you will see that there are examples for Flash.

    Any text file can be used by Flash - it is enough to analyze. The extensions do not matter. I'm not even sure that you must convert to XML for XML will be too big. Simple text file may be best for the task. I see that the file sizes are approximately 700 KB - if convert you them to XML - they will grow.

    in any case I'm not sure what you're having trouble. Theoretically, it is not difficult to read the text file and compare the entries of the user with it, especially with regular expressions.

  • I have a preloader WORKING, but still to see THREE POINTS of CS5 preloader.

    Hello everyone, maybe someone can lend a hand.

    I coded a preloader as I do in CS4 and it works like a charm, only ONE PROBLEM, it's with my preloader, I see the usual "• • •" (preloader three points) when I run it in CS5.

    No idea how can I turn this off?

    Thanks in advance!

    Click on file/publish settings, flash, as3, library settings and select the merge in the code for your default link.  You can learn more about the tlf and what that means, however.   in the adobe help files, see:

    Publish SWF files with TLF text

Maybe you are looking for

  • Favorites missing username

    I upgraded to Yosemite a few months to get used to it.  I had to open a new finder window and click on my user name in the bookmarks bar (username being the route to almost everything I use really; the rest is by default, except for a strange couple

  • Is it possible to install a new processor for a C50D-A Satellite?

    [Computer file | http://www.mytoshiba.com.au/products/computers/satellite/c50/pscfwa-03j00k/specifications]I'm looking to see if someone can help me to know if it is possible to change the processor in my laptop, and that the limitations it could be

  • Satellite A200 AH3 - where can I find the drivers?

    Hey guys,. I need help to find the right drivers for my Satellite A200 AH3. I reinstalled my Windows and now I can not find any drivers. Could you help me find:-ethernet controller driver-mass storage controller driver-device modem on high definition

  • How to set the sequence/SequenceFile leave without a control TS?

    We want to make sure that the user is not running an incorrect sequence.  How can I pass the path of the movie file to TS of the IO without using the drop-down list Teststand?  What sequence control?  Can I just ignore/hide this one too? Thank you!

  • Loss of volume in the packard bell note

    Original title: ive a packard bell note and somehow lost my volumn absolutely nothing in accessories or property? My question as above hope someone out there can help and advise me, it has been installed do not know what I did?