shipment value of the PHP variable to Flash to load an xml file

I would like to load an XML file to the local location or on the server to ignore the name of the file. I use PHP to send the name of the Flash file.

Here it is the PHP code:

<? PHP

filesInDir ('C:\Documents and Settings\457305\My Documents\shrikant\Flash Tutorials\webassist');

function filesInDir ($tdir)

{

$dirs = rewinddir(3) ($tdir);

foreach ($dirs as $file)

{

If (($file == '.') |) ($file == '..'))

{

}

else if (is_dir ($tdir. » /'. $file))

{

filesInDir ($tdir. » /'. $file);

}

on the other

{

echo "fileName = $file";

}

}

}

? >

And here is the Actionscript code loading:

import flash.net.URLLoader;

import flash.net.URLRequest;

import flash.events.Event;

to import flash.net.URLVariables;

Stop();

Set the PHP file to load

var phpFile:String = " " http://localhost/WebAssist/test.php ";

var cons_xml:XML;

var xmlLoader:URLLoader = new URLLoader();

Specify the property dataFormat of the URLLoader to be "VARIABLE".

This ensures the variables loaded into Flash with the same variable names

xmlLoader.dataFormat = pouvez;

xmlLoader.load (new URLRequest (phpFile));

xmlLoader.addEventListener (Event.COMPLETE, processXML);

function processXML(evt:Event):void

{

trace (evt. Target.Data.FileName);

cons_xml = new XML (evt.target.data.fileName);

gotoAndPlay (2);

}

When I trace evt.target.data it displays "fileName = mainOpenEndedXML % 2Exml" and when I trace evt.target.data.fileName the file name is correctly displayed as 'mainOpenEndedXML.xml'.

But in the two next lines where the loading is done that it does not load the file IE does not play the SWF to an xml file.

I've searched the Internet to find answers, but not able to find solutions.

Loading works fine if I insert the xml file directly in the code and the SWF in the XML file plays correctly. Here it is the code for the same thing:

import flash.net.URLLoader;

import flash.net.URLRequest;

import flash.events.Event;

to import flash.net.URLVariables;

Stop();

var cons_xml:XML;

var xmlLoader:URLLoader = new URLLoader();

xmlLoader.load (new URLRequest ("mainOpenEndedXML.xml"));

xmlLoader.addEventListener (Event.COMPLETE, processXML);

function processXML(evt:Event):void

{

cons_xml = new XML (evt.target.data);

gotoAndPlay (2);

}

Any help on this would be greatly appreciated


You said you use PHP to send the name of the Flash file.  If the php file you provide only the name of the xml file that you need to load, then you will have to load the xml file in the same way that you show in your last set of code where you say that load you it directly.

Tags: Adobe Animate

Similar Questions

  • Cannot get the value of the session variable (using row wise initialization).

    Hi all

    I have a scenario where I'm trying to get the value of the variable session of two columns.

    Table of database consists of the name of USER, Country_Region, columns Country_SubRegion.

    For example: ChadraKanth, Americas, America West is the data.

    I wrote a Sql query in the block of session initialization:

    Select "CR", Country_Region, Country_SubRegion

    of row_wise_init

    where USERID = ": the USER"

    When I test the RPD code gives the result like this:

    CR WesternAmerica of Americas.

    In my report I have two columns, a region and an another subregion.

    When I try to filter with the session variable "CR" for the column region his error giving: session variable is not initialized with

    This is the default.

    Question:

    1. session variable is contains several values in the column?

    2. how to filter the report on columns of region and sub region?

    Please suggest me.

    Kind regards

    Chandra Khalil.

    Hello

    A session variable cannot store more than one column, 1 variable = 1 value (column 1), horizontal initialization allows to store several lines, multiple values in the same variable.

    If to a user, you have several lines with multiple values, you need horizontal initialization, but it cannot store in the variable the value of the region and subregion.

  • Why can't I just show the value of the reference variable on name full column

    Hello everyone,

    I want to display the value of the reference variable as column name for one of my analysis on OBIEE. However, when I write, it does not show the value, it shows just as text;

    VALUEOF ("rv_yesterday")

    How can I show the value of it?

    Can you help me please.

    Kind regards

    Dilek

    Raja,

    What is a date or a related data type in any variable of RPD - session or repository - will become a datetime. That's a given and you can play as much as you want with to_date, trunc, DATE (the way of the RPD), but will it be a datetime value. Period.

    Only when she is cast to a string rather than one of the 'date' data types can get rid of the component "hour".

    Edit: Sorry, I forgot to add: < dilek,="" that="" response="" is="" your="" answer="" as="" well,="" sorry.="" no="" "date="" without="" time="" component="" in="" proper="" data="" types."=""> >

  • using the function - how to use the values of the input variables on the table select statement names

    Hello community, I have a problem when creating a function. The purpose of this function is to check the table of weather gave yesterday or not. We must check this on different tables on different sachems. We are creating a function with input variables.

    CREATE OR REPLACE FUNCTION IN_SCHEMA.IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    )

    RETURNS INTEGER

    AS

    -Declaring variables

    v_is_true INTEGER.

    BEGIN

    SELECT

    CASE

    WHEN MAX (in_datefield) = TRUNC(SYSDATE-1)

    THEN 1

    ON THE OTHER

    0

    END

    IN

    v_is_true

    Of

    in_schema.in_tablename

    ;

    RETURN v_is_true;

    END;

    /

    When creating, I got error: [error] ORA-00942 (44:19): PL/SQL: ORA-00942: table or view does not exist

    How to use the values of the input variables on the table select statement names?

    Hello

    Here's a way you can use dynamic SQL statements for this task:

    CREATE OR REPLACE FUNCTION IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    in_first_date DATE DEFAULT SYSDATE - 1,.

    in_last_date DATE by DEFAULT NULL

    )

    RETURNS INTEGER

    AS

    -IS_YDAYDATA_TO_TABLE returns 1 if in_schema.in_tablename.in_datefield

    -contains all the dates in the in_first_date of the range through included in_last_date

    - and it returns 0 if there is no such lines.

    -If in_last_date is omitted, the search only the data on in_first_date.

    -If in_first_date is omitted, it defaults to yesterday.

    -Time parts of the in_first_date and in_last_date are ignored.

    -Declaring variables

    sql_txt VARCHAR2 (1000);

    v_is_true INTEGER.

    BEGIN

    sql_txt: = 'SELECT COUNT (*).

    || 'FROM ' | in_schema | '.' || in_tablename

    || 'WHERE ' | in_datefield | ' > =: d1'

    || «AND» | in_datefield | '< >

    || 'AND ROWNUM = 1';

    dbms_output.put_line (sql_txt |) '= sql_txt in IS_YDAYDATA_TO_TABLE");  -For debugging

    Sql_txt EXECUTE IMMEDIATE

    IN v_is_true

    With the HELP of TRUNC (in_first_date) - d1

    TRUNC (NVL (in_last_date

    in_first_date

    )

    ) + 1                -- d2

    ;

    RETURN v_is_true;

    END is_ydaydata_to_table;

    /

    DISPLAY ERRORS

    If you must use dynamic SQL statements, put all the SQL statement in a single string variable, such as sql_txt in the example above.  In this way, you can easily see exactly what will be executed.  Comment out the call to dbms_output under test is completed.

    Try to write functions that will address not only the question that you have now, but similar questions that you may have in the future.  For example, now that interest you only to the verification of the data of yesterday, but later, you might want to check another day or range of days.  The above function combines the convenience of a function simple (looks like yesterday data if you don't tell him otherwise) with the power of a more complex function (you can use the same function to check any day or range of days).

  • Value of the session Variable does not get updates.

    Hello
    I have a Session variable, I am assigning it an initial value [3] during the loading of the page. But, during the drop value menu selection and the "submit" button hit, I update the value of the Session variable.
    The update is unsuccessful and the session variable is preserved the initial value. Here's the code used to assign the value to the Session variable:

    < ISdefined ("FORM.submit") cfif >
    < cfset Session.numTasksDisplayed EQ #FORM.filter # >
    < cfelse >
    < cfset Session.numTasksDisplayed EQ 3 >
    < / cfif >

    When to use cfoutput after these instruction to check the value of the Session variable, its gives me the initial value of 3. Form.Filter is the value from the drop-down list menu option selected.
    #FORM.filter # #Session.numTasksDisplayed # < cfoutput > < / cfoutput > < cfabort >

    Any help is appreciated.
    Thank you and best regards,
    Vijayvijay77.

    First of all, you cannot use EQ with CFSET comparison operator. It should result in an error. If this is done on the bottom, there will be an error and nothing is set.

    Also, are you sure that FORM. Offer exists during the validation of the form?

    -Fernis

  • How to pass the PHP variable to menu jQuery Modal popup

    Hello

    Need help to find how to pass a variable in php (which is recovered in a while loop) in a modal window.

    There is a list of users on the page (shown with a while loop), with buttons Remove next to each of them.

    When the administrator clicks the button Delete for that specific user, a modal window appears confirming their action.

    I can't find a simple way to communicate the id of the user to be removed the modal (where the query is performed, once 'Yes to confirm deletion' is clicked).

    I deleted the jQuery, seeing as how this could change how the modal opens and closes.

    This is the modal:

    < div class = "modal" >

    < div class = "modal_wrapper" >

    < div class = "modal_title" > are you sure you want to delete this user? < / div >

    < div class = "modal_content" >

    < div class = "modal_button_no" > n < / div >

    < div class = "modal_button_yes" > Yes, delete it < / div >

    < / div >

    < / div >

    < / div >

    < div class = "delete_btn" > delete user < / div >

    The variable with the user name is:

    $user_id

    Any help would be much appreciated!

    Thank you

    It is a fairly simple procedure. Personally I'm not sure that its worth the effort for a box of administration but good we all have different opinions - there is no wrong or it.

    Suppose that your buttons delete on your page are anchor tags and you have locked down your database of names to create anchor tags. The value of dir below has been inserted via php through loop and is your RegID.

    Delete

    Delete

    Delete

    Delete

    When you click the anchor tag (that class name "delete") opens a lightbox. You also have to collect the value of "dir" at the time the lightbox opens - happening of value to a hidden in the lighbox code entry field.

    The value of the "dir" command is passed to the light table in a hidden form field:

    "You have a delete button in the light table with the class of ' delete_record ':

    Delete the record

    When the user clicks on the button Delete in the light table the value of hidden form field is harvested and forwarded to your page of delete_record.php via the jquery/ajax script below, were also on the same page.

    Your delete_record.php would look like below, assuming that you use mysqli or if you are using mysql then you would follow the same delete procedure as usual.

    <>

    $conn = new mysqli ('localhost', 'root', 'root', 'name');

    {if ($conn-> connect_errno)}

    echo $conn-> connect_error;

    Die (' sorry, can not connect to the moment, try again later ');

    }

    ?>

    <>

    delete the record

    $record_id = $conn-> real_escape_string (stripslashes (trim($_POST['record_id'])));

    $conn-> query ("' DELETE FROM names WHERE record_id = ' $record_id ' '");

    $record_deleted = "true";

    ?>

    An alert box will appear at the end, confirming that the record has been deleted. You do not have to deploy an ugly alert box - you sends the data to the device of light therapy from the delete_record.php page in a few nice melted in

    If you want to be more subtle about it.

  • How can I add values beyond the truncation variable environment of path of 1024 bytes on a Windows 7 computer?

    I get an error when I try to update the path in the system variables on my laptop Windows 7, how to add values beyond the limit of 1024 bytes?    Is there another limit or can this solution go beyond the character limit?

    Hi Ronald,.

    Thanks for posting your query in Microsoft Community.

    I understand from your description, that you have problems with the update the path in the system variables. I'll be happy to help you

    1. what you trying to accomplish?

    2. What is the exact error message that you receive?

    3. are you referring to the limit of characters of the file name or the path to the file?

    248 characters for the maximum path length and 260 for the maximum length of file name.

    For more information, you can consult this article:

    File naming, paths and namespaces

    http://msdn.Microsoft.com/en-us/library/aa365247.aspx

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • Block initialization parameter default value of the session variable used in default prompt as "(toutes les valeurs de colonne)" "

    Hello

    I have a business requirement for a dashboard that we built location to get the users that belong to a certain geographic location to the default view of the dashboard with guests together in their geographic area.  He is just giving them a default view to enhance their experience when they connect each day.   Because of the way that we put the default value for the period of time they watch, with the HELP of SAUVÉ the CUSTOMIZATIONS IS NOT AN OPTION.

    I created the default values for the prompt called "area" in a block of initialization. This variable is called V_USER.

    My problem is that only about 80% of users have a value of 'Area' in the hierarchy of our employees.   I would like to someone else by default "(toutes les valeurs de colonne)". "  I was unable to understand how and where do.

    Some of the things I've tried:

    (1)Setting the default value in the initialization of an empty space block ("in SQL)
    (2)Setting the default value in the initialization "(toutes les valeurs de colonne) block '"
    (3)Setting the default value in the initialization block 'null '.

    None of them have worked and the result is that the user who does not have an area ends with a load of zombie dashboard, and while the guest gave rise to fashion "- select value -", the user must press "Apply" again to get the dashboard to display the data.

    The text which lies behind the encircled area in green below correctly becomes the value of the variable to V_USER (it is empty as default and I don't have a box).

    For @{biServer.variables ['NQ_SESSION.]} {[USERS ']} the default zone must be @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {}

    In the red circles below you can see that the guest actually becomes a value: *) nqgtu(* )


    The illustration below indicates the default value for a user without a box. the second quick block is not updated until you press on apply again...

    Thanks for your comments.  I was not able to make this work for my needs.  I have however to solve the problem by changing using a 'SQL result' for my default selection.  Then I created a query that returns rows NULL unless there is a correct answer:

    SELECT 'Service Delivery MOS '. "' Organizational hierarchy. "" Area ".

    "MOS DELIVERY."

    WHERE ("organisational hierarchy". ("" Area number "> 0) AND ("Service Delivery MOS". "Organizational hierarchy" "." " Zone' = ' @{biServer.variables ['NQ_SESSION.]} {[V_USER']} {} ")"

    The "returns no line' I mentioned above resulted in all values being selected.

  • Get the value of the bind variable in backing bean class VO Impl

    Hello

    I have a VO that includes a bind "pOrgId" variable, the VO has a java VO Impl class that includes:

    /**
    * Returns the value of the variable to pOrgId.
    value of the variable * @return for pOrgId
    */
    public {getpOrgId() number
    return (Number) ensureVariableManager () .getVariableValue ("pOrgId");
    }

    So it is possible to obtain the value is concluded by the binding variable using this class in a backing bean? (I tried to import the VOImpl class in the bean to support, but getpOrgId is not available?).

    (JDEV 11.1.2.3.0)

    Concerning
    Carl

    Hello

    When you create a ViewObjectImpl class, none of these options is to generate the getter/setter for bind variable. Create a client class interface and expose the get method for the variable binding. Now, you can reference the method since a binding method in the ADF, which you then access a managed bean by calling

      BindingContext bctx = BindingContext.getCurrent();
      BindingContainer bindings = bctx.getCurrentBindingsEntry();
      OperationBinding oper = (OperationBinding) bindings.get("name of the method binding");
      Object returnVal = oper.execute();
    

    Frank

  • Check if the value of the DISPLAY variable - failed

    Hi friends,

    When installing oracle * 11 g R2 in Linux (Red Hat) 5 * I am facing some problems related to the DISPLAY affecting some Java attack on exception during launch 'runInstaller '. Please check below.
    I did face related questions before as well, but after setting the DISPLAY variable before start of installation (YES) always to avoid these problems, tried the same steps this time as well, but "no chance."


    =============================================================================================
    [data oracle@localhost] $. / runInstaller
    From Oracle Universal Installer...

    Check the Temp space: must be greater than 80 MB. Real 7440 MB passed
    Check the swap space: must be greater than 150 MB. Real 2527 MB passed
    Monitor: must be configured to display at least 256 colors
    > > > Could not execute auto check for display colors using command/usr/bin/xdpyinfo(1). Check if the DISPLAY variable is set. Failure of < < < <

    Audits of the requirement has failed. You must meet these conditions before

    continue with the installation,

    Continue? (y/n) [n] n

    Prerequisite required Ignoring failures. Persistence of...
    Preparations for the launch of Oracle Universal Installer from/tmp/OraInstall2012-05-12_01-26-43 PM. Please wait... [data oracle@localhost] $ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:164)
    in java.awt.Toolkit$ 2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution (unknown Source)
    to com.jgoodies.looks.LookUtils. < clinit >(Unknown Source)
    to com.jgoodies.looks.plastic.PlasticLookAndFeel. < clinit > (PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    =================================================================================================


    Current setting (values):
    [data oracle@localhost] $ echo $DISPLAY
    localhost.localdomain:0.0



    [root@localhost database] # echo $DISPLAY
    : 0.0
    [root@localhost database] # xhost + localhost.localdomain
    localhost.localdomain being added to access control list
    [data oracle@localhost] $ export DISPLAY
    [data oracle@localhost] $ echo $DISPLAY
    : 0.0

    Then follows the error message on the display settings and a trail of Exceptions Java (provided above)


    Help, please.


    Thank you
    Prashant Dixit

    Prashant_Dixit wrote:
    Hello

    Thanks for the reply - I received a system clock analog once I've run 'xclock' command as long as user root, but received an error message when even tried with the "oracle" user

    What EXACTLY do you (differently?) between the time where you succeed as a 'root' & fail as 'oracle '?

    I can assure you that xclock will fail if you use "su" as below

    Su - oracle

    You need TO connect DB Server system DIRECTLY as user 'oracle' with X 11 active transfer OS

  • Assign the values of the two variables in a select statement

    I'm trying to set two variables in a select statement in my definition of the procedure. I get the error identifier not valid "ATTRIBUTE" running the following code.
    create or replace procedure tbl_auth (
    Email in varchar2,
    UserLevel out number)
    as
      v_Email varchar2(100) := lower(Email);
      v_login_chk number := 0;
    begin
     select UserLevel into p_UserLevel,
            v_login_chk into v_login_chk
     from tbl_User
     where eMail=v_Email  
    
    exception
     when no_data_found then
      UserLevel := 0;
    end tbl_auth;
    Can I not connect two different values to two different variables in the same select?

    Thank you

    Published by: jerry8989 on August 22, 2011 07:06

    Published by: jerry8989 on August 22, 2011 07:06

    change as follows:

     select UserLevel, v_login_chk into p_UserLevel,
            v_login_chk
    

    IN ONE ALONE is enough.

    BTW, don't you have "login Check" column in the "tbl_user"? If you do, your selection should be like this:

    ...
    select UserLevel, loginChk into /* check the column name in your table */
             p_UserLevel, v_login_chk
     from tbl_User
    ...
    
  • Send the value of the element to IR flash chart

    Hello developers,
    I have a way to query.
    On a page, I have 2 parts: a flash chart, a single interactive report and a hidden element attached to the chart area. When the user clicks on flash graphic, the IR must have a filter automatically set as IR_COLUMN = VALUE. So I put in action link to go to the same page and fixed in article IR_COLUMN and the value "& P_HIDDEN_ITEM.". Surprise, value is not passed, on the contrary if I use: APP_ID. or another string of standard substitution or #VALUE # #MAX_VALUE # the value or it passes. Note that I don't want to send all the values in the chart. I also try to put a substitution string to properties of the Application and try to pass the value but still does not work. I use APEX 4.0.2.
    Thank you.

    Hi "user11978562"

    You mention that you have attempted to reference your item hidden in the field 'Value' in the region of action link. The entry of the names of elements in this area is not supported, and the value of this element will not be retrieved or used in the URL. Depending on the type of graph, a set list of substitution strings are accepted for example #LABEL #, and also the references to the FLOW_ID APP_ID, SESSION, are managed. If you want to reference the element hidden, then you could update your graphic to include the link, similar to the following query:

    SELECT 'f?p=&APP_ID.:2:&SESSION.:IR_REPORT_12345678:&DEBUG.:RIR,CIR:IR_JOB:&P2_HIDDEN_JOB_ITEM.' LINK,
           ENAME LABEL,
           SAL VALUE
    FROM   EMP
    ORDER  BY ENAME
    

    .. where the link includes a reference to page 2, the same page as my graphic and interactive report; demand IR_REPORT_12345678 identify my interactive report; the interactive report for WORK column, IR_JOBfilter; and a reference to my article on hidden page P2_HIDDEN_JOB_ITEM. Just ensure that your hidden item has a value in session state, and then by clicking on an element of your theme astral should define the IR filter. If you do not want to go to the IR filter of the column, instead of referencing an element hidden, then you could do just a graphical query value replace the reference to the element hidden by a column reference, similar to the following:

    SELECT 'f?p=&APP_ID.:2:&SESSION.:IR_REPORT_12345678:&DEBUG.:RIR,CIR:IR_JOB:'||JOB' LINK,
           ENAME LABEL,
           SAL VALUE
    FROM   EMP
    ORDER  BY ENAME
    

    .. where I added a reference to the JOB column in the column of the query LINK.

    In response to your comment that you tried to "+ set a string substitution to properties of the Application and try to change the value, but did not always work +", only a defined set of chains of substitution are accepted for graphics, and they are referenced using item-level associated with the 'value' point on the action link region.

    I hope this helps.

    Kind regards
    Hilary

  • problem with the chain (from database) to the php variable

    This will probably be an easy question for some of you, but I'm having a problem to assign a string to a php variable. I have several RSS feeds stored in a database. the stored information includes the RSS feed name, link to the actual site, link for just the RSS feeds for the site, etc...

    I'm running a / loop to generate the RSS feed. the result is simply the title of the site and the last 8 articles of the site. everything came out fine, with regard to the actual display and the title of the rss feeds showing upward, but I can't plug the RSS feed link without getting an error. This is the code I'm using (is all the code, but it's the only part that gives me bad):

    <? PHP include('RSS/rss_fetch.inc');

    $rss = fetch_rss ('RSS feed link goes here');
    table shows 8 results
    $items = array_slice ($rss-> points, 0, 8);
    Scroll through each element and echo
    foreach ($items as $item)


    {? >}

    the bold line is the only place where I am running into a problem. I have the correct rss feed link stored in the database. I would reference him in my code

    <? PHP echo $row_resourceFeed_rs ['rssLink'];? >

    However, if I replace the current link (the one in bold above) by the php in the database call, I get an error. can someone tell me please how to extract the link RSS feeds on the line in bold?

    mathruD wrote:

    $rss = fetch_rss ("");

    You cannot nest tags PHP inside a block of PHP code.

    The following should be all you need:

    $rss = fetch_rss($row_resourceFeed_rs['resource_rssLink']);
    
  • Passing a value to the parameter variable

    Here is a general example (all the code):

    _Global.XPosition = {function(whichMc:MovieClip,_xStart:Number,_xEnd:Number):Void}
    new Tween (whichMc, "_x", Strong.easeOut, xStart, xEnd, 1, true);
    }

    function loadFunction(success:Boolean):Void {}
    If (success) {}
    var image01ClosedPosition:Number = this.firstChild.childNodes [0].attributes.imageChangeX;

    hit01.onRollOver = function() {}
    xPosition(img01,image01ClosedPosition,0);
    }
    }


    In the XML file, the value in the fact that I'm pulling is - 29.
    If I do a trace of imag01ClosedPosition, I get the correct value of-29.
    If I change the call to the function to read xPosition(img01,-29,0); This also works

    I can't make it work the way I have it above.
    (I know that I failed a lot, but I wanted to give you an idea of the part that does not work.)

    Thank you, kglad. I wondered about this. I thought that the setting of a variable data type: number, it would have been a number, but I never got an error in the debugger so I thought it was ok. I traced the data type and figured out it was actually a string and changed the following line which has transformed the string to an integer and does the job:

    var image01ClosedPosition:Number = parseInt (RootNode1.attributes.imageChangeX);

  • Assign the value to the Application Variable via javascript

    Hello

    How can I assign value to an element of the application (not the page element) through javascript.

    I tried to assign the value as follows:

    $s ('F150_REGION_TEMP', region);

    where F150_REGION_TEMP is the application variable and 'region' is populated value in javascript.

    Kind regards
    Benz

    Hello

    Try

    
    

    BR, Jari

    Published by: jarola on March 1st, 2010 14:47

Maybe you are looking for

  • Laptop Pavilion G7: Touchpad

    Because Windows 10 has been installed (24/12/15), the lock on the touchpad light won't come to disable the touchpad. I always use the wireless mouse, no touchpad. I would like instructions to stay simple (old lady lol). Also noticed mention in my que

  • 'Read only' files impossible to remove. Compensation in 'Read only' window made no difference

    Was a reference to the file manager but file manager does not come with XP 2.     Any suggestions

  • How manage/remove startup programs in Windows 7

    Crikey! You people are things made and actions 'hard '! With "how manage/remove programs startup in Windows 7?",... Everything I've ever done is to find the startup program (in the "All programs" list, have a good overview of what is there, then, VER

  • Closing and with HP Pavilion 15 sleep disorders

    Hello. I hope someone can help me with this. I did an update around December 18, 2013. According to me, one of them was an update of the Bios. Stupidly, I didn't have to restore then. Since then the computer is not shut down or sleep properly. If I u

  • to create panoramic pictures does not work

    Now, I work with Photoshop elements 14. I used Photoshop elements 12. I want to create panoramic Photos, and I also have the training of 14 Photoshop elements program. In this program, the trainer will to ' "Assistant" and clicks with the key change