Problem of external variable using AS3 in FlashCS3

I'm moving the values of database in Flash (using AS3) thanks to a release of the simple PHP script! The problem is... I have not been able to get Flash/AS3 to recognize that she has received the allegedly externally loaded data, let alone prove that it is ready to work with the values passed into it somehow. So, OK...

.. the is my PHP (phpCode.php) code:

Moreover, the code I posted in this thread works!

In other words, if the first line of the AS3 code is as shown above, instead of containing a single period (.) in the path of the file, like my local code.

Tags: Adobe Animate

Similar Questions

  • Another problem of external variable

    Good day to all,

    Add a variable with a unique value to your call to your php file to eliminate problems of browser cache:

  • Loading of an external Variable

    Hi all

    I'm having a little difficulty to load an external variable in my flash movie.

    The principle of the film is to load XML data and display the expected looping data. It works just fine and she should.

    My problem starts when I remove the internal variable used to test and try and insert the same external variable, because this will change according to the views of the teams. I tried to add in the variable like

    < param name = "flashVars" value = "lead = teamA" / > "
    and
    < param name = "movie" value = "" flash/plasma.swf? = teamA teamName "/ >"

    And then I tried using a variety of methods in AS3 for display name. Just put a trace "Thomas" would be all that I need, but it has none of that.

    Any help would be greatly appreciated.

    Kind regards

    Tim

    Hello

    I just had the same problem - here's the code I used to access the variable "video_file" passed in Flashvars:

    root.loaderInfo.parameters.video_file;

    I hope this helps!

  • Qosmio X 300-problem of external monitor

    Hi all!

    I am the proud owner of a 300-157 x, but I have a problem. I would use my laptop as a desktop workstation and use an external VGA monitor to the output.
    Everything is fine when the operating system (Vista or Ubuntu) is responsible, but I can't figure out how to make the external monitor to view BIOS and POST messages to completely get rid of the internal display.

    Any clue?

    >... I can't understand how the external monitor to view BIOS and POST messages to completely get rid of the internal display.
    AFAIK this option doesn't exist. In General, computer laptop Qosmio is designed as a multimedia mobile gear and games. Of course you can use it with external screen or a TV, but I think that it is not designed to be desktop replacement. For example, professional laptop computers Tecra and Portege that can be used with a docking station to have multiply and different options for use with external display.

    I had X 300 but I ve never used it with external monitor so I can't say with certainty how it works but if I m remembering well this option to disable the laptop computer's display is not available.

    Every time when you want to use your laptop as a desktop replacement you should open it, start it, wait that the OS is fully charged, switch to the external display (FN + F5), and then close the cover.
    I know it's a little annoying, but, more or less, in 2 minutes, you can use your laptop as a desktop replacement, especially if you use an external wireless keyboard.

  • Restore the data in the external drive using Time Machine

    Hi y ' All!

    I store my photos in my external hard drive because there is not enough space in memory is internal. This is actually my second drive external hard than my first (Adata HE720) is not the beginning of last year. Unfortunately, my WD Elements has stopped working and I can't restore data using Time Machine, as the drive is not found in Time Machine under devices, and I'm sure that I restored my photo library and many other files from my old external drive using Time Machine.

    Can someone tell me how to recover my old files? I have many other important data here including my photos and I don't want to lose them. I'm fairly positive that Time Machine allows me to get the data as is the point of it.

    Thank you in advance!

    P.S. If you guys have any recommendation on a reliable external drive, please do tell me!

    Hey guys, I found the problem.

    It turns out that I'm never giving time Machine to deselect my external drive to backup; Therefore, there is absolutely no copy done during execution Time machine. I really don't understand why Apple made this the default behavior, but it is what it is.

    So, people, don't forget to go to Time Machine preferences and make sure that you remove the external hard drive that you want to backup under options. Once you do, you can enter the time Machine and your drive will appear under devices.

    See you soon.

  • app iOS using AS3 don't fit the screen dimensions

    I am building an iOS application using as3 and air to package the app on my iPhone 6. My problem is that I get a black bar above and below the app, the app itself is not full screen. Step screen is set to the dimensions of 6 iPhone screen.

    I tried adding the following images of launch in the app folder. [email protected], [email protected] and [email protected]. But it is not displayed correctly.

    Does anyone have fixes for this?

    Hi messarimohamed

    iPhone 6 & iPhone6 + require different Images of launch of older phones:

    For example,.

    The iPhone 6: Default-375w-667h@2x~iphone.png

    And iPhone6 +: Default-414w-736h@3x~iphone.png

    For more details in this regard, read the article below:

    http://blogs.Adobe.com/airodynamics/2015/03/09/launch-images-on-iOS-with-Adobe-Air/

    -Tushar,

    Adobe AIR Team

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

  • Problem with bind variable and as operator usage

    Hi all

    I use JDeveloper Version - 11.1.2.4.39.64.36.1 .


    While implementing the search functionality in the hierarchical Viewer, I created a link in the underlying t variable, created to find, due east of the request-


    SELECT XxamAnkitObjects.ID,

    XxamAnkitObjects.OBJECT_NAME,

    XxamAnkitObjects.OBJECT_TYPE,

    XxamAnkitObjects.PARENT,

    XxamAnkitObjects.PARENT_ID,

    XxamAnkitObjects.PARENT_TYPE

    OF XXAM_ANKIT_OBJECTS XxamAnkitObjects

    WHERE object_name like ' %: o_name ".

    What I'm trying to accomplish here, it is that the input provided by the user in the search box must match with the object_name in the table.

    During execution, I met the following error (from newspapers WLS)-

    < QueryCollection > < buildResultSet > [598] java.sql.SQLException: try to set a parameter name that does not intervene in the SQL: o_name

    at oracle.jdbc.driver.OraclePreparedStatement.setNullAtName(OraclePreparedStatement.java:5384)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setNullAtName(OraclePreparedStatementWrapper.java:1451)

    The following query has been generated during the operation of a research-

    < ViewObjectImpl > < buildQuery > [593] SELECT XxamAnkitObjects.ID, XxamAnkitObjects.OBJECT_NAME, XxamAnkitObjects.OBJECT_TYPE, XxamAnkitObjects.PARENT, XxamAnkitObjects.PARENT_ID, XxamAnkitObjects.PARENT_TYPE XXAM_ANKIT_OBJECTS XxamAnkitObjects WHERE object_name like ' %: o_name ".

    < ViewObjectImpl > < bindParametersForCollection > [594] params for ViewObject Bind: [model.vo.ObjectNameSearch] AppModule.ObjectNameSearch1

    Advice kindly the way ahead.

    Best regards

    Ankit Gupta

    The problem is that you used quotes around the variable binding. Try

    SELECT XxamAnkitObjects.ID,
           XxamAnkitObjects.OBJECT_NAME,
           XxamAnkitObjects.OBJECT_TYPE,
           XxamAnkitObjects.PARENT,
           XxamAnkitObjects.PARENT_ID,
           XxamAnkitObjects.PARENT_TYPE
    FROM XXAM_ANKIT_OBJECTS XxamAnkitObjects
    WHERE object_name like '%' || :o_name || '%'
    

    A note: this type of query will do a full table scan, as the searches with wildcards to the left cannot use a regular index. If you have multiple lines, this will impact on the research persormance hughe!

    Timo

  • Default presentation variable used in the SQL filter expression

    Hello
    I am trying to use a default value for a variable used in a sql expression in a filter presentation and could use assistance on why obiee stifles the syntax.

    I have a report prompted with a prompt on the name of the month (variable presentation framework - pres_month_name). The value read is used in a filter as an sql expression. The sql expression is a DEAL on the variable of presentation and its conversion to a number based on business rules.

    In the sql expression, I give you the presentation variable a default value for a variable of repository - rep_default_month_name. Repository variable is correct and no, based on business rules, returns an appropriate default month name.

    Now, if I hard code the value by default, there is no problem. Here is a sample of the filter:
    The month number less than or equal to * DEAL "{pres_month_name} {OCT}" WHEN "NOV" THEN 10 WHEN... END *.

    Notice that the variable of presentation is between single quotes, because this is an area of character. Once more, it works fine, but I don't want to hardcode the default, I want it based on the variable repository, therefore:

    The month number less than or equal to * DEAL '{pres_month_name} {ValueOf (rep_default_month_name)}' WHEN 'NOV' THEN 10 WHEN... END *.

    By having this syntax for default of the variable of the presentation, I receive a message from the incorrect values in a filter.

    This report is not only used on a dashboard, but used in a briefing book as well. Whenever a briefing book is updated, by default the presentation variable is used, because obviously, the presentation is not available in a briefing, and I don't want to use a hard-coded value.

    I could duplicate the report and adjust the sql to not use the presentation variable, but always use the repository variable that returns a month by default, but I would be duplication of effort and I have to do this on several requests.

    Thanks for the help!

    Try this syntax described in the blog of Shiva that follows...

    http://shivabizint.WordPress.com/2008/10/02/Oracle-BI-EE-variables-overview/

  • Update the external Variable label &amp; Business name

    I use Oracle BPM 10.3 MP2 Enterprise Edition
    Version: 10.3.2
    Build: #100486

    In our process, I have 2 external variables, such as agency_nm and narId, both are string with size 30 data type. variable agency_nm with label name 'Agency' and that is fine, but the other variable narId is the name of the label as "narId".

    How the label is changed to 'Nar Id' rather than 'narId '.

    Do we need to update in the fpr using studio or this can be done by the administrator workspace / process manager.
    I don't have such an option in the workspace administrator / administrator process.

    Thank you
    -Nathalie

    In the administrator of the Web console or process you can do.
    Go to the Variables, select the one you want and you have an option called internationalization where you can set labels.
    HTH

  • Operating on using AS3 objects that were created manually by a designer in the timeline

    I tried to build an application where a designer has created content in the chronology, as a sequence of keyframes.  Each keyframe is completely different.  When the application is started I choose one of the frames, move the playhead to that frame and stop (using stop).  Then, referring to the symbols in the keyframe by name, I use AS3 to allow drag / move, and I also do some programmatic movement.

    The problem is that when I use setChildIndex to change the order of a display object (to bring it to the foreground) on a drag object detaches from the timeline and appears in more keyframes (even if it has not been placed in the new keyframe by the Designer).

    Does anyone know how to use the setChildIndex without breaking the chronology?  Or is it possible to use the setChildIndex and then to restore the State of the object changed so that it detaches from the timeline?

    I have similar problems when I change the display list by taking objects created on the timeline and place them in a created programmtically the container.

    It seems it would be a fairly common use case, but I can't make it work.

    Thank you in advance for your help!

    I don't know if the discussion has tangented to help you solve your problem, then ignore it if it is resolved.  I think you must have the object which the index you change within another object which is also nailed to the mounting frame so that when you come out of the framework is still required for this frame within this object.  If all the objects you are drag / drop or it must be contained in a movieclip within this framework.

  • Buttons of... Reach... I use AS3, and I am a designer AS2. =(

    Hey there,

    I have a problem and I have scoured Youtube, Adobe, Lynda and the help of Flash... but my simple brain can't understand.

    I'm used to the selection of items, whether it's a button or movieclip and AS2 it tagging with going to the scene or frame. It seems that this is not an option more when you work in AS3 (I use Flash CS4).

    So I found some samples but it involed script a keyframe... beyond what makes no sense to me, it seems that designers need to be more programmatic approach to these things.

    So aparently you name case now and then there is what we called an event listener... after that, I was lost.

    I tried the new mix with the old code (old code, which means going to setting, etc.) and I just got a lot of mistakes.

    Long story short, I would like to just find a code for a movieclip or button to make it go on a chassis, and or the scene.

    Thanks for your help.

    Things have changed, although using instance names and coding on the timeline in frames has been around for a long time, so I don't see how you missed it.  The good news is, if you do not want to use AS3, you don't have to and you can set your files rather use AS2.  You cannot mix the two languages in one file and have something works well.  If you want to use AS3 programming, then you have a learning curve to overcome, especially if you have never used coding in AS2 timeline.

    As far as do a job of button/movieclip as a button...

    Assume that you create a button symbol.  Since this is a button, it is already a car animation object that will react to mouse interactions, but only visually at this stage.  The first thing you need to do to make it useful down must assign a unique instance name.  If you drag a copy of it on the stage of the library, and while it is still selected, enter you this unique instance for her name in the Panel properties... say you name "btn1.

    In AS3, to make a button with the code, you must add a listener of events and event handler for it function.  You may need to add a little (for different events, like reversal, deployment, by clicking on it, but for now let's just say you want to be able to click on it to go to a particular frame.)  In the scenario that contains this button, a layer of separate actions that you create in a similar framework where this button exists, numbered, you must add the event listener:

    Btn1.addEventListener (MouseEvent.CLICK, btn1Click);

    The name of the unique function for the treatment, the click of this button is specified at the end of the assignment of event listener, so now you just have to write this function:

    function btn1Click(evt:MouseEvent):void {}

    gotoAndPlay ("frameLabel"); or number of image without quotes

    }

    The gotoAndPlay function has changed a bit in AS3, so you shoiuld who look it up if you intend to try to use the scenes... but one recommendation is to not use scenes.

  • Creating external Tables using the EXECUTE IMMEDIATE in PL/SQL

    Hi guys,.

    I am trying to create an external Table using the EXECUTE IMMEDIATE in a procedure and I managed to compile and no errors were generated. But when I try to run it from sql using the exec command I get the following error:

    ------------------------------------------------------------------------
    ERROR on line 5:
    ORA-00911: invalid character
    ORA-06512: at "GEO. TEST_DDL', line 4
    ORA-06512: at line 5

    -------------------------------------------------------------------------

    I tried to check the whole statement to create the external table, but I can't find where is the error. Surprisingly, if I simply run the command table create external on sqlplus it works, but not a procedure.

    If anyone can help with ideas or experience?

    Geoffrey Kossami

    The error means that there is an identifier somewhere that starts with a nonalphanumeric. This is a typical mistake of editing. A procedure compiles correctly is not of course because the underlying dynamic sql running is OK. Which of course only be resolved when you try to run it.

    There is certainly a problem with the text you provide to be run as a piece of dynamic sql code. You should try to watch it with dbms_output and run this code in sqlplus. But your problem is with the code you run as dynamic PL/SQL, it is not itself compilable.

    Jack

  • Problems with Bind Variables

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
           co.ni_num
      FROM address a, contact co
     WHERE co.ref_num = a.ref_num
       AND (:1 IS NULL OR co.forename = :2)
       AND (:3 IS NULL OR co.surname = :4)
       AND (:5 IS NULL OR a.postcode = :6)
       AND (:7 IS NULL OR a.address = :8)
       AND (:9 IS NULL OR co.dob = :10)
       AND (:11 IS NULL OR co.ni_num = :12)
    With a jdbc connection, we use a web front end for a new management system. The SQL above runs since a search screen. We meet a few serious problems with bind variable and execution plans. When the above query is sent by the database 'AND' clauses could evaluate as follows:
    AND ('Tim' IS NULL OR co.forename = 'Tim')
       AND ('Clarke' IS NULL OR co.surname = 'Clarke')
       AND ('' IS NULL OR a.postcode = '')
       AND ('' IS NULL OR a.address = '')
       AND ('25051981' IS NULL OR co.dob = '25051981')
       AND ('' IS NULL OR co.ni_num = '')
    We cannot dynamically assign 'AND' conditions so they are sent through to the database. This translates FTS 99% of the time as the execution plan never prescribed any of the available indices.

    Someone has suggestions on how to better 'control' bind variables?

    Hello

    Don't you think that 'OR' Conditions are necessary to check for Null, where the binding variable is NULL or not.

    I think that rather than running the query from the front to FB, try to convey the values of some MS and run this query in the procedure, the extraction from the point of view Design coding application. Never fire the query of the frontal part.

    To come to the problem.

    SELECT co.ref_num, co.forename, co.surname, co.dob, a.address, a.postcode,
    Co.ni_num
    ADDRESS, contact co
    WHERE co.ref_num = a.ref_num
    AND (: 1 co.forename IS NULL or =: 2)
    AND (: 3 co.surname IS NULL or =: 4)
    AND (: 5 a.postcode IS NULL or =: 6)
    AND (: 7 a.address IS NULL or =: 8)
    AND (: 9 co.dob IS NULL or =: 10)
    AND (: 11 co.ni_num IS NULL or =: 12)

    Use the procedure.

    Fact exits of the indexes on the tables and stats are updated...?
    Try to predict explain it. ??

    -Pavan Kumar N

  • Hi people. Intend to purchase Apple Watch USA and use it in Europe. Will this be a problem? Can I use only a simple switch of 3rd party? I'm going to hurt same hardware or software?

    Intend to purchase Apple Watch USA and use it in Europe. Will this be a problem? Can I use only a simple switch of 3rd party? I'm going to hurt same hardware or software?

    Hello

    You will be able to use the watch in Europe.

    There is no regional differences in the hardware and the software can be configured to your chosen region. The supplied USB power adapter will have to pine trees located in the United States. A travel adapter will allow you to connect it to the European outlets.

    Alternatively, you can buy an Apple USB power adapter that is located in your country of destination / country.

    For example:

Maybe you are looking for

  • IPhone with Ghost touch issue - warranty claim

    I have an iphone 6, which was good for me, so I have no receipt. The phone was initially purchased in the United Kingdom. Recently, I noticed ghost touch which is almost what makes the phone unusable. Since I reside in Pakistan, I sent my iphone in D

  • 2nd hand Ipad Air 2, how to enable it?

    So I bought a used Ipad Air 2 from Currys/PC World 2 days there, the camera will not let me activate it because it is still linked with the previous owner (unknown). I called 2 days ago apple care and provided a receipt of curries that I purchased le

  • Since I have upgraded to an iPhone 6s I can't send

    I have an iMac with OS X El Capitan version 10.11.5.  I could send and receive iMessages on my iMac when I got an iPhone 5s, but since I have upgraded to an iPhone 6s I not was not able to send and receive iMessages onmy iMac.  However, I have no pro

  • No lights when the LAN cable is connected by Satellite A30-141

    I'm trying to connect my satellite A30 141 to a router using an rj45 plug. When I connect to the ethernet port, nothing happens. no lights on my laptop. someone at - it how to deal with this issue. I can reset the port of a Charter service engineers.

  • Agilent 34410 on e-net?

    Greetings, I have LabView 8.5 and a project currently using GPIB. (Agilant 34420) I did more have a GPIB Board (moved to a mini pc) and you want to use the Ethernet connection on my 34410 a. So, how to add it to the list of available items in the M &