How to test to see if inputted swf exists?

Hi
I have an input field that asks for a .swf name - you enter the name, hit SUBMIT, and Flash loads that .swf onto the screen.
I've coded for an error to appear if the user doesn't input anything, but how to I test to see if the swf exists, and if not, return an error?
I have a function called onSwfLoad that runs when the swf loader finishes, triggered by an Event.COMPLETE in the swf loader event listener - is there something I can put in an if statement there to test if the swf loader found a file?
Thnaks
Shaun

the loader class doesn't have any events.  you use the contentloaderinfo property of your loader to get a loaderinfo reference and that has the events you need:
loadSwfBut.addEventListener("mouseDown", sendData)
function sendData(evt:Event)  {
    if(loadSwf.text !=""){
var Xpos:Number = 0;
var Ypos:Number = 100;
var swf:MovieClip;
var loader:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest(loadSwf.text);
loader.load(defaultSWF);
loader.x = Xpos;
loader.y = Ypos;
addChild(loader);
        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, dataOnLoad);
        loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorLoading);
    } else status_txt.text = "All fields are mandatory"
function errorLoading(event:IOErrorEvent):void {
    status_txt.text = "nup"
function dataOnLoad(evt:Event){
    status_txt.text = "yep";
stop();

Similar Messages

  • How to test to see if the cursor is on the last row in a jTable?

    I like to know how to test the cursor position in jTable.

    From the many topics you post here, I can see that you are thinking in the wrong terms.
    Although it's possible, you should not test if the current row is the last one in a JTable. Instead you should test whether or not the current row is the last one in a VO instance, to which any particular JTable's model is bound.
    So, please read the API documentation for oracle.jbo.ViewObject and oracle.jbo.server.ViewObjectImpl.

  • How to test to see if your gpu is malfunctioning

    I'm seeing an issue with my macbook pro 2011 running Yosemite which seems like a GPU malfunction (and apparently a common issue with this laptop). Sometimes images are not loading correctly or not at all when searching the web. Also when I open Facetime I sometimes can see image banding. I ran a Hardware Test and it did not come up with anything. Is there anything else I can do to test this out?

    That value appears to be normal, does this issue happen most of the time or just at random? You could try backing up your data, performing a clean installation of OS X, and see if the issue persists and if it does then what I would recommend is that you try to capture a video of this happening and then take your computer to an Apple store or an Apple Authorized Service Provider, as you've already guessed you're likely looking at some sort of failure of the GPU on your logic board (which unfortunately appears to be common with 2011 MacBook Pro's).
    Best of luck and have a great day.

  • How to test if input is in array + number?

    Hi, I have an array, [0, 1, 2], and also a stored number: 5
    If I ask the user to input a number, how do I make the user continue input until the number is either one of the numbers in the array or the stored number?
    I can do this with a while loop, a for loop, and an if, else loop, but it's too complicated:
                   boolean match = false;
                   DONE: while (match != true) {
                        for (int i =0; i < number; i++) {
                             if (userInput == array[i] || userInput == -1) {
                                  match = true;
                                  break DONE;
                             } else {
                                  match = false;
                        System.err.printf("\nERROR: Input not in array or stored number.\n\n");
                        System.out.printf("Input again:\n    ");
                        userInput = input.nextInt();
                   }Is there an easier method? Could someone point me in the right direction? I'm wondering if it might be faster if I create a new array that includes the original array + the stored number, then test to see if the input is simply in this new array.
    Thanks for any help.
    Edited by: fishy on Feb 23, 2009 11:16 AM

    Hello,
    To check the number against the array, you would have to loop through the entire array checking each element for the input value. A for loop should do the trick:
    private static int checkArray(int [] a, int inputNumber)
    for (i = 0; i < a.length; i++) { 
    if (a[i] == inputNumber)
          return 1;
    return 0;
    }Then you can use a do while for the input:
    do {
       System.out.println("Enter a number: ");
       userInput = sc.nextInt;
    } while ( (checkArray(userInput) == 0) & (number != userInput) ); This should ask the user for input as long as the number they enter is not in the array and it's not the stored number.
    Hope this helps,
    ~Vin

  • How to test input  JSF2

    Hi,
    Am looking for a way to test and varify the input form JSF/Faces components from the Web Tier, as adding system.out in the backing beans returns no screen output, as thing this has something to do with Server Side and Client Side execution etc. but no sure as only new to JSF and Web Development, anyways was wondering what the best and easiest way to check and validate the input types etc. from the Web Tier?
    Many Regards

    Its unclear what you exactly want.
    Q: Do you want to check things from a development perspective, such as knowing that a certain field is correctly submitted and stored in a backing bean.
    A: Using an IDE with a debugger can help here; you could use for example Eclipse and put a break point in the action method that is called upon pressing a button or whatever, then you can see what the state of the backing bean is. In this case you'll have to develop and deploy your application from Eclipse to be able to link the debugger to the running application server instance.
    Also, any System.out/System.err output will be captured in the console of the IDE so you can see it.
    Q: Or are you talking about doing actual validations on values, and report back to the user when something is wrong?
    A: in that case, JSF has a built in validation model that you'll just have to learn how to use. A google search for "JSF validation" will get you plenty of results.

  • How do I test to see if a user has access on a site?

    I am completely new to PowerShell, but I have a requirement to build a PowerShell script that will run against a site, a set of sites or a web application. How do I add a check within my script to test if a user has rights on the site they are running it
    on or not? Am clueless on how to test if the user has rights to a site....I basically am trying to test, then let them know that they do not have access on a site or not. 
    How can I get this done? Please help.

    I now have this code which I think should do the trick, but I am getting an exception when i step through it. The $serverContext variable is always null. Does anyone know why I am getting this?
    write-host "Please enter the url of the site collection"
    $url = read-host
    write-host "Please enter the username of the user"
    $userName = read-host
    $site = New-Object Microsoft.SharePoint.SPSite($url)
    $serverContext = [Microsoft.Office.Server.ServerContext]::GetContext($site)
    $userProfileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($serverContext)
    $userProfile = $userProfileManager.GetUserProfile($userName)
    $userLogin = $userProfile[[Microsoft.Office.Server.UserProfiles.PropertyConstants]::AccountName].Value.ToString()
    $webs = $site.AllWebs
    foreach ($web in $webs)
    $permissionInfo = $web.GetUserEffectivePermissionInfo($userLogin)
    $roles = $permissionInfo.RoleAssignments
    write-host "Now checking the permissions of the user " $userLogin " " "in the site " $web.Url
    for ($i = 0; $i -lt $roles.Count; $i++)
    $bRoles = $roles[$i].RoleDefinitionBindings
    foreach ($roleDefinition in $bRoles)
    if ($roles[$i].Member.ToString().Contains('\'))
    write-host "The User " $userLogin " has direct permissions " $roleDefinition.Name
    else
    write-host "The User " $userLogin " has permissions " $roleDefinition.Name " given via " $roles[$i].Member.ToString()
    Thanks for the help.
     

  • How to test a simple PL SQL function from another PL SQL script

    Hi,
    I have created a function. Now i need to test that whether it is returning the correct values or not.
    For that, i have written anothe pl sql script and trying to call this function. Im passing all the IN parameters in that function. I assume here that OUT parameters will provide me the result. Im trying to display the OUT parameter one by one to see my result.
    I'm using toad as sql client here connected with oracle.
    pl sql script:-
    DECLARE
    BEGIN
         DBMS_OUTPUT.PUT_LINE('$$$$$$$ VINOD KUMAR NAIR $$$$$$$');
         FETCH_ORDER_PRODUCT_DATA(320171302, 1006, 6999,
    ODNumber OUT VARCHAR2, Line_Number OUT VARCHAR2,
    ServiceID OUT VARCHAR2, BilltoNumber OUT VARCHAR2,
    AnnualPrice OUT NUMBER, CoverageCode OUT VARCHAR2)
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | ODNumber );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | Line_Number );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | ServiceID );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | BilltoNumber );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | AnnualPrice );
    DBMS_OUTPUT.PUT_LINE('HERE IS THE RESULT ' | CoverageCode );
    END;
    Function:-
    Program Name : SPOT_Order_Product_Data_For_CFS.sql
    Description : Function to Validate parameters from CFS
    By : Vinod Kumar
    Date : 08/19/2011
    Modification History
    By When TAR Description
    CREATE OR REPLACE FUNCTION FETCH_ORDER_PRODUCT_DATA(orderNumber IN VARCHAR2, customerNumber IN VARCHAR2,
    productLine IN VARCHAR2, ODNumber OUT VARCHAR2,
    Line_Number OUT VARCHAR2, ServiceID OUT VARCHAR2,
    BilltoNumber OUT VARCHAR2, AnnualPrice OUT NUMBER,
    CoverageCode OUT VARCHAR2)
    RETURN VARCHAR2 IS
    lv_err_msg VARCHAR2(100) := '';
    lv_bucket_id VARCHAR2(14);
    lv_bill_number VARCHAR2(30);
    lv_anual_price NUMBER;
    lv_coverage_code VARCHAR2(8);
    lv_quote_num NUMBER(10) := NULL;
    lv_line_num NUMBER(5) := 0;
    lv_customer_number VARCHAR2(30) := customerNumber;
    lv_product_id VARCHAR2(14) := productLine;
    lv_count_quote NUMBER := 0;
    lv_quote_status VARCHAR2(5);
    lv_quote_version NUMBER(2):=0;
    BEGIN
    IF INSTR(orderNumber, '-') = 0 THEN
    lv_quote_num := orderNumber;
    ELSE
    lv_quote_num := SPT_Delimiter(orderNumber, 1, '-');
    lv_line_num := SPT_Delimiter(orderNumber, 2, '-');
    END IF;
    --Check status of the quote COM, APP
    SELECT COUNT(*) INTO lv_count_quote FROM sot_order_header WHERE ORDER_NUMBER=lv_quote_num
    AND ORDER_STATUS IN ('APP', 'COM') AND CUSTOMER_NUMBER = lv_customer_number;
    IF lv_count_quote = 0 THEN
    lv_err_msg := 'Invalid Order number';
    RETURN lv_err_msg;
    END IF;
    -- Fetch the latest version on SPOT quote
    SELECT MAX(VERSION_NUMBER) INTO lv_quote_version FROM SPT_QUOTE_HEADER WHERE QUOTE_NUMBER = lv_quote_num
    AND CUSTOMER_NUMBER = lv_customer_number;
    -- If quote is valid fetch the data in OUT parameters
    IF lv_line_num = 0 THEN
    BEGIN
    SELECT a.CUSTOMER_BILLTO_NUMBER,
    b.LINE_NUMBER, b.BUCKET_ID,
    b.ANNUAL_REF_RATE_USD, b.COVERAGE_CODE
    INTO lv_bill_number,lv_line_num,lv_bucket_id,lv_anual_price,lv_coverage_code
    FROM SPT_QUOTE_HEADER a, SPT_QUOTE_LINE b
    WHERE a.QUOTE_NUMBER = lv_quote_num
    AND a.CUSTOMER_NUMBER = lv_customer_number
    AND a.VERSION_NUMBER = lv_quote_version
    AND a.QUOTE_NUMBER = b.QUOTE_NUMBER
    AND a.VERSION_NUMBER = b.VERSION_NUMBER
    AND b.PRODUCT_ID = lv_product_id;
    ODNumber := lv_quote_num;
    BilltoNumber := lv_bill_number;
    Line_Number := lv_line_num;
    ServiceID := lv_bucket_id;
    AnnualPrice := lv_anual_price;
    CoverageCode := lv_coverage_code;
    RETURN '';
    EXCEPTION WHEN OTHERS THEN
    lv_err_msg := 'Multiple PIDs existing in the SPOT order, please provide the SPOT order + line number as input data';
    RETURN lv_err_msg;
    END;
    ELSE
    BEGIN
    SELECT a.CUSTOMER_BILLTO_NUMBER,
    b.BUCKET_ID, b.ANNUAL_REF_RATE_USD,
    b.COVERAGE_CODE
    INTO lv_bill_number,lv_bucket_id,lv_anual_price,lv_coverage_code
    FROM SPT_QUOTE_HEADER a, SPT_QUOTE_LINE b
    WHERE a.QUOTE_NUMBER = lv_quote_num
    AND a.CUSTOMER_NUMBER = lv_customer_number
    AND a.VERSION_NUMBER = lv_quote_version
    AND a.QUOTE_NUMBER = b.QUOTE_NUMBER
    AND a.VERSION_NUMBER = b.VERSION_NUMBER
    AND b.PRODUCT_ID = lv_product_id
    AND b.LINE_NUMBER = lv_line_num;
    ODNumber := lv_quote_num;
    BilltoNumber := lv_bill_number;
    Line_Number := lv_line_num;
    ServiceID := lv_bucket_id;
    AnnualPrice := lv_anual_price;
    CoverageCode := lv_coverage_code;
    RETURN '';
    EXCEPTION WHEN OTHERS THEN
              lv_err_msg := 'Multiple SPOT lines exist with same parameter';
              RETURN lv_err_msg;
    END;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    lv_err_msg := '@@@ EXCEPTION THROWN @@@ '|| SUBSTR(SQLERRM,1,120);
    RETURN lv_err_msg ;
    END;
    Don't look at the function, it might have errors but my primary concern is how to test this function. Once I start doing its testing then only i can understand any bugs(if any).
    My pl sql is not so good. Im still learning. I don't understand IN and OUT parameters are.
    I just know that IN parameters r those whick we pass in to the function wen we call it and OUT parameters are those through which we get the result.
    Thanks in advance
    Vinod Kumar Nair

    20100511 wrote:
    I wondered how I could test the output of the function from within TOAD?I usually create the following function in my developer schema:
    create or replace function BoolToChar( b boolean ) return varchar2 is
    begin
      if b then
        return( 'TRUE' );
      else
        return( 'FALSE' );
      end if;
    end;To test a function like yours, the following will do in SQL*Plus/TOAD/etc:
    begin
      DBMS_OUTPUT.put_line(
        BoolToChar( XCCC_PO_APPROVALLIST_S1.does_cpa_exist(1017934)  )
    end;
    I'm probably doing 101 things wrong here, but thought I'd ask anyway and risk being shouted at.Shout at? You reckon? I thought people risked being beaten with a lead pipe, or pelted with beer cans and stale pretzels - which makes being shouted at a really safe and viable alternative. {noformat};-){noformat}

  • How to test domain controller on upgraded Win Server 2008 R2

    The windows team recently upgraded the development environment for the domain controller from 2003 to Windows 2008 R2 and I am to test the Idm functionality on this upgraded version. Our current configuration is that the DC and Idm gateway runs on different machines. To test this new DC, i want to install the idm gateway on that server and run some onboarding and termination test cases just to make sure if the AD connection is working on the upgraded DC. But i am getting ’Input/output error’ when i try to install the service and from the documentation it says 'The most common cause of this is that you do not have rights to work with this service.'. The server admin tried installing the gateway with his id as well and it failed. He tested installing in on the 2003 version of DC and it worked, so its not a matter of permission (i think..)...
    Does anyone have any better idea on how to test an upgrade of a DC from version 2003 to 2008 R2? Any help in this matter is appreciated. We are running Idm 8.1 on a Windows platform and an upgrade to OW 8.1.1. Patch 2 is also in the works..
    Thanks in advance.

    I may have found a workaround. Can you try to change the "compatibility mode" in 2008 R2 to "Windows XP SP3" and see if it will install?
    Admittedly I have not done this myself so I'm not entirely sure where or how it's done, but I have confirmation it resolves the issue from others who have faced it.

  • How to test BLOB Table Column in BCBrowser??

    Hi,
    My requirement is to upload a file(pdf,doc,jpg, txt) into DB using ADF.
    I use, Jdev 11.1.1.6, Oracle 10g XE.
    For this, I created the following
    1. A table as MyFilesTab(ID Number, FileName Varchar2(80), File BLOB)
    2. An Entity Object MyFilesEO on MyFilesTab.
    3. Generated a default view object: MyFilesVO
    4. Application Module : TestAM with view instance "MyFiles"
    But When I run TestAM, I see MyFiles as an Input textbox. So I cannot able to add a file that will be stored in my Table.
    Please help me out.

    Just to clarify, my previous post is related to title of this thread("How to test BLOB Table Column in BCBrowser??"),
    and not to "My requirement is to upload a file(pdf,doc,jpg, txt) into DB using ADF" 
    Dario

  • How to Test AIR 1.5

    Sorry if this seems slightly off center, but I blame Adobe, not myself. Trying to determine the true status and positioning of AIR amongst the various Flex forums and projects for an outsider is practically impossible. So, I will be brief. In September Mr. Chambers sent opened the flow by telling us that we could find FP10 integrated with Flex SDK in something you call 1.5 or Cosmo, or both. He was properly circumspect, so I didn't rush into it -- there was not even an ADL binary when I checked. Now it is November, the Trunk is at 4005, and ostensibly, everything we need to start trying to take advantage of FP support of 3D operations is out there. But where? Where do we get a version of AIR 1.5 that can be installed on a target desktop, so that we can try to run the ADT test cycle?
    Call it Gumbo, call it Flex4, call it whatever, but can someone tell us how to start testing it for AIR application deployment?
    Thank you.

    <DIV><FONT face=Arial size=2>I am sure you are right about an AIR application <br />being able to use Loader and SWFLoader.  I hope I have more or less figured <br />out the right way to do that.  But, I guess my point is that none of the <br />documentation I have been able to find anywhere would answer the question about <br />what to do with the framework and/or rpc files.  What, as far as you <br />understand it, is the correct way to manage the use of the A</FONT><FONT <br />face=Arial size=2>dobe swz files in an AIR application?</FONT></DIV><br /><BLOCKQUOTE <br />style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><br />  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV><br />  <DIV <br />  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <br />  <A [email protected] href="mailto:[email protected]">Josh <br />  McDonald</A> </DIV><br />  <DIV style="FONT: 10pt arial"><B>To:</B> <A [email protected] <br />  href="mailto:[email protected]">[email protected]</A> <br />  </DIV><br />  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 03, 2008 11:01 <br />  PM</DIV><br />  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: How to Test AIR 1.5</DIV><br />  <DIV><BR></DIV>A new message was posted by Josh McDonald in <br />  <BR><BR><B>Developers</B> --<BR>  How to Test AIR 1.5<BR><BR>I'm <br />  sure there's nothing stopping you from loading SWFs and SWZs and SWCs and <br />  loading them in AIR? Just treat them as normal files, and use whatever you <br />  please to push out updates etc?<BR><BR>-Josh<BR><BR>On Tue, Nov 4, 2008 at <br />  4:53 PM, Terry Corbet <SPAN dir=ltr>&lt;<A <br />  href="mailto:[email protected]">[email protected]</A>&gt;</SPAN> <br />  wrote:<BR><br />  <BLOCKQUOTE class=gmail_quote <br />  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />    new message was posted by Terry Corbet in<BR><BR>Developers --<BR> How <br />    to Test AIR 1.5<BR><BR>01.  Thanks, I will continue testing with ADL <br />    and hopefully be able to move up to a web-base, remote installation/update <br />    scenario in a couple of weeks.<BR><BR>02.  I'm sorry you feel that my <br />    failure to accept what may be 'intuitively obvious to you' -- that I can <br />    design and test a 3D front end to FMS that works the same in a native window <br />    as in a browser window -- indicates any lack of faith in what will be <br />    delivered.  So far, I have found subtle, important differences, and I <br />    am sure there will be others that will just have to be patiently tested <br />    before I get it right.<BR><BR>03.  So, I'm glad you asked about swz in <br />    an AIR environment because that is a whole topic for which I have not been <br />    able to find any discussion on any of the many fine forums you have.  I <br />    understand product marketing and product development, but I can't say that I <br />    ever managed those activities in the environment you have in which several <br />    large projects co-exist with lingering dependencies and even 'cultures' as <br />    diverse as you have with the various acquisitions that come together in the <br />    suite of products you have today.<BR><BR>So, I will simply state that I <br />    think no one seems to have recognized that your paradigm for 'desktop' <br />    versus 'web-based' software -- the essential distinction which seems to <br />    describe Adobe's description of an AIR versus a Flex application -- does not <br />    always hold.  I understand the general dichotomy, but it does not hold <br />    for my user base.<BR><BR>You have lots of design papers and lots of software <br />    devoted to 'reducing the burden' of ever-growing executables in the Flex <br />    framework by caching of your or our rsls.  That's a good idea. <br />     Why do you think it is not just as good an idea for an AIR <br />    application?  Probably because you think that an AIR application will <br />    either be shipped on a CD, or sent over the Internet, but relatively <br />    infrequently, so who cares if you have to ship out 10MBs or 2MBs? My user <br />    cares.<BR><BR>My user will get frequent updates to an ever-growing body of <br />    software called an application, and he will get them over those same slow <br />    bandwidth network links that the Flex user sees.  What's "good for the <br />    goose is good for the gander".  There is simply no reason not to <br />    architect the library of code that we use to cobble together the application <br />    and use the same intelligent caching mechanism in both environments.  I <br />    looked for a month for a white paper or discussion of how to 'modularize' an <br />    AIR app but all that you wanted to publish were white papers on how to <br />    'modularize' a Flex app.<BR><BR>I'm sure that you guys have a bunch of <br />    object diagrams and product architecture blueprints that you have memorized <br />    -- but that is not what we see 'outside the black box'.  What we see is <br />    a confusing distinction between the AIR efforts and the Flex efforts <br />    although the code base and efforts are substantially the same.  And if <br />    that is true from an internals point of view, put on your end-user hat and <br />    look at how we view a AIR/Flex app -- it is all one.<BR><BR>So, I develop <br />    the worlds greatest Juke Box and get it all going in Flex, then I move that <br />    into one Tab on one Screen in the AIR 'shell'.  Then some guys go off <br />    and mostly use AIR-unique code to add a Tab that allows Drag and Drop <br />    creation of Slide Shows accompanied by voice overs, and another set of my <br />    guys go off to add the 'Sudoku' module in just plain old Flex.  At some <br />    point in time in some ant task, we've got 10MB of code and X MBs of that is <br />    in one of our present [or future] swz files.  Where is the distinction <br />    that says I should just ask my users to download the whole shooting match, <br />    when what he really wants to do is just download whatever updated or new <br />    application modules [including any upgrades to your frameworks] when <br />    required.<BR><BR>So, it took some time, but today, my application is <br />    compiled with dynamic linking to the framework.swz, and when the user <br />    launches his AIR application on the desktop, the Flash Player, embedded in <br />    the AIR environment, is smart enough to find that it already has the <br />    necessary framework code and does not need to go back to the network to get <br />    it refreshed.  Actually, since I could never figure out how to use <br />    Module and ModuleManager, the method for solving the framework caching <br />    problem ended up just being an extension of what I developed for version <br />    management 'with continuous update' of my own swf files.  So, when the <br />    AIR shell starts up, it needs to test to see whether there is any updating <br />    to be done, or whether it already has locally available the 'latest and <br />    greatest' and that works the same for MyCute3DWizBang.swf or <br />    framework_3.1.0.2710.swz or framework_4.0.0.3988.swf.<BR><BR>If you take the <br />    point of view that a 'desktop application' doesn't need to do anything <br />    special to solve the problem of 'large file downloads', you end up thinking <br />    that there is no reason for an AIR application to take advantage of the <br />    frameworked cache when, in fact, almost all of that code is needed whether <br />    the execution thread starts in a 'WindowApplication' or just a plain old <br />    'Application'.  At least thats the cockamaymee point of view that I <br />    came to in the absence of any 'best practice' discussion of these key topics <br />    --  so far, it seems to be working pretty well, but as you can guess, <br />    testing across a network to a remote host that may or may not have the right <br />    version of AIR, or the right version of framework, or the right version of <br />    MyCute3DWizBang  is really more important than just testing against <br />    ADL. <BR><BR><BR>----- Original Message ----- From: "Matt Chotin" &lt;<A <br />    href="mailto:[email protected]" <br />    target=_blank>[email protected]</A>&gt;<BR>To: &lt;<A <br />    href="mailto:[email protected]" <br />    target=_blank>[email protected]</A>&gt;<BR>Sent: Monday, November <br />    03, 2008 8:39 PM<BR>Subject: Re: How to Test AIR 1.5<BR><BR><BR><br />    <BLOCKQUOTE class=gmail_quote <br />    style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />      new message was posted by Matt Chotin in<BR><BR>Developers --<BR> How <br />      to Test AIR 1.5<BR><BR>The badge install doesn't work with debug, you can <br />      only use adl.exe right now.  But this should show how the whole <br />      system would work and really allow you to evaluate.  You know how the <br />      AIR install works with Air 1.1 (if not, use Flex 3.1 to target 1.1), I <br />      don't think seeing it with AIR 1.5 is critical to evaluate the features of <br />      the runtime at this point.<BR><BR>Air and the Flash Player are runtimes, <br />      and we've made it clear that AIR 1.5 would include FP10 features.  So <br />      when we say Flex will enable FP10, it should be obvious that when AIR 1.5 <br />      comes out Flex will support it in the same way.<BR><BR>I don't really <br />      understand what you're doing with the SWZ and AIR, there's no real need to <br />      use a cached framework when the whole app is going to be <br />      installed.<BR><BR>In any case, Air 1.5 should be out in 2 weeks hopefully <br />      so you'll be set then.<BR><BR>Matt<BR><BR>On 11/3/08 8:07 PM, "Terry <br />      Corbet" &lt;<A href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt; wrote:<BR><BR>A new message <br />      was posted by Terry Corbet in<BR><BR>Developers --<BR> How to Test <br />      AIR 1.5<BR><BR>Thanks for the quick turnaround.  Pardon my ignorance, <br />      but exactly what .exe<BR>file will install Air 1.5 on a system?  I <br />      don't find it anywhere.  I guess I<BR>can try to tear the ADL source <br />      apart to see how it mimics that behavior, but<BR>that is, at best, just a <br />      local test.  I think testing the whole Badge<BR>install sequence is <br />      essential, and would like to give it a try.  The longer<BR>we put <br />      this off, the longer we all just sit here trying to decide whether <br />      to<BR>stay with Papervision, Away, Sandy, or to use the graphics support <br />      in the<BR>Player.<BR><BR>I am busy making the dynamic link to the <br />      framework.swz work for Flex modules<BR>running under an AIR shell, and I <br />      doubt that I am alone.  There must be many<BR>of us who really see no <br />      distinction between AIR and Flex -- they just<BR>provide us two different <br />      ways to slice a problem, that's why it is so<BR>disconcerting to try to <br />      follow the threads on rapid Flex advancement with FP<BR>10, but almost <br />      nothing pertaining the doing the very same things with the<BR>AIR <br />      toolkit.<BR><BR>I hope you can tell me where to get the standalone AIR 1.5 <br />      installer that<BR>will me keep making progress with the debugging output <br />      reasonably well<BR>handled by Allesandros' FireFox tracer.  Many <br />      thanks.<BR><BR><BR>----- Original Message -----<BR>From: "Matt Chotin" <br />      &lt;<A href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt;<BR>To: &lt;<A <br />      href="mailto:[email protected]" <br />      target=_blank>[email protected]</A>&gt;<BR>Sent: Monday, <br />      November 03, 2008 7:55 PM<BR>Subject: Re: How to Test AIR 1.5<BR><BR><BR><br />      <BLOCKQUOTE class=gmail_quote <br />      style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">A <br />        new message was posted by Matt Chotin in<BR><BR>Developers <br />        --<BR> How to Test AIR 1.5<BR><BR>Hi,<BR><BR>We're not doing a <br />        public beta of the release runtime for AIR 1.5.  You can<BR>use the <br />        debug runtimes that are part of the Flex nightly builds though<BR>(check <br />        the Flex 3 nightlies) to validate that AIR 1.5 will be right for<BR>you <br />        though.<BR><BR>Matt<BR><BR>On 11/3/08 7:38 PM, "Terry Corbet" &lt;<A <br />        href="mailto:[email protected]" <br />        target=_blank>[email protected]</A>&gt; wrote:<BR><BR>A new <br />        discussion was started by Terry Corbet in<BR><BR>Developers <br />        --<BR> How to Test AIR 1.5<BR><BR>Sorry if this seems slightly off <br />        center, but I blame Adobe, not myself.<BR>Trying to determine the true <br />        status and positioning of AIR amongst the<BR>various Flex forums and <br />        projects for an outsider is practically<BR>impossible.  So, I will <br />        be brief.  In September Mr. Chambers sent opened<BR>the flow by <br />        telling us that we could find FP10 integrated with Flex SDK <br />        in<BR>something you call 1.5 or Cosmo, or both.  He was properly <br />        circumspect, so<BR>I didn't rush into it -- there was not even an ADL <br />        binary when I checked.<BR>Now it is November, the Trunk is at 4005, and <br />        ostensibly, everything we<BR>need to start trying to take advantage of <br />        FP support of 3D operations is<BR>out there.  But where? <br />         Where do we get a version of AIR 1.5 that can be<BR>installed on a <br />        target desktop, so that we can try to run the ADT <br />        test<BR>cycle?<BR><BR>Call it Gumbo, call it Flex4, call it whatever, <br />        but can someone tell us<BR>how to start testing it for AIR application <br />        deployment?<BR><BR>Thank <br />        you.<BR><BR>________________________________<BR>View/reply at How to <br />        Test AIR 1.5<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?13@@.59b6ed86" <br />        target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86</A>&gt;<BR>Replies <br />        by email are OK.<BR>Use the unsubscribe<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />        target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />         form to<BR>cancel your email <br />        subscription.<BR><BR><BR><BR><BR>------------------------------------------------------<B R>View/reply <br />        at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/0" <br />        target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/0</A>&gt;<BR>Replies <br />        by email are OK.<BR>Use the unsubscribe form at<BR>&lt;<A <br />        href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />        target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />        to<BR>cancel your email <br />      subscription.<BR></BLOCKQUOTE><BR><BR><BR>----------------------------------------------- -------<BR>View/reply <br />      at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/1" <br />      target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/1</A>&gt;<BR>Replies <br />      by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />      href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />      target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />      to cancel your email <br />      subscription.<BR><BR><BR><BR>------------------------------------------------------<BR>Vi ew/reply <br />      at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/2" <br />      target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/2</A>&gt;<BR>Replies <br />      by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />      href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />      target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />      to cancel your email subscription. <br />    <BR></BLOCKQUOTE><BR><BR><BR>------------------------------------------------------<BR>Vi ew/reply <br />    at &lt;<A href="http://www.adobeforums.com/webx?13@@.59b6ed86/3" <br />    target=_blank>http://www.adobeforums.com/webx?13@@.59b6ed86/3</A>&gt;<BR>Replies <br />    by email are OK.<BR>Use the unsubscribe form at &lt;<A <br />    href="http://www.adobeforums.com/webx?280@@.59b6ed86%21folder=.3c060fa3" <br />    target=_blank>http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3</A>&gt; <br />    to cancel your email subscription.<BR></BLOCKQUOTE><BR><BR clear=all><BR>-- <br />  <BR>"Therefore, send not to know For whom the bell tolls. It tolls for <br />  thee."<BR><BR>Like the cut of my jib? Check out my Flex blog!<BR><BR>:: Josh <br />  'G-Funk' McDonald<BR>:: 0437 221 380 :: <A <br />  href="mailto:[email protected]">[email protected]</A><BR>:: <A <br />  href="http://flex.joshmcdonald.info/">http://flex.joshmcdonald.info/</A><BR>:: <br />  <A <br />  href="http://twitter.com/sophistifunk">http://twitter.com/sophistifunk</A><BR><BR><BR><br />  <HR align=left width=200><br />  View/reply at <A href="http://www.adobeforums.com/webx?13@@.59b6ed86/4">How to <br />  Test AIR 1.5</A><BR>Replies by email are OK.<BR>Use the <A <br />  href="http://www.adobeforums.com/webx?280@@.59b6ed86!folder=.3c060fa3">unsubscribe</A> <br />  form to cancel your email subscription.<BR><BR></BLOCKQUOTE>

  • How to test the rule if multiline container is passing to the task?

    Hi Experts,
                      I am working on leave workflow. I have to get the approvers based on no of days of leave and leave type. I am getting these details in ITEMS_TAB internal table. I am passing this table to a rule. Now my problem is when I tried to simulate the rule I am not getting any input screen to enter the data.
    ITEMS_TAB is an internal table type of   "PTREQ_ITEMS_WF_TAB_FLAT".
    In the rule I have created a container by selecting the radiobutton "ABAP Dict. Data Type" and entered the above reference parameter is it right way?
    Is it possible to test the rule independently if I use multiline container as import parameter in my rule?  If so can anybody please tell me how to test the rule?
    Thank You.
    Srija.

    Hi Pavan,
                     Thank you.
                     To copy the values I am not getting any input screen to input the values. I observed one thing that the type that I am referring in the Rule is a deep structure. Is this is the reason that I am not getting the input screen to enter the values?
    I tested by creating aother rule by taking a field for that rule I am getting the input screen to simulate the Rule.
    Can you please suggest if the rule will not work then what I have to do? without the rule how can I get the agents?
    Thank you.
    Srija

  • How to test the interfaces in XI ?

    Hi ,
    Our Xi system is being upgraded from 3.0 to 7.0. I was asked to test the interfaces once the upgradation is done. I am not sure how this testing is to be done and will there be aby test plan for this??
    Can some one help me on this ??
    Thanks in Advance,
    Hemanthika

    To test, you must have imported all your scenarios in to your new system.then couple of general tips,
    1.testing can be done only after understanding the scenario.
    For this, u refer to the integration scenario in ur design. so this shall give u an idea about all the systems involved in integration and how the data flowing is between them and what kind of systems they are?
    2. For testdata, you might need of business or functional team as you cannot have any info on the file formats etc(depending on different scenarios invloved like R3, SOAP Databse etc)
    these are only general tips. but u can refer to many of the trouble shooting guides already available blogs in sdn for any sought of inputs.But then, SDN is always there.
    you can test/monitor ur results in RWB->component monitoring
    also in sxmb_moni
    thanks
    kiran
    Edited by: kiran dasari on Mar 17, 2008 4:44 PM

  • How to test Adapter Module

    Hi
    My Scenario is File - to - File
    I have written one adapter module and i have deployed in J2ee Engine as well. In sender communication channel i have given the JNDI name like
    <b>"localejbs/<JNDI Name>"</b>.I have tested the my file to file scenario by placing a file in source directory which i have mentioned in Communication channel Source Directory and File Name.But i didnt find any difference in target file.
    I have used the following blog
    <b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805</b>
    1.How to test the adapter module.
    2.How to configure my communication channel.
    Please help me its very urgent
    Best Regards
    Ravi Shankar B

    Hi,
    check JNDI service in visual admin to see if
    your service has the same name there
    >>>>1.How to test the adapter module.
    by using it in a channel
    >>>>2.How to configure my communication channel.
    add you adapter module to the adapter module tab
    in communication channel
    Regards,
    michal

  • How to integrate a .abc file into swf by using mxmlc?

    Enviroment: CrossBridge1.0.1, Flex SDK 4.6
    I use g++ to compile 2 .cc files (the c2as wrapper) & a .a file (the logic)  into a .swc file; then use this .swc as a library for mxmlc to compile the main .as file.
    The Makefile is as follows:
    "$(FLASCC)/usr/bin/g++" $(BASE_CFLAGS) -O4 -L. main.cc test_as3.cc -lmytest -emit-swc=sample.mytest -o mytest.swc
    "$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -library-path=mytest.swc -debug=false MainView.as -o test.swf
    everything is ok.
    But when I add some function calls in .as file, it uses the CModule package:
    in MainView.as:
    import com.adobe.flascc.CModule;
    CModule.malloc
    CModule.writeBytes
    CModule.free
    the mxmlc complains that
    Access of undefined property, CModule.malloc,
    Access of undefined property, CModule.writeBytes,
    Access of undefined property, CModule.free
    Definition com.adobe.flascc:CModule could not be found.
    I found the CModule.abc in sdk/usr/lib folder, and I explored that it do have those functions. but how to import this .abc package into .swf ?
    the follow command doesn't work:
    "$(FLEX)/bin/mxmlc" -static-link-runtime-shared-libraries -library-path=mytest.swc  -import CModule.abc -debug=false MainView.as -o test.swf

    First, you should check out the new version at CrossBridge — CrossBridge
    1.0.1 is quite old.
    For your problem, you don't need to compile Cmodule.abc into your swf, it is already present into your SWC file. Here is the reason why your import is not working.
    When you compile directly to SWF with crossbridge, the compiler put all the crossbridge stuff (CModule included) into the com.adobe.flascc namespace.
    The problem is that, when you build a SWC, there is no garantee that your end application won't include multiple SWC compiled by crossbridge. To prevent namespace clashing, (having multiple Cmodule under the same namespace), all the stuff in the SWC is namespace with the namespace you gave after the -emit-swc command. In this particular case "-emit-swc=sample.mytest"  your namespace is "sample.mytest".
    So you need yo change the import from :
    import com.adobe.flascc.CModule;
    to
    import sample.mytest.CModule;
    and it should work.
    More detail in the documentation : http://crossbridge.io/docs/Reference.html#section_gcc
    Building SWCs
    A SWC is the Flash Runtime equivalent of a shared library. You can link a SWC into a pure ActionScript project either with an IDE (Flash Builder, for example), or via the command-line ActionScript compiler (named mxmlc). A SWC contains the compiled ActionScript bytecode, along with an API catalog so that Flash Builder can perform code hinting while a developer writes ActionScript that uses the API exposed by a SWC.
    When you generate a SWC you must specify an AS3 package name to contain the generated code, and the internal Crossbridge boilerplate code. This lets you link multiple Crossbridge-generated SWCs into one SWF without any function or class collisions. Anywhere you would have previously seen a name starting with com.adobe.flascc this namespace will be replaced with the string passed in the gcc/g++ -emit-swc=... argument.
    -emit-swc=
    Emits a SWC that can be linked into a Flash Builder project or distributed for others to link into their own projects. You must specify the namespace that you want to use to replace the default com.adobe.flascc namespace, this lets you link multiple Crossbridge-generated SWCs into a single project.

  • How to test server proxy in ECC 6.0 ?

    Hi,
    Please tell me how to test server proxy created in SPROXY of ECC 6.0  .
    I am following this blog XI: Debug your inbound ABAP Proxy implementation .
    When i am executing the test service provider i am getting an error with " program terminated " message  creating a dump .
    How to test it through this method ? Is there any other way to test in ECC6.0
    Thanks,
    Laawanya D

    Hi,
    I have put a breakpoint in my proxy code and when i am trying to execute only, i am getting the error "Program terminated" .
    I am using ECC6.0 , so when i am clicking on Test Interface, i am not  getting  "Application Data Entry" parameters  as given in  Stefan's blog , but I am getting something like:
    Input:
    1.Generate template Data
    2.Enforce Stylesheet generation
    (I have checked both 1 & 2 .)
    Error Handling:
    1.Don't catch Application faults
    if i check this and execute , my program gets terminated , leaving a dump and if i dont set it also My program gets terminated .
    So what to do now ?

Maybe you are looking for

  • Apple TV cuts off when open Macbook. WHY IS THIS STILL AN ISSUE!!

    The issue is not fixed with Apple and it's really annoying. It affects all devices. Here is what I have found so far and I'm pulling my hair out. APPLE!! why have you not had a fix for this yet? You come out with the latest and greatest devices but y

  • DATASET_WRITE_ERROR :How to know the value of a field at the time of error?

    Hi All, I have an ABAP code that write some records to a  flat file. Am getting a DATASET_WRITE_ERROR when this program is run. in ST22 i checked for any info that could be of help. The Error Text is: "No Space left on device" Error code: 28. Now i w

  • Steps for: Internal table - convert to PDF - Sotre PDF files on UNIX Server

    Hi Experts,                   My requirement is to Split an internal table into multiple tables and generate a PDF for each of them.Then I have to place these files on a unix server directory. How can I achieve this? This seems like a very high level

  • Workflow approval from mobile in ECC5

    Hi All   We are already having workflow approval in R/3 where it happening from SAP inbox now my client want to migrate to mobile phone. Its it possible from ECC5 we dont have portal. How to implement it. Do we need to install any 3rd party like syba

  • Trouble Beat Mapping

    Hey Guys, Today is my first attempt at beat mapping and I'm having trouble. 1. I import the WAV file I want to beat map. 2. Select the WAV file 3. Select --> Tempo --> Adjust Tempo Using Beat Detection All the potential results it gives is quite off.