SWF and Webworks blackBerry

Hello

I am trying to add a swf file at my request of Webworks, but I try to compile the .bar file the swf is not packaged with the folder bar. I need to set some function to activate the SWF with my webworks applications? Here's the code I m using to add the swf file







Any ideas? How to make this run/load this swf file?

Hello asadrehman.

I think that flash is supported only in Playbook, not in smartphones.

I would like to be able to add the flash content in a Webwork application for smartphones, that'd be great.

I'm sorry.

Kind regards

Tags: BlackBerry Developers

Similar Questions

  • Webworks Blackberry application does not not remote page on Simulator

    My application Blackberry Webworks a problem opening a remote page when testing it in a Blackberry Simulator (I tried Verizon 9630, 9700-ATT, 9860-Asia). Whenever I try to open a remote page in my application webworks, the application crashes, and after a while, I get a white screen with the error error 104 Eception App: InterruptedIOException and when I click on continue a dialog message box comes up with the message Local connection timed out after ~ 120000. If I open this URL in the browser of the Simulator, it opens right away. What I don't know, this is why it does not open in the webworks app.

    Now the funny part is, if I load the same webworks app in my blackberry device, it works perfectly. It opens the remote page immediately. I don't know why its not working in a simulator.

    I have the config.xml file properly configured with the remote url defined in the element of access:

    http://sample-remote-server.com/" subdomains="true" />
    

    I will be very happy if someone can spare their time to help me.

    Thanks in advance.

    bigjavajoe wrote:

    Do not know if I did... I just open the Simulator and load my webworks app.

    How to make the MDS?

    If you are using eclipse, see this thread:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/cannot-connect-to-Internet/TD-p/...

    But if you don't use eclipse or just command-line bbwp, try to find the mds file in your path of Blackberry Webworks (usually in \Program Files\Research in Motion\BlackBerry Widget Packager\mds),

    After searching for the folder, find the run.bat file, then run it.

  • Firefox should display files .swf and .flv without Adobe. You can do it can't you?

    If the "Media Player Classic" program can read files .swf and .flv, programmers probably Firefox can do for those that did for .pdf files. PLEASE, I BEG YOU!

    Hello, mozilla is indeed working on it, but it is not an easy task...

    https://blog.Mozilla.org/research/2012/11/12/introducing-the-Shumway-open-SWF-runtime-project/

  • Firewall and the blackberry application incompatible behavior

    I have problems with the deployed application and the blackberry firewall.

    The application uses any no API 'secured '.

    On the BlackBerry, this app generates a warning whenever it attempts to open a connection file and whenever it opens a web connection.

    However, we noticed that when we ACTIVATE the blackberry on the device firewall, gain of warning messages a checkbox to permenantly overlook the warnings.

    We decided to deploy the application as well as instructions on the activation of the firewall.

    Here comes inconsistency. Some users report that they see absolutely no problems while others say that the firewall is shaken other applications on their devices. Finally, some users are telling us, the application does not launch. Nothing... size of firewall configuration.

    It is deployed on blackberry:

    various models of curve

    tour

    Storm 1 & 2

    various models of pearls

    I found no good documentation on the blackberry firewall, API permissions, or warning messages that my application get boring.

    The application is not signed.

    I don't want to pay for the signing key, unless them are guaranteed to solve problems.

    Signature of the request will eliminate the constant harranging.

    You should get a single guest with "do not ask me this again" checkbox.

  • Questions on POP/IMAP and BIS blackBerry Smartphones

    Hi all

    I have a few questions about defining a blackberry to check your e-mail via BIS.

    1. What is the reasoning behind the creation of blackberry account sometimes POP3 and IMAP the other times? For me, POP3 would be something that you're not on a cell phone.

    2. Why is there no option to choose if you want POP3 or IMAP? I tried to delete the account and add it with an incorrect email address and password in order to get some additional questions during the installation but it does not require if I want POP3 or IMAP.

    3. Because POP3 seems to be an option, is it the same as any other POP3 client for example. Outlook, Thunderbird? What I mean it deletes messages from the server after it downloads? I don't want our users, that have POP3 because their Protocol on blackberry to have their blackberry is the only place where they can get their e-mail.

    A few notes on some of the users and the BlackBerry models they have.

    All users (as far as I know, there are some office users) have Verizon as their company.

    It seems to me the question of POP/IMAP, I do experience is not limited to a single type of model. I have a few users who have the storm, their account has been set up using IMAP, other storm users have been set up as IMAP. I myself have a curve (8330) Mine was installed as IMAP, I recently install an another 8330 users and them was configured as POP3. Another user has a Perl and is IMAP. A user has a global publishing and that is using pop. It seems to me that there is no reason why they choose POP or IMAP.

    Thank you all in advance for your help.

    Eric

    Hello! I'll try to answer some of this...

    1. What is the reasoning behind the creation of blackberry account sometimes POP3 and IMAP the other times? For me, POP3 would be something that you're not on a cell phone.

    ... In my humble OPINION the "reasoning" is pure flexibility – to allow a user to access each account type and thus better reflect what they can do on their computer. What about 'if' POP should or should not be on a cell phone, which falls in the pure opinion.

    2. Why is there no option to choose if you want POP3 or IMAP? I tried to delete the account and add it with an incorrect email address and password in order to get some additional questions during the installation but it does not require if I want POP3 or IMAP.

    The selection would be a chosen mail server function. Most of the facilities I've seen who have both have separate servers for POP and IMAP for exactly this reason. In addition, some services (GMail comes to mind) allow the user to enable or disable one or both. Instructions for configuring (and be able to direct them to an e-mail specific and, therefore, either POP or IMAP server) are here:

    http://www.BlackBerry.com/BTSC/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB10154&SLIC...

    3. Because POP3 seems to be an option, is it the same as any other POP3 client for example. Outlook, Thunderbird? What I mean it deletes messages from the server after it downloads? I don't want our users, that have POP3 because their Protocol on blackberry to have their blackberry is the only place where they can get their e-mail.

    Non - Default BIS leaves a copy on the e-mail server for both types of integration. If, however, they remove on the BB and have enabled OTA synchronization and are integrated into a consistent account, it will remove from the server. Check this list for how it integrates with different services:

    http://www.BlackBerry.com/BTSC/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB05133&SLIC...

    I hope that this information will help you get at least a step forward for the problems you're having with your users.

  • the .swf and .html files does not work while the .fla file works great

    Hi I'm new to actionscript, and I have a question. The fla file works perfectly and runs the timer function and reads the xml file to create an RSS feed, but when I publish and choose HTML wrapper and then choose 14 Flash swf and html file load the photos and the text field but isn't something else please help.

    Thanks in advance.

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    import flash.text.TextField;

    import flash.text. *;

    import flash.utils.Timer;

    import flash.events.TimerEvent;

    var RSSLoader:URLLoader = new URLLoader();

    var RSSURL:URLRequest = new URLRequest ("http://sports.yahoo.com/soccer//rss.xml");

    RSSLoader.addEventListener (Event.COMPLETE, RSSLoaded);

    RSSLoader.load (RSSURL);

    var RSSXML:XML = new XML();

    RSSXML.ignoreWhitespace = true;

    var title: TextField;

    var desc:TextField;

    var allText:TextField;

    title = new TextField();

    allText = new TextField();

    var i: int;

    function RSSLoaded(e:Event):void {}

    trace ("xml load file here");

    RSSXML = XML (RSSLoader.data);

    for {(var selectedItems:String in RSSXML.channel.item)

    title. Text = (RSSXML.channel.item [selectedItems] .title + "/");

    title.wordWrap = true;

    tfLog.text += title.text;

    tfLog.wordWrap = true;

    trace (title. (Text);

    }

    }

    var t:Timer = new Timer (200);

    t.addEventListener)

    TimerEvent.TIMER,

    function(EV:TimerEvent): void

    {

    tfLog.text tfLog.text.substr = (1) + tfLog.text.charAt (0);

    }

    );

    t.Start ();

    var picTimer:Timer = new Timer (2000);

    picTimer.start ();

    picTimer.addEventListener (TimerEvent.TIMER, timehandler);

    function timehandler(event:TimerEvent):void {}

    setChildIndex (getChildAt (7), 0);

    }

    A way around that is to have a PHP file on your server that reads the XML feed and your swf reads the data from the PHP file rather than directly from the external domain.

  • Loading multiple SWFs and saving them (code works is not under Chrome and Firefox 23)

    Hey guys,.

    Anyone has an idea why this suddenly does not work? (It works under internet explore but not firefox and chrome)

    The code below is placed on my main swf to preload all my external swf and store them for not having to wait too long to get there.

    Thank you guys.

    I took the code by btw: http://www.beautifycode.com/the-finer-art-of-loading-2-handling-multiple-swfs#snippet

    I am running flash player 11.8.800.94... He used to work under Firefox and Chrome


    var _swfLoader:Loader;

    var _swfRequest:URLRequest;



    var _swfPathArr:Array = new Array)

    '00.swf', '01.swf', '02.swf'

    );



    var _swfClipsArr:Array = new Array();

    var _swfTempClip:MovieClip;

    var _loadedSWFs:int;



    startLoading (_swfPathArr);



    function startLoading(pathArr:Array):void {}

    _swfLoader = new Loader();

    _swfRequest = new URLRequest();



    loadSWF(pathArr[1]);

    };



    function loadSWF(path:String):void {}

    setupListeners (_swfLoader.contentLoaderInfo);



    _swfRequest.URL = path;

    _swfLoader.load (_swfRequest);

    };



    function setupListeners(dispatcher:IEventDispatcher):void {}

    dispatcher.addEventListener (Event.COMPLETE, onSwfComplete);

    };



    function onSwfComplete(event:Event):void {}

    event.target.removeEventListener (Event.COMPLETE, onSwfComplete);



    _swfTempClip = event.target.content;

    _swfTempClip.customID = _loadedSWFs;

    _swfClipsArr.push (_swfTempClip);



    If (_loadedSWFs < _swfPathArr.length - 1) {}

    _loadedSWFs ++;

    loadSWF (_swfPathArr [_loadedSWFs]);

    } else {}



    //

    }

    };

    I have no problem with ff and I don't see any problem in chrome.

    You probably have a typo in if:

    loadSWF(pathArr[1]);

    should be

    loadSWF(pathArr[0]);

  • Load external .swf and button top

    Hello!

    I have a problem here! I want to load a file (created from inDesign) external .swf and then on load a button at home (a small image that I created with the name "home_btn"), which refers to my home page to say frame 90

    Any help it would be greatly appreciated,

    Frank

    I founded by myself, I just create a clip of this button and this is my code in case anyone has the same problem...

    import flash.events.MouseEvent;

    import flash.display.Loader;

    import flash.net.URLRequest;

    var loader: Loader = new Loader();

    Loader.Load (new URLRequest ("MyInDesignSwf.swf"));

    addChild (loader);

    addChild (home_front);

    home_front.addEventListener (MouseEvent.Click, playClickedExit)

    Stop();

    function playClickedExit(event:MouseEvent):void

    {

    removeChild (loader);

    gotoAndPlay (90);

    }

  • Problem with the publication of a swf and html in CS5 file

    Hey, I'm a newbee in flash. I use Flsh cs5. I created a simple .fla file. But when I publish, .swf and .html file are not created in the folder.

    And when I test the movie (control-> test movie), it does not open any window to display the flash.

    Help, please.

    Click on file/publish/formats settings, make sure that the swf and html boxes are selected, and click the button use default namespace.  then click on file/publish.  are the files in your directory with your fla?

    Otherwise, create a new directory (which has no subdirectory), save your fla to this new directory using a new name (it is, click File/Save as).  then click on file/publish.  see the new directory for your 3 files.

  • How to use the swf and pictures as a hypertext link to specific slides when you click

    How to use swf and images as a link hypertext to specific slides when clicked.i average as a buttons.

    Hello

    The key is that you can not!

    What you * CAN * do, however, is to create the illusion that they establish between these objects. What you do is use a box click object which has been placed on top or in front of the Image or SWF file.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Why several versions of swf and which one to use?

    First of all, thank you for your wisdom and your experience of sharing. I learned so much from browsing your qustions and answers.

    I completed the review of all the different threads associated with several full motion.swfs created by publishing a .cp as swf file. I am absolutely amazed that the process is so difficult. Honestly, the help doc made it sound like "just insert the file swf and go! No mention of this mess.

    If I would have known I would not have recommended the purchase. But, here it is, then what are you doing?

    My issues desperate, outside of what am I doing wrong, are 1) outside the copy of all FM, sovereign wealth funds in the folder data\resources (not an option) is possible to consolidate all SWFs in a single swf file?

    Desperately yours.

    Rob

    LOL, I think you're just overthinking it.

    When you publish the temporary folder it created SWF, right?

    Thus, on the empty slides, you just need to click on them to open them in the editor of Captivate.

    Then click on Insert > Animation and head toward them.

    See you soon... Rick

    Useful and practical links

  • Pls see SWF and help with Actionscript

    I'm trying to get my nails of the thumb (which is the individual buttons) to display in the box to the right when you click on it, but I don't know the code to put on the buttons for that to happen. Can someone help me please.

    http://www.geocities.com/demetriusmcclain/

    Here are your files in this way, they should be programmed. There is a minor change in your file main eoa.fla (with the path to elephants.swf) and major changes to elephant.fla:

    www.geocities.com/kglad99/eoArts.zip

  • Is taken in charge LocalStorage in smartphone WebWorks BlackBerry 6 and 7?

    on BlackBerry WebWorks® API Reference only is available for PlayBook in platforms supportedhttp://www.blackberry.com/developers/docs/webworks/api/localStorage.html

    And I think that works well in BlackBerry 6 and 7

    Hi Josep,

    According to this document, it is supported 6.0 +. I pointed out the inconsistency on github here.

  • web deployment and webworks file .bar failure of playbook simulator

    Hi web / forum webworks

    I just went through the tutorial Hello World js webworks. A few think to note, I'm using linux, so I'm not really using ripple, his failure as a wildfire for me here. Wine does not help.

    I was able to build my program using a port of linux to webworks and generate what appears to be a file .bar valid. Now when to deploy blackberry launch I get this result:

    installApp-password 'mypassword' - device 192.168.49.128 - package comp/device/helloworld.bar

    Info: Send request: install
    Info: Action: install
    Info: File size: 412096
    Info: installation...
    Info: Treatment 412096 bytes
    actual_dname:
    actual_id:
    actual_version:
    result::failure 533 system request - requires: forbidden version, want (10, 0, 0, 4) have (2, 1, 0, 1032)

    I don't know what is 533 failure, it seems to be related to the version of the system, but since I built it based on the webworks js it should work on all devices right?

    Help, please.

    maniac31

    Thanks a lot for your help. Once, I knew that this was the problem I was able to google my way around and fix it.

    Many users of linux could have similar questions, then here is a good resource for ripple working on chrome.

    http://johnreid.it/2012/06/23/get-ripple-to-work-in-Linux/

    There are slight typo under the heading "Run Ripple"

    He wrote: cd ~/ripple/services/node noeud./node_modules/rbd/app.js 9910

    But it should be: cd ~/ripple/services/node noeud./node_modules/rbd/app.js-demarrer 9910

    Happy to develop for bb on linux

  • Gaps in WebWorks BlackBerry 10 SDK

    I found that some parts of the SDK WebwWorks BB10 lack comparing to PlayBook for example.

    The biggest problem at the moment for me is the lack of method blackberry.payment. Whithout it I can't monetize my app freemium.

    I also need blackberry.media.camera.takePicture, who is also absent.

    In blackberry object all alone, I found:

    BlackBerry.app

    BlackBerry.Event

    BlackBerry.notofication

    It will change in the future or this features are abandoned SDK WebWorks?

    Thanks for the comments.

    Payment is certainly important and focus on right now.  We want to get just before publishing, then your patience is requested.  It will get there in good time.

    Note: for functions 'disappeared' BlackBerry object you need to whitelist any API function that your application will use.  For a complete list of BlackBerry WebWorks APIs, see this reference guide (filtered by BB10):

    https://developer.BlackBerry.com/HTML5/APIs/bb10_index.html

    As others have said, getUserMedia is now the HTML5 standard that we follow for camera support.  The blackberry.media API exists only because the standard was not defined/supported at that time there.

    For a code example showing how to use getUserMedia - see this page:

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/avatar-booth

Maybe you are looking for