AIR 3.2 StageWebView complete event not working on iPad2
I have created a simple test app using Flash CS5.5 and air 3.2 to test the stageWebView functionality however I am having problems getting the Event.COMPLETE to fire. My website loads fine but the onComplete function is not being called.
Here is my code. I would appreciate if anyone can confirm if there is a bug or if there is a problem with my code.
import flash.media.StageWebView;
if (objApp == undefined) {
var objApp = new Object();
function displayWebsite(e:MouseEvent):void {
objApp.webView = new StageWebView();
objApp.webView.stage = this.stage;
objApp.webView.viewPort = new Rectangle(120, 120, 530, 710);
objApp.webView.addEventListener(Event.COMPLETE,onComplete);
objApp.webView.loadURL("http://www.mediakitchen.co.uk");
function onComplete(e:Event):void {
debugTxt.text = "WebPageLoaded";
function onError(e:ErrorEvent):void {
debugTxt.text =="Page is not available. Try reloading.";
function onChanging(e:LocationChangeEvent):void {
debugTxt.text =="Loading...";
This is still bugging me. Whilst the cut down example did indeed work, when I try this for a video, it does not work. In the following example, I can hear the video playing but I cannot see it. The onVideoLoadComplete function is not being called.
Any ideas why this would work when loading a website but not when loading a video. If I put the webView.stage = this.stage; where I have commented out, the video displays correctly however I need to display and remove things from my app once the video has completed loading. Is this a bug or am I missing something here? Perhaps there is no way to detect when a video has completed loading? I am packaging with Flash CS5.5 and AIR 3.2
import flash.geom.Rectangle;
import flash.media.StageWebView;
import flash.filesystem.File;
var webView:StageWebView = new StageWebView();
var path:String = new File(new File("app:/video.mp4").nativePath).url;
// webView.stage = this.stage;
webView = new StageWebView();
webView.viewPort = new Rectangle(100, 100, 400, 300);
webView.addEventListener(Event.COMPLETE,onVideoLoadComplete);
webView.loadURL(path);
function onVideoLoadComplete(e:Event):void {
debugTxt.text = "video load complete";
webView.stage = this.stage;
Similar Messages
-
i am new to mac air. Today i installed (unsuccessfully!) MAPLE16 on my mac book air. Now since it does not work properly (it also does not appear in applications) i decide to delete it. I could not remove it from launchpad . i need urgent help from your side.
Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
I never install system modifications myself, and I don't know how to uninstall them. You'll have to do your own research to find that information.
Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmyrmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button.
You generally have to reboot in order to complete an uninstallation.
If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
You may be advised by others to try to remove complex system modifications by hunting for files by name, or by running "utilities" that purport to remove software. I don't give such advice. Those tactics often will not work and maymake the problem worse. -
I just connect one monse to my MacBook Air and now my keybord is not working
I just connect one monse to my MacBook Air and now my keybord is not working
What to do?lrfrustrated wrote:
I just downloaded Adobe XI onto my macbook air and now I cannot save or print any PDF files. Will not let me do Print-Save as PDF, and if i do Save as i get a message saying that the file is corrupted. I had NO PROBLEMS at all doing this many times until i downloaded the new version. I have uninstalled and reinstalled, to no avail. I am super frustrated.
Print>Save as PDF - uses Preview (part of OS X), so Adobe Reader should have no effect on that at all.
As to the "damaged file" error, simply uninstalling the Reader app won't affect it. Do the following:
Mac HD/Library/Internet Plug-ins
Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files
Mac HD/Applications
Trash the Adobe Reader app
[user]/Library/Preferences
Trash the com.adobe.Reader.plist file
To access the [user]/Library, hold the "Option" key and click "Go" from the FInder menu.
Mac HD/Library/Application Support/Adobe
Trash the Reader folder (the whole folder)
Empty the Trash.
Download the FULL installer here: http://get.adobe.com/reader/enterprise/
Quit your browser and reinstall Reader.
Launch it from the Applications folder and accept the license agreement.
You should have no problems downloading PDFs with Safari.
Unfortunately, ANY PDF that says it's damaged.... is. You'll have to trash them. -
Code completion particular not working
Hello,
in my program there are serveral internal classes. Each class has its own include file. Code completion seems not working for internal classes in other include files.
example:
lcl_class1 in includec01 (first included)
class-methods static1_1
methods method1_1
lcl_class2 in includec02 (second included)
class-methods static1_1
methods method1_1
problem:
While development in lcl_class2 there are no code completion for lcl_class1.
No code completation for lcl_class1=>static1_1
but if you declarate "data lo_myclass type ref to lcl_class1." code completion is working fine for public member methods and attributes in the same file.
In Functiongroups all working fine.
Best Regards
Markus Bauernschmitt
Und da hier eh die meisten deutschsprachig sind und mein Englisch grausam ist, nachfolgend die Erklärung nochmal auf deutsch.... ;-)
In meinen Programmen findet die Codevervollständigung keine interne Klassen aus vorangegangenen include Dateien. Dadurch werden weder die Klassen selbst noch die statischen Methoden angezeigt. Gebe ich eine statische Methode ein und möchte die Hilfe anzeigen (F2) erscheint die Fehlermeldung "Codeinformationen sind nicht verfügbar".
Dieses Problem tritt nicht auf, falls die Deklaration einer Variablen in der gleichen Include Datei erfolgt.
Deklaration einer Variablen in der aktuellen Include Datei -> Dokumentation der öffentlichen (nicht statische) Methoden und Attribute funktioniert
Zugriff auf öffentliche (statische oder nicht statische) Methoden und Attribute von globalen Variablen (deklariert in einer anderen Datei) funktioniert dagegen nicht.
Es sind nur anscheinend nur Programme betroffen. Bei Funktionsgruppen (getestet am Beispiel "ldemo_cr_car_rental_screen") trat der Fehler nicht auf.Hi Dominik,
thank you for your answer. The internal classes are already simple and lightweight. In my understanding of OO I keep classes private as possible and so I create this specific "one program helper classes" in the smallest reasonable scope.
However, this is a architektur decission. But the pivotal question is: Why working this kind of code completion in function groups but not in programs.
Some additional information.
- Code completion working in "START-OF-SELECTION."
- In Functiongroup includes (Testcase lcl_class1 show as public type and lcl_class2 show as local public class.
Best regards
Markus -
Onclick and doubleclick event not working in CC
hi.. onclick and doubleclick event not working in CC.. how to get these events to work?
Please advise anyone. Thanks alot!Is your event target a ListBox?
In that case there are serious issues to deal with:
http://indiscripts.com/blog/public/ScriptUIEvents.pdf
@+
Marc -
Completion Insight not working
A customer is using the same version of SQL Developer on the same workstation platform as myself. My Completion Insight works, his does not.
SQL Developer version 3.1.07 on Windows 7 Professional.
Completion Insight is enabled under Tools->Preferences->Completion Insight. Regardless of this setting the ctl + <space> shortcut works instantly for me, but under no circumstances for the customer.
I made a test account on the DB that mirrors customer's privileges - my Completion Insight using the test account still works, so the problem must be with local to his install.
I verified his SQL Developer files came from the same zip file I used for my own installation.
Any ideas what is preventing his Completion from working?You might consider upgrading your customer to the latest release, v3.2.20.09
In the meantime, I've noticed completion insight NOT working when there's a syntax/parsing issue. For example, what's in the worksheet code wise when they try it?
With an empty worksheet, if they type select * from <ctrl><space>, does nothing come back? -
Code completion does not work with table alias
Hi all,
When i use SQL developer to create a simple query like below i alias my tables so i can oversee it better.
select
* from PRODUCTS p
inner join PRODUCT_TYPES pt on PRODUCT_TYPES.PRODUCT_TYPE_ID = p.But when i give the driving table a alias like p and i try to do a join like you see in the code SQL developer will not show the columns from table PRODUCTS.
What do i wrong or is this a bug?
Thanks in advance,
DanielHi,
Sue, there are lots of code completion don't work either.
Some of them are :
1. The code completion seems not working if we put double-quote ("") to enclosed the object name.
SELECT t. -- CTRL+Space the code completion won't work here
FROM MYSCHEMA."MYTABLE" t 2. The code completion also not working if we state some characters of the column name, although it still works for the uncomplete object name
i.e the name of the column is : MYFIELD
SELECT t.MY -- CTRL+Space, the code completion won't work here
FROM MYSCHEMA.MYTABLE t 3. Sometimes, I can see two code completion lists when I use CTRL + Space
Usually, it happens on the first connection's SQL Worksheet, the second and so forth are fine.
SELECT t. -- CTRL+Space, shows two lists which I can choose both of them
FROM MyTable t4. Code completion also not working when we try to access object from other schema. tbeech post it on
Re: Code Assist -- Table Alias
Are those code completion bugs are also logged?
Regards,
Buntoro -
my new macbook air and new thunderbolt monitor will not work together. the keyboard will not engage and the monitor screen keeps going black. is it a problem with the monitor, connection, laptop?
A new Mac comes with 90 days of free tech support from AppleCare.
AppleCare: 1-800-275-2273
Call AppleCare. They will help you.
Best. -
HT203782 Airplay is not working between ipad2/iphone5
Airplay is not working between ipad2/iphone5 and apple TV2. When I try to use airplay with my iPad 2 or ipad5, I can hear it, but the video won't show. I even tried to just mirror the screens and still nothing. It does work with my macbook air. I've tried resetting everything with no success. What should I do?
Are you sure the site you are trying to view isn't blocking AirPlay.
Try the following steps, check whether things are working after each step where appropriate, before trying the next.
Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
Restart the Apple TV (Settings > General > Restart).
Restart the Apple TV by removing ALL the cables for 30 seconds.
Restart your router. (Also try removing it’s power cord for at least 30 seconds)
Restart your mobile device.
If you are still having problems, the following article(s) may help you.
Troubleshooting AirPlay
Troubleshooting Wi-Fi networks and connections
Recommended Wi-Fi settings
Wifi Diagnostic Software (for Mac users)
You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful. -
Axis bank net secure with webpin not working on ipad2
Hi,
Axis bank net secure with webpin not working on ipad2
Lt me know how to proceedTry using their App:
https://itunes.apple.com/in/app/axis-bank-mobile-application/id517266358?mt=8 -
Anybody know why internet banking not working on ipad2
Any body know why net banking not working on ipad2
I only know Mac has an issue with Fire Fox
Chel x -
FileReference Select and Cancel Event Not Working in leopard
FileReference not working in leopard
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
public function onClick():void{
var fr:FileReference=new FileReference();
//fr.addEventListener(
fr.addEventListener(Event.OPEN,openHandler);
fr.addEventListener(Event.COMPLETE,completeHandler);
fr.addEventListener(Event.SELECT,selectHandler);
fr.addEventListener(Event.CANCEL,cancelHandler);
fr.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,uploadCompleteDataHandler);
fr.addEventListener(HTTPStatusEvent.HTTP_STATUS,httpStatusHandler);
fr.addEventListener(IOErrorEvent.IO_ERROR,ioErrorHandler);
fr.addEventListener(ProgressEvent.PROGRESS,progressHandler);
fr.addEventListener(SecurityErrorEvent.SECURITY_ERROR,securityErrorHandler);
fr.browse([new FileFilter("images", "*.png;*.jpg;*.gif")]);
private function cancelHandler(event:Event):void {
trace("cancelHandler: " + event);
private function completeHandler(event:Event):void {
trace("completeHandler: " + event);
private function
uploadCompleteDataHandler(event:DataEvent):void {
trace("uploadCompleteData: " + event);
private function
httpStatusHandler(event:HTTPStatusEvent):void {
trace("httpStatusHandler: " + event);
private function ioErrorHandler(event:IOErrorEvent):void {
trace("ioErrorHandler: " + event);
private function openHandler(event:Event):void {
trace("openHandler: " + event);
private function progressHandler(event:ProgressEvent):void {
var file:FileReference = FileReference(event.target);
trace("progressHandler name=" + file.name + " bytesLoaded="
+ event.bytesLoaded + " bytesTotal=" + event.bytesTotal);
private function
securityErrorHandler(event:SecurityErrorEvent):void {
trace("securityErrorHandler: " + event);
private function selectHandler(event:Event):void {
Alert.show("XD");
]]>
</mx:Script>
<mx:Button x="205" y="198" label="Button"
click="onClick()"/>
</mx:Application>
Adobe Flex Builder 3 Beta3
Leopard 10.5.1
both Safari and firefox doesn't workFlash version is 115 debug player
-
Copy of task TS50000075 and EXTSRV - termination event not working
Hi,
We have done copy of TS50000075 and extended business object EXTSRV to ZEXTSRV
this was done to call function module ISR_CALL_FOR_CHANGE to open up adobe form in edit mode
it works well but the task is not terminated
if termination event is put just like TS50000075 like WIOBJECT, ZEXTSRV COMPLETED then workitem never ends and always stays in inbox
ZEXTSRV COMPLETED event is not triggered when the workitem is completed in the UWL
even if we trigger this event programatically , it does not find receiver and the task stays in-process
if termination event is put as _WORKITEM PROCESSED then it bahves like synchronous task ie even if the workitem is clicked and form is not completed, the workitem ends. so the user can click it only once
also i've tried following
1 - used the function module to complete the workitem in QISR BADI. but the workitem ID is not available inthe BADI. If I try to export it from business object method and import in BADI, it doesnt work
2 - find active workflows and derive workitem id and complete workitem using FM SAP_WAPI_WORKITEM_COMPLETE
this FM doesnt work , step becomes logically deleted which is not desirable
3 - find active workflows and derive workitem id and complete workitem using other FM SAP_WAPI_SET_WORKITEM_COMPLETD
work item is complete but there is workflow error - cannot determine succesor node
4 - find active workflows and derive workitem id and change a particular container element
check this container element in complete workitem condition in activity step of dialog step of workflow of this task-
workitem stays inprocess
check this container element in parellel wait step to complete the workitem-
parellel step executes but fork is not complete, workflow doesnt proceed
kindly help in this matter. the workitem does not get completed at all even if we force complete, workflow goes in error of - cannot determine succesor node.
is there anything specific to the EXTSRV-PROCESS method which makes the TS50000075 task to trigger EXTSRV-COMPLETED and end the workitem ?
help is much needed in this case
thank you,
bHi,
You need to see the event in SWEL, otherwise it will never work with workflow. Make sure that the event monitor is on (in transaction SWELS).
I cant see the event in SWEL. The vent monitor is on because if I create event in SWUE, it shows up.
How you actually create the event now?
There is BADI QISR which is always called to handle user action of PDF form. I have written the function modue to create event in the user action
>If i trigger it using funciton module -- then it doesnt find any receivere so it doesnt terminate the task. it is seen in SWEL with no receiver found. do i still need to do commit work ?
You need the COMMIT WORK always if you trigger the event in any program&function or whatever.
ok ill try doing commit work after the create event function module
Test your event with transaction SWUE. Make a test case first in a way that the task is waiting in the inbox/UWL. Then create the event in SWUE. Now, if the task gets completed, you will know that that event itself is working and your terminating event configuration is done properly. If this works, your only problem is in the event creation itself. And for that you need to tell exactly how you create the event. If you do it with your own custom code, use SAP_WAPI_CREATE_EVENT and don't forget to have COMMIT WORK after the function call.
I am doing exactly like you said. but it doesnt work ie even if I create the event in SWUE, the workitem doesnt get completed.
This event is seen in SWEL with no receivere found
I am able to infact set the workitem to complete using WAPI funciton module to complete teh task in the BADI.
but the workflow goes in to error saying , next node cannot be determined
Regards,
Karri -
I have a servlet that is accessing a COM object. It issues commands to the
COM object, and some time later, events are supposed to fire into the Java
class to update some info. Well, the updates are not happening. Any
thoughts?
Some info:
class Connection is the implementation (proxy) of the COM object.
class CLServer is my code that implements _IConnectionEvents (the COM-event
interface). It also calls methods on Connection, especially
Connection.add_IConnectionEventsListener(this)
As I said, this is all running under weblogic (running as a service) as a
servlet. The calls out to COM succeed, but the asynchronous calls back in
don't.
Thanks,
JeffDoes anybody have COM-to-Java event callbacks working???
Kinda frustrated with feedback (lack thereof) from this group.
Jeff
"Jeff Muller" <[email protected]> wrote in message
news:3d10affd$[email protected]..
Actually, when I try and register my event listener, I get an
AutomationException (0x80040202). Anybody know what that's about?
Jeff
"Jeff Muller" <[email protected]> wrote in message
news:[email protected]..
By the way, I found the problem.
The COM object I was using was actually posting Windows messages to
itself
to fire the events. Of course, the JVM isn't running a message loop, sothey
never got handled, therefore, no events got fired. I had to write awrapper
COM Server (exe) with a message loop that instantiated the object that I
really wanted. Of course that led to other problems that I post about in
another message above! :-)
Jeff
"Jeff Muller" <[email protected]> wrote in message
news:3cf678e6$[email protected]..
I have a servlet that is accessing a COM object. It issues commands to
the
COM object, and some time later, events are supposed to fire into theJava
class to update some info. Well, the updates are not happening. Any
thoughts?
Some info:
class Connection is the implementation (proxy) of the COM object.
class CLServer is my code that implements _IConnectionEvents (theCOM-event
interface). It also calls methods on Connection, especially
Connection.add_IConnectionEventsListener(this)
As I said, this is all running under weblogic (running as a service)
as
a
servlet. The calls out to COM succeed, but the asynchronous calls backin
don't.
Thanks,
Jeff -
Multiple event not working in interactive report
Hi Experts,
I am developing a interactive report used Set-PFstatus '100' , AT user-command and At line-selection in a single program.
Here At line-selection is not working but at user-command is working fine.
After commenting set-PF ststus '100' event at line selection is working.
Ii want at to use at-user command and at line-selection both to work with set pf-status.
Please help me out.Hi,
You can use these events together but in case while
creating your GUI status for your program you have
to give Function Code 'PICK' with F2 short cut key
because for at line selectino double click 'PICK' function
code is trigerred.
hope it helps,
Regards
Mansi
Maybe you are looking for
-
Hi guru's, The GL a/c material stock (trail balance stock) is mismatching with the SAP std report MB5B, why ? pl its ur. full points will be awarded. thanks tuljasingh.
-
How can I get a two-line bookmark toolbar?
I have too many websites I visit daily! I like having them available at a single click on my bookmarks toolbar, but I'm trying to squeeze too many on there. Is there any way to stretch the toolbar vertically so I can get two lines of bookmarks on the
-
BAPI or FM to create Products t-code : commpr01
HI, Please let me know the Bapi or FM to CReate Products the commpr01 t-code. Thanks and Regards,
-
Question about using "dumb terminals" for multiple access points
For both home and a small busniess setting I have been trying to find info about the possibility of using some form of dumb terminal to provide multimple acces points to a single computer rather than a network of multiple computers. I would like to u
-
Is there a way that iCal can automatically e-mail any new event created in a particular calendar(s) to a person immediately after it is created? (Like can be done through the Mail Event contextual menu, only automatically.) I'm thinking perhaps this