.swf continues to play (Dev Alpha)

Hey guys,.

I am a web developer and this is my first Blackberry + AIR experiment.

I used to implement the .swf into an html file and compile it by webworks, but I discovered that there is another way using the AIR SDK.

So, I followed the guides online, downloaded the SDK and created 2 .xml files.

Then I put my .swf in the folder of my project as well.

Then, I used the GraphicalAid to generate the .bar file.

During installation I got ' the result::failure 881 application author does not debug author token "which is not the case. However I just sign and then test it in my Dev Alpha camera.

Here is the new issue:

The .swf appears as it should, but he continues to play and repeat so as there is no stop() in my actionscript.

This does not happen in Chrome and it is not yet using the WebWorks method and the older generation of Blackberry 10.

Maybe there is something wrong with my xml? Here are the parts of my project.xml:

  1. Game.swf
  2. GPU
  3. fake
  4. true
  5. true
  6. fake
  7. fake
  8. fake
  9. standard
  10. fake

Help me please guys, I don't know what to do.

Best regards

Flo

Yes, it works only for AS3. I'll look into if this is the expected behavior.

Tags: BlackBerry Developers

Similar Questions

  • Video HTML5 don't play online on Dev Alpha after update to 10.9.9.339

    Dev Alpha used to play HTML5 videos inline (similar to the PlayBook), which has helped some cool design if you were paying attention.

    After the update to 10.9.9.339 videos are no longer play online (the device trying to play their full-screen and displays the video controls even if it has not been specified according to the HTML5 specification), and the layout is broken.

    I wasn't able to find a way to force videos to play online as before, nobody knows how to do this on a device BB10?

    Here is a simple example of HTML code:


      

    Grateful for your help!

    Check out this thread:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/HTML5-video-issue/m-p/2085959/hi...

  • his continued to play after the closure of swf

    I'll build a web site that uses of the SWF in the form of pages. The menu.swf has 5 buttons, one for each page. When I press a button, it loads a page with addChildAt (page, 0); so that the menu is always one level above the page currently loaded. When one of the pages open it plays an mp3 in a loop. Music continues to play when loading another page. Page who played music was also at level 0, so let's go, but music continues to play. How can I do for the music stops when loading the page another?

    I tried to communicate to the SoundChannel object in the child swf file no luck there, I was able to unload the swf child parent with the two loader.unload (); and this.removeChildAt (0); but I have always the same, that just music continues to play.

  • Y at - it a codec that will allow swf files to play in WMP?

    original title: reading of SWFs in Windows Media Player

    Y at - it a codec that will allow swf files to play in WMP?

    When you try to play your local .swf files in Windows Media Player, you probably will be greeted with a message saying that your Internet Explorer security settings do not allow this type of file to open (ActiveX control). This is due to the fact that Windows Media Player uses its own security Internet Explorer security settings. Therefore, these .swf files will play in Internet Explorer; the reason being that the Protected Mode is DISABLED when a local disk file is opened. But Windows Media Player makes no such concession, all ActiveX controls are not allowed.

    The problem arises in the Lockdown of the area feature Local computer. Windows Media Player must load the control of Flash Player to play the SWF file. But this lock prevents the automatic loading of the Flash Player control (remember, all orders are considered dangerous in WMP)!

    However, do not despair. This problem can be easily solved by a simple change in the registry. There are two ways you could do it - choose the one that you feel most comfortable with.

    Method 1 - automatic registry change (use if you have never used before registry editor):
    -------------------------------------------------------------------------------------------------

    Open a new Notepad document. Copy and paste the following two lines of text to the blank document...

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\0]
    "1200" = DWORD: 00000000

    Save the document as "wmp_swf.reg" (the .reg extension sets the file as a registration entry). Save it in a directory of your choice. This could be the office or in your Documents folder. Close the Notepad window.

    Now, navigate to the file to the location where you saved it just. Right-click on the file and choose "Merge" in the menu. Windows may ask permission to continue, click 'Continue' or 'OK '. That's all! Windows Media Player will now play all your local .swf files without complaining.

    Method 2 - manual registry editing (for the more experienced users of the registry editor):
    ----------------------------------------------------------------------------------

    Open the Registry Editor (IE run "regedit.exe" and give Windows permission to continue).

    Browse your way to the next folder...

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\0

    In this folder '0' (zero), look for the entry "1200 REG_DWORD 0 x 00000003 (3)" in the display pane.

    Right-click on the '1200' and choose 'change... '. ». Change the value to highlight '3' to '0 '. Press OK. The entry is now shown as "1200 REG_DWORD 0x00000000 (0)» Close the registry editor.

    This simple procedure to now Windows Media Player read the local .swf files.

    Now you have finished this fix, it may be useful to change the opening program by default for your .swf to Windows Media Player files. I find it more convenient than playing them through Internet Explorer.

  • BB10 dev alpha - stuck in Configuration - does not load the license agreement (r2320)

    I successfully upgraded Dev Alpha A 10.0.09.2320 with automatic charger.

    Device, rebooted, installed new drivers, etc etc, all the other things worked well, BUT

    The device is unable to complete the installation, because it gets stuck on the license agreement page.

    I am connected to wifi. The wifi works. It's worked before. It won't let me even to select a country, it shows an error that the network does not, repels me a page, and I have to disconnect / reconnect to wifi before it allows me to 'sweep left to continue' again.

    Any suggestions?

    I managed to make it work by (sigh) with the help of roaming data connection (after restart). Now it is stuck on the screen of a software update. He has rightly "Software Update" and nothing else on the screen. The Act of working is the Emergency call.

    Update: after another reboot, after you turn off roaming data once again, it gave me an option to start or turn off the phone, but it says something about "blackberry infrastructure? Does this mean that it will work only with BlackBerry Internet Service in the future?

    Edit: so bad, yet another restart that he lets me actually left-scan-ignore the update of the screen without anything do. Sorry for the false alarm, I'll leave it here for anyone to find.

  • BlackBerry Dev Alpha insists the point on the Bluetooth connection mode.

    Hello.

    I tried several times updated BlackBerry Dev Alpha to the new firmware with the instructions on the website to update. Make sure that all the steps I did. I have tried but no luck. Desktop software did not update. I tried the troubleshooting, but I couldn't find any chance to try several times and it get messages that he has made available.

    I clicked on update and repair. When you click Repair, no fading, rather office continue to find the update software and finally sometimes found. When it concluded, Office Automation application password for the bluetooth connection (I'm sure bluetooth was disabled on device and my laptop) and it continued just as the device was only pretending to be connected with bluetooth. Then it starts to download. But even once, it never ends.

    I already have:

    > Remove the registry as indicated

    > set the USB for windows

    > enable development mode

    > set file sharing on

    > run the troubleshooting steps.

    No luck, I found . Everyone knows the same symptom?

    Yes of course. My Dev Alpha is updated at the moment. Even though she insisted update on Bluetooth connection mode, when install just re - check again if the connection is available and I just reconnect the device to continue the installation.

  • BBui.js sample application on Dev Alpha

    I play with the BBui.js sample application (demo application with all the commands in a menu list) on a Dev Alpha device.

    For some reason, the controls do not meet the touch events correctly. It is clear that the contact is detected because a border appears around the list menuitem when pressed on the issue, but even now the item for several seconds does not usually result in an action.

    The strange thing is that on a few occasions, the item is highlighted to block and then respond to touch and open the corresponding page. But rarely worked, and every time, I can't work what is different.

    Any ideas on why this may not work on the Alpha of Dev, I? Has anyone else had problems of tactility with their apps or samples of the RIM? Or is there a way to adjust the sensitivity on the Dev Alpha?

    It has to do with the resolution of the screen of the alpha of dev, it blends right now with bbUI thinking that a faucet is actually a key and drag.

    I can't find the post where Tim Neil gives a good description of what is happening, but I know he's aware of him and try to sort it out.

  • the Proportions in Dev Alpha bbUI.js

    Yesterday I received my Dev Alpha in the Sao Paulo BlackBerry Jam and like everyone I play with it today, mainly to carry my apps for it. I tried to compile my app bbUI.js/WebWorks using 10 BB and PlayBook SDK but I couldn't get my app is displayed correctly on my Dev Alpha, it is absolutely out of proportion.

    Here is a picture of the problem:

    Any ideas on how to solve this problem?

    PS: This works perfectly on the PlayBook and the ripple.

    I looked at the example app source code bbUI.js (which correctly displayed on the Alpha of Dev) and I noticed that the viewport meta tag is a little different than my. My was like this:

    
    

    I noticed that the bbUI.js there a device-density setting. I added it and the app is now display correctly. Here is the right one for your applications:

    
    
  • BBM on BB10 Dev alpha B problem

    Hey guys.

    I'm pretty new to this Blackberry thing (got my Dev Alpha on a Jam Session, it was great), this is my first Blackberry device (frankly, I don't like Blackberry pre-10) and I tried to integrate my BBM app, but I have not been able to access all the BBM. I tried re-flashing the unit and using a different BBID unsuccessfully, BBM opens with a "Temporary server error" screen, and the only option I get is to exit the application.

    Friends (who also have been on the Jam session and got their devices) tell me they didn't need anything else that WiFi for that BBM works, so I was really puzzled. If I have in some way did do something wrong?, Blackberry icon is displayed next to the WiFi, is it not enough for BBM work on the Dev Alpha?

    Thanks in advance.

    This problem has been resolved.  You may need to reset your BlackBerry 10 Dev Alpha if you continue to receive this error.

  • App gets paused / frozen just after start in gpu mode (audio continues to play)

    Hello
    You just bought a playbook!

    I have an existing Air application on android and iOS, I am now test it on playbook.

    With the rendering of the cpu, its normal, however when I put gpu in the descriptor of the app, the application stops all headphones rendering and the event just after starting the application, audio continues to play and the debugger remains connected.

    I am new on the playbook, I see there are power saving mode, maybe something is asleep?

    I tried:

    QNXApplication.qnxApplication.addEventListener(QNXSystemEvent.STANDBY, qnxStandby)
    
    internal function qnxStandby(e:QNXSystemEvent):void {
            trace("sent into standby ----------------------------------");
    }
    

    but nothing is ever attributed...

    The app works well on older iphones and android phones, I can't imagine I'm overloading the gpu.

    I use flash builder 4.6 and that's how I am structured:

    Pseudocode

    -addChild (loadingImage.png);

    -load game.swf

    -the addchild (game.swf) full,.

    -removeChild (loading image)

    When I load the main file game.swf, how it works, I get a few tracks, I can see it, but it's when he stops just of all activities and traces except audio.

    the swf so good, I can load this way using the cpu on the ok of the playbook, and I can load this way on android in cpu or gpu mode.

    Any help is really appreciated, thank you!

    -nick

    The problem was caused by the stage.quality example layout: stage.quality = StageQuality.LOW; This caused a freeze more often on the playbook. Being new the the playbook, when I read about the power API mode I thought what was related, but no, it was just a blocking of the application, where the debugger and audio arrives to stay connected and reading. hope this helps someone else.

  • Audio dev Alpha C Cup using OpenAL

    Hello

    I have some problem with the audio on my device Dev Alpha C and I was wondering if anyone else has had or similar problems or that he might be able to offer a solution.

    The problem

    When you run our game on a device Dev Alpha C, after a short period the sound effects cut. After that no sound effects are played once again, apart from very occasional snippets of sounds, as the device is trying to play them but quickly to cut again.

    The strange thing is that the same code works fine on the Alpha of A Dev.

    Implementation

    The sound effects are implemented using OpenAL and OpenALUT.  Our music is played using the multimedia rendering engine (and works very well).  I checked for errors from OpenAL, but it is not everything.

    Our installation of OpenAL is quite simple and in fact is the following (note that I cut an error handling form all my code samples for brevity):

    if(alutInitWithoutContext(NULL, NULL))
    {
        device = alcOpenDevice(NULL);
        if(device != NULL)
        {
            context = alcCreateContext(device, 0);
            if(context != NULL)
            {
                alcMakeContextCurrent(context);
                alGenBuffers(MAX_SOUND_BUFFERS, buffers);
                alGenSources(MAX_SOUND_CHANNELS, sources);
            }
        }
    }
    

    Sounds are then loaded by:

    void *data=alutLoadMemoryFromFile(filepath.c_str(), &format, &size, &freq);
    alBufferData(buffers[bufferIndex], format, data, size, freq);
    

    (There are some parameters of sound parameters that I haven't posted because I don't think that is where the error but I can add it if it could be relevant to reprogramming).

    Finally the sounds are played using

    alSourcePlay(sourceNum);
    

    I use SDK 10.1.0.1020 and Dev Alpha C is on the firmware 10.1.0.138.

    If anyone has any suggestions, they would be welcome!

    On the problem of origin, was published a new firmware which seems to fix the problem. You can find it here: https://developer.blackberry.com/blackberry10devalpha/devalpha_update.html.  I tested it on our Dev C Alpha and it seems to work very well - I'm always test so will update if I have problems, but it seems OK so far.

    @beemaster - you might want to consider posting this question as a separate topic, as there is a good chance of people won't find it in this thread.  For what it's worth, we use MP3s in our game very well, even if we don't use of stunts and use the multimedia rendering engine to play, which could explain the observed differences.

  • Strange behavior of audio subsystem after update Dev Alpha 10 to 10.0.9.388

    Hello world!

    Has anyone noticed a strange behavior of the behavior of 10.0.9.388 audio subsystem firmware. Recently, after firmware update Dev Alpha 10 to 10.0.9.388 subsystem audio misbehavies in the following way:

    (1) if the external headphones/speakers connected to the audio line-out looks to be preprocessed by low-pass filter and surround effect. The device reported by AudioManager is/dev/snd/pcmPrefferedp. Would it be a bug in formware and re-routing audio internal speaker to the line-out socket did not exclude specific pre-treatment?

    (2) on the previous firmwares if audio goes out of the internal speaker and then the helmet is connected to Jack line out change of itinerary was seemlesly happening and he kept playing with headphones without additional measures in the application. Now, peripheral audio is not consume audio samples and so crashes until it is closed and reopened.

    On the previous firmwares were not all the problems of this kind. Would be - what a few unlucky flashing firmware try (if it is still possible) or bug of 10.0.9.388.

    It will be good to hear comments & thoughts about these questions.

    Best regards

    Dmitry.

    I suggest to create two entries Issue Tracker: https://www.blackberry.com/jira

  • Text-to-speech audio continues to play for any other slide - but the current slide is suspended from the output

    Captivate 8.0.1.242 - Windows 7 64 bit - swf format.


    I have this weird error. I have the audio text to speech in my classes. I don't want the PlayBar of captivate. So I have buttons in the content to navigate forward. Each slide is hanging out and waiting for the user to click on the buttons navigate forward. My sound works for the first 2 slides text. Otherwise said, he plays as in the timeline and then stops. Waiting for the user to click on the button before you go to the next slide and the same routine. But after 2 blades, it will not stop. He continues to play the whole audio other slides in the whole cptx. But the current slide is suspended. So I hear everything supposed to be played for other slides, but all I see is a slide.


    When I click on the next slide, he begins to play the audio where it supposed to start for the current slide and plays again all other text in audio from the other slides. This is repeated again and again. Anyone have any idea why this is happening?

    Check the calendar for audio clips, increase the duration of the slide a little and make sure that there is a small space before and after the clip.

    Sorry wanted to add a screenshot, but this feature is currently disabled on this forum.

  • Continue to play after FLV download

    Hello world!!!

    I have an air project that every seconds reads a txt file. Depending on the contents of this file, it loads an external swf file (the contents of the file is changed to an external program periodically)

    Each external swf file gots a flvplayback2.5 within which charges and play a video flv (everthing done locally).

    The problem comes when the contents of the txt file changes and I have to unload the previous swf and load a new.

    Despite the new swf loades cheek while I can still hear the audio of the previous swf file plays in the background.

    For the project, I haven't used that one charger in which I load external swf files. Before loading another swf in there, I call the Loader.unload () but no luck.

    I thought that this method would also eliminate the loaded object, but the reference Adobe on the said unload() method:

    "Removes a child of the Loader object that was loaded by using the load() method.    The property of the associated LoaderInfo object is reset to null.     The child is not necessarily destroyed because other objects can have references to it; However, it is therefore more a child of the Loader object.

    As a best practice, before you unload a child SWF file, you must close explicitly any watercourse in the child SWF objects, such as LocalConnection, NetConnection and NetStream, Sound objects. Otherwise, audio in the child file SWF can continue to play, even if the child SWF file was unloaded. To close the stream in the child SWF file, add an event listener to the child who listens to the

    Unload event. When the parent callsLoader.unload (), the unload event is dispatched to the child. »

    It's ok, but another problem rises!

    I don't know how interal structure of the external swf file is, beacause the customer gave me only the compiled swf (I guess that there not a lot inside the swf, I think that only the control FLVPlayback instance, but if I don't know the name of the flvplayback I can't call any method stop on this subject).

    So you know any method to unload the swf file loaded, brutally destroying, regardless of where he's hiding himself in the dark and mysterious jungle of Flash Player?

    Thanks in advance!

    Load external video file

  • When you watch a video on youtube, if monitor blanks in order to save, when he took over, the video area is green (undiscounted) but the sound continues to play.

    Steps to follow:

    1. video play correctly on youtube
    2. because I am just watching and not press a key or move the mouse, the display will be blank after a few minutes of energy saving
    3. I move the mouse to wake it up
    4. the video area is green, while the sound continues to play
    5. If I change jobs, the area of the other task gets painted above the video area, it seems that are the video is never updated after suspends / wake

    Hello

    Some problems with Flash video playback can be resolved by disabling hardware acceleration in Flash Player settings. (See this article for more information on using the Flash plugin in Firefox).

    To turn off hardware acceleration in Flash Player:

    1. Go to the Adobe Flash Player help page.
    2. Right-click on the Flash Player logo on this page.
    3. Click settings on the shortcut menu. The Adobe Flash Player settings screen opens.
    4. Click the icon in the lower left of the Adobe Flash Player settings window to open the display panel.

    5. Remove the enable hardware accelerationcheck box.
    6. Click close to close the Adobe Flash Player settings window.
    7. Restart Firefox.

    This Flash Player help - display settings page contains more information about the Flash Player hardware acceleration, if you are interested.

    Does this solve the problem? Let us know.

Maybe you are looking for

  • Why is my empty recent projects?

    Since the upgrade to el capitan, logic pro x is no longer automatically opens the last song of early and recent projects folder is always empty - is - anyone know why? I have not changed my structure of folder or something like that

  • What is using my hard drive?

    I have an iMac with 500 GB of storage, and when I go on my Mac-> storage, it says that I have 358GB of "Other" and I have no idea what it is. About a year ago, I had about 200 GB of 'Other', and since then I downloaded barely any more things that mus

  • Recovery disks do not work with the new hard drive?

    Hello, everyone. I have a laptop HP (pavilion dv7-1245dx) and the hard drive is dead. I had never gotten to burn my recovery disks, so I ordered new ones from HP. When I installed the new hard drive and popped in the disk to reinstall the operating s

  • m9555sc freezes everything in the game.

    A week ago my computer started to freeze everything in play, forcing me to turn off the hardway. I am able to restart this right by then, but these days he came more and more frequently. The last two were a little different. Color suddenly changed fo

  • [Inspiron E1705/9400] [SigmaTel] No work of audio headphones,

    Hello I'm sorry for the numerous typos :) I have an Inspiron 9400 with audio card SigmaTel. Unfortunately, it does not work. Speakers are not violated, and when I use headphones (with headphones), I can hear sounds. Windows has been reinstalled and i