Element not defined in URL CF11 worked in CF9

We have recently upgraded to CF9 to CF11.  I'm having a problem where CF throws undefined in URL element when the variable is clearly defined in the URL. Here is the flow...

The user clicks on an icon to update an element.  A new window opens and the variables are passed in the URL.  User makes changes, present presses, CF makes updates, then the window closes.  It worked well in CF9.  Since the update when the user presses submit the window is never closed and CF throws the error.  Nothing has changed in the code.

Thanks in advance for any help!

Gary

I solved the problem.

Seems CF11 that the tag #CurrentPage # does not pass the data to the URL, but he did it in CF9.

Tags: ColdFusion

Similar Questions

  • DSN of ELEMENT not defined in the APPLICATION scope

    DSN of ELEMENT not defined in the APPLICATION scope


    Hi, I'm new to see my problem is as follows:

    I have 2 files:

    application.cfm that is inside
    d:\inetpub\wwwroot\mysite\

    and

    hand. CFC
    (d:\inetpub\wwwroot\mysite\cfc)

    inside of application.cfm I set an application variable:
    < cfset Application.DSN = "mydb" >
    (and connections mydb works if they are tested in coldfusion administrator)

    inside the main.cfc, I use the application variable:

    < cffunction = 'getLogin' access returntype = name "remotely" = "struct" output = "true" >
    < name cfargument = "nickname" type = "string" required = "true" >
    < name cfargument = "password" type = "string" required = "true" >
    < cfset returnedValue = structNew () >
    < name cfquery = "q_getLogin" datasource = "#application. DSN #">"
    SELECT id, nickname
    to allieve
    etc...

    ..
    < cfreturn returnedValue >
    < / cffunction >

    I call the SWC from flash, and I get the DSN of ELEMENT error undefined in APPLICATION scope.
    Someone has an idea of what could be bad?
    Thanks in advance,
    Mitja

    Not sure now why doesn't he call application.cfm, but my solution to CF6 time should include the application.cfm within my CFC... you can add a cfinclude within the item, on the very top, not inside any function... every time that Flash calls the CFC this code will be executed before the function call.
    If this component is also used by CF, then you can wrap which include in a conditional... You can check application.applicationName...
    HTH

  • Element not defined by structure error

    Receiving an error when I run the code that says "Evaluation of the element is not defined in a structure CFML referenced as part of an expression.  I can't paste the code into the editor for some reason any.  Please click on http://pastebin.com/2A059LEE to go to the source code.  Please click on http://pastebin.com/31a2qEYS to go to the error page.  Any help would be greatly appreciated. 

    Actually no, it's more simple than that. On line 53, you set the value in a structure called "structJobType". On line 79, you reference a structure called "structJobStatus". Completely different struct.

  • element not defined in the url

    Hi-
    I was assinged to create screens .cfm for our web page. I have absolutely no. Cold Fusion or HTML background. I have some introductory information to C++, c# and VB. I use Dreamweaver to create ColdFusion pages.

    Our Web site is used to display data, not to submit information on the forms. The first time that a user presses my form called detail_staging.cfm a SQL statement executes happening three variables of the previous grid using:

    SOME stuff
    Control PANEL
    WHERE card_data.card_year = < CFQUERYPARAM value = "" #URL.FY # "CFSQLTYPE ="cf_sql_char"> AND"
    CARD_DATA.card_month = < value CFQUERYPARAM = '#URL. "MY #" CFSQLTYPE = "cf_sql_char" > AND
    agencydim.agy_agency_name = < cfqueryparam value = '#URL. "AGN #" cfsqltype = "cf_sql_char" >

    This works very well and displays information based on the year, month and the Agency. I wanted the user to be able to change the month, but keep the year and the Agency. I've added:

    < action = "FORM detail_staging.cfm" method = "get" > "
    < div align = "center" > < span class = "page_text_bold" > select month: </span >
    < select name = "Month" class = "page_text_side_header_content" >
    < cfoutput query = "Month" >
    < option value = "#CALENDAR_MONTH #" > #CALENDAR_MONTH # < / option >
    < / cfoutput >
    < / select >
    < input type = "submit" value = "go" >
    < / div >
    < / MAKE >
    CALENDAR_MONTH is filled in the drop down based on the query 'months '.

    HERE'S THE PROBLEM:
    When I try to change the month, I get "Element FY is undefined in URL" how to keep the value of the variable for FY and AGN that appeared the first time the page is loaded and change only the month?

    I tried to find an answer to this for a day and a half now and I hope that you all can help me.

    Thank you very much
    Wendy

    Thanks for your reply. I'm still not it. The stuff that I looked up
    told to put an entry inside the form tag, but when I do that he wants a
    name - so I named it.

    Now, it does not display anything. Is there something I'm missing or one
    more precise steering. You can direct me.

    You also put it in the block so that the url variable
    is resolved in its value?


    Select the month:






    You will also need your name chosen to match the url name you use in the
    query. They both must be either 'MY' or 'months '.

  • Element is not defined in the url

    Hi all

    The cfif don't seem to work, if I add sectorid = 1 to the url, it works, but throws an error if there is no value. Why does this work? Thank you

    < cfquery name = "qNames" datasource = 'sales' >

    Select * of the COMPANY, the sector

    where COMPANY.sectorid = sector.sectorid

    < IsDefined (url.sectorID) cFIF >

    and sector.sectorid = #url.sectorid #.

    < / cfif >

    < / cfquery >

    but the page generates an error if there isn't page.cfm without any parameter of sectorid

    If you have a mistake you want to help, don't just tell us that you got an error, tell us what error.  Inded attentive to the error message will tell you generally where you're going wrong.

    Also, look at this:


    Select * of the COMPANY, the sector
    where
    Sector.sectorid = #url.sectorid #.

    If there is no sectorid, what SQL that creates?

    The SQL sent to the DB should be part of the error message, btw...

    --
    Adam

  • Element is not defined in the SESSION

    Anyone has an idea why a user of the site would get a message error "some element is not defined in the SESSION" and no one else? Whenever the user presses a page that calls a session variable from a previous page that has defined the variable, they get an error message of session. They get the same results with different browsers, IE and Firefox. ???

    The problem is solved itself. I don't know how. I scoured the user through a few test pages (which does not require a login) who comes to set a variable in session to text, and then on the next page shows the session variable. It has worked well. I thought: "maybe it has to do with the session during a connection.
    Then I put the test pages in a folder that requires a login and test pages worked. Then I had the user to access pages throwing error "undefined in session", after logging, and the error disappeared. I don't know what happened.

  • RADIOV element is not defined in the FORM

    Hello
    I have this.
    I want to insert values such as blue, yellow or red
    in the field of database col_Radio.

    what I have to change to make it work?

    Thank you

    ERROR:

    RADIOV element is not defined in the FORM

    Exceptions

    15:53:22.022 - term Exception - in C:\CFusionMX7\wwwroot\ACT_inputcolor.cfm: line 10
    RADIOV element is not defined in the FORM.

    Note: line 10 is "#Trim (Form.RADIOV), #

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

    What I need to change to the radiov element to define or is this the only mistake?

    In other words, the FORM variable name must be identical to yourname of the field.

    When you submit your form, this

    Becomes
    #FORM.group1 #.

  • Work of fine WebLogic Server machine url same p6 eppm primavera also works in server but the client lan both URLs machine works not

    Work of fine WebLogic Server machine url same p6 eppm primavera also works in server but the client lan both URLs machine works not

    When I install weblogic and eppm works in client machine only 10 minutes after does not always work in Server

    Thanks for the reply,

    I solved that

    Eppm proxy server is enabled, so I remove the proxy in internet option, it works very well in all the URLs of web client machine p6

  • XML Query when all the elements are not defined.

    I have the following:

    We could have a situation that elements of PRICES are not defined, but all others are. I can t solve this problem by performing a union query. Is there a way appropriate or better?

    Thank you

    DECLARE

    x_xml CLOB

    " : = ' < OTA_ResRetrieveRS xmlns =" http://www.OpenTravel.org/OTA/2003/05 "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " Version = "7" "xsi: schemaLocation =" http://www.OpenTravel.org/OTA/2003/05 OTA_ResRetrieveRS.xsd "TimeStamp =" 2015-05 - 20 T 14: + 00:00 40:44.000000 "Target ="Test"TargetName ="AUS"TransactionIdentifier ="2716181"> " ""

    < success / >

    < errors >

    < error Type = '0' doc = "None" / >

    < / errors >

    < ReservationsList >

    < HotelReservation RoomStayReservation = "true" ResStatus = "Internal" >

    < Type UniqueID = "14" ID = "514803980" / >

    < services >

    < Service >

    < TPA_Extensions >

    < TPA_Extension >

    < WiFiFees NumberConnections = '2' = ConnectionType "F" LengthOfStay = "4" / > "

    <!-RATES DAYS = '7' UPGRADE = LEVEL-10 "20.65" = "21.95' LEVEL-20 ="39.95"/ >

    < RATES DAYS = UPGRADE '3' = '8.85"LEVEL-10 = '13.95' LEVEL-20 ="23.95"/ >

    < RATES DAYS = UPGRADE '1' = "2.95" LEVEL-10 = "5.95" LEVEL-20 = "9.95" /-->

    < / TPA_Extension >

    < / TPA_Extensions >

    < / service >

    < / services >

    < ResGuests >

    < ResGuest >

    profile of <>

    < ProfileInfo >

    < Type UniqueID = "21" ID = "356321732" / >

    < profile >

    < TPA_Extensions >

    < TPA_Extension >

    < DRI_INFO MemberLevel = GuestType 'SAM' = 'GST' OwnerStay = "N" / >

    < / TPA_Extension >

    < / TPA_Extensions >

    < customer >

    < PersonName >

    Tomas < name > < / name >

    Lane Donald < GivenName > < / GivenName >

    < / PersonName >

    < / customer >

    < / profile >

    < / ProfileInfo >

    < ProfileInfo >

    < Type UniqueID = "21" ID = "356321734" / >

    < profile >

    < TPA_Extensions >

    < TPA_Extension >

    < DRI_INFO MemberLevel = GuestType 'SAM' = 'GST' OwnerStay = "N" / >

    < / TPA_Extension >

    < / TPA_Extensions >

    < customer >

    < PersonName >

    James < name > < / name >

    Amanda < GivenName > < / GivenName >

    < / PersonName >

    < / customer >

    < / profile >

    < / ProfileInfo >

    < / profile >

    < / ResGuest >

    < / ResGuests >

    < RoomStays >

    < ideal >

    < BasicPropertyInfo HotelCode = "LOL" / >

    < price >

    < RoomRate RoomID = code '17105' = 'SAM' >

    < GuestCounts >

    < GuestCount Count = "1" / >

    < / GuestCounts >

    < / RoomRate >

    < / price >

    < TimeSpan Start = end of the '2015-05-20' = "2015-05-24" / >

    < / ideal >

    < / RoomStays >

    < / documents >

    < / ReservationsList >

    < / OTA_ResRetrieveRS > ';

    BEGIN

    I'm

    IN (SELECT x1.roomnumber

    x1.property

    x2.days

    x2.upgrad

    x2.lev1

    x2.lev2

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05"")

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau VARCHAR2 (2000) PATH 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , property VARCHAR2 (2000) PATH 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections".

    , connecttype VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType") x 1

    , XMLTABLE (xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / TPA_Extension/RATES " )

    PASSAGE x1.rates

    Days of COLUMNS VARCHAR2 (2000) PATH '@DAYS '.

    , upgrad VARCHAR2 (2000) PATH '@UPGRADE '.

    , lev1 VARCHAR2 (2000) PATH ' @LEVEL-10'.

    LEV2 VARCHAR2 (2000) PATH "(@LEVEL-20') x 2.

    XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) PATH 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    First name VARCHAR2 (2000) PATH 'Profile, customer, PersonName, GivenName') x 3

    the Union - is - it possible to get results without it?

    SELECT x1.roomnumber

    x1.property

    null

    null

    null

    null

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05"")

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau VARCHAR2 (2000) PATH 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , property VARCHAR2 (2000) PATH 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections".

    , connecttype VARCHAR2 (2000)

    Path "Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType") x 1

    XMLTABLE)

    xmlnamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) PATH 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    First name VARCHAR2 (2000) PATH 'Profile, customer, PersonName, GivenName') x 3

    ORDER BY 8)

    LOOP

    Dbms_output.put_line (i.roomnumber

    || ' '

    || students

    || ' '

    || i.Days

    || ' '

    || i.upgrad

    || ' '

    || i.Lev1

    || ' '

    || i.Lev2

    || ' '

    || i.Folio

    || ' '

    || i.LastName

    || ' '

    || i.FirstName

    || ' '

    || i.Connections

    || ' '

    || i.CONNECTType);

    END LOOP;

    END;

    I can t solve this problem by performing a union query. Is there a way appropriate or better?

    Yes, you can use an OUTER JOIN:

    SELECT x1.roomnumber

    x1.property

    x2.days

    x2.upgrad

    x2.lev1

    x2.lev2

    x3.folio

    x3.lastname

    x3.firstname

    x1.connections

    x1.connecttype

    FROM XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05')

    , ' / OTA_ResRetrieveRS/ReservationsList/documents ".

    PASSAGE xmltype (x_xml)

    COLUMNS Numerobureau PATH VARCHAR2 (2000) 'RoomStays/RoomStay/RoomRates/RoomRate/@RoomID '.

    , the path of the VARCHAR2 (2000) 'RoomStays/RoomStay/BasicPropertyInfo/@HotelCode '.

    , rates XMLTYPE PATH "Services, Services, TPA_Extensions, TPA_Extension.

    , profiles XMLTYPE PATH "ResGuests/ResGuest/profiles/ProfileInfo.

    , connections VARCHAR2 (2000) path 'Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@NumberConnections '.

    , connecttype PATH VARCHAR2 (2000) 'Services/Service/TPA_Extensions/TPA_Extension/WiFiFees/@ConnectionType '.

    ) x 1

    XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05')

    , ' / TPA_Extension/PRICE.

    PASSAGE x1.rates

    Days of COLUMNS VARCHAR2 (2000) '@DAYS '.

    , upgrad VARCHAR2 (2000) path '@UPGRADE '.

    , lev1 PATH VARCHAR2 (2000) ' @LEVEL-10'.

    , lev2 PATH of VARCHAR2 (2000) ' @LEVEL-20'.

    ) (+) x 2

    XMLTABLE)

    XmlNamespaces (DEFAULT 'http://www.opentravel.org/OTA/2003/05'), ' / ProfileInfo'

    PASSAGE x1.profiles

    Folio VARCHAR2 COLUMNS (2000) path 'UniqueID/@ID '.

    , name VARCHAR2 (2000) PATH ' profile/client/PersonName/family name.

    , name VARCHAR2 (2000) PATH "profile, customer, PersonName, GivenName".

    ) x 3

  • TITLE element is not defined in BLOGPOST

    I have several errors that I could use some help on.  Here is one of them.  I mention that in if I bring all of this in order to troubleshoot it properly.  Maybe it's worth noting that I'm through the learncfinaweek.com hands on (ORM) and have most of the labour code except the categories that keep the boxes checked in editBlogPost.cfm and categories do not save correctly.  That being said, this is the first error:

    The cfdump showed that title get out, so I would like to know why he's not the var.

    TITLE element is not defined in BLOGPOST

    The error occurred in gpost.cfm C:/ColdFusion11/cfusion/wwwroot/learncfinaweek/chapter1solution/admin/content/blog/listblo: line 34

    listBlogPost.cfm:

    "< cfimport taglib ="... /... "/ customTags" prefix = "ct" / >

    < ct:securityCheck redirectPage = "#cgi.script_name #" / >

    < cfset Chemin_admin = createObject('learncfinaweek.chapter1solution.admin.cfc.system').getBasePath (cgi.script_n OM) / >

    <!--> pull Blog Posts

    < cfset blogPosts = EntityLoad ('BlogPost') / >

    < cfoutput >

    < ct:layout section = 'blog' >

    < section = 'blog' active 'post' = ct:navigation / >

    < div class = "span10" >

    Blog < h2 > < / h2 >

    < form class = 'bar of navigation-form drop down to the right' >

    < a class = "btn, btn-primary" href = "< cfoutput > #adminPath # < / cfoutput > / content/blog/editblogpost.cfm" >

    < i class = "icon icon-more" white > < / i >

    New Blog Post

    < /a >

    < / make >

    < table class = "table pointing to the table" >

    < thead >

    < b >

    Title < th > < /th >

    < th > publish Date < /th >

    < th > Actions < /th >

    < /tr >

    < / thead >

    < tbody >

    < cfloop array index = "" #blogPosts # "="blogPost">"

    < b >

    < td >

    <!--> title

    #blogPost.title #.

    < table >

    < td >

    <!--> publication date

    #dateFormat(blogPost.datePosted,"mm/dd/yyyy") #.

    < table >

    < td >

    <!-edit-> Post

    < a href="#adminPath#/content/blog/editblogpost.cfm?id=#blogPost.id#" > < i class = 'icon-edit' > < / i > < / has > "

    < table >

    < /tr >

    < / cfloop >

    < / tbody >

    < /table >

    < / div >

    < / ct:layout >

    < / cfoutput >

    blogPost.cfc:

    persistent component = {'true'

    The property name = the column 'id' = 'blogpostid"fieldtype = generator of 'id' ="increment ";

    Name of the property = "title" ormtype = "text";

    Name of the property = "Summary" ormtype = "text";

    Name of the property = 'body' ormtype = 'text ';

    Name of the property = "dateposted" ormtype = "timestamp";

    Name of the property = "createdDateTime" ormtype = "timestamp";

    Name of the property = "modifiedDateTime" ormtype = "timestamp";

    Name of the property = "deleted" ormtype = "boolean";

    Property = "comments" singularname = "comment" fieldtype = name "one-to-many" cfc = "how" fkcolumn = "blogpostid" cascade = "all";

    Fieldtype 'categories' = property name = "one-to-many" cfc = "blogPostCategory" fkcolumn = "blogPostid;

    public string function getCategoryIDs() {}

    var categoryList = ";

    If {(hasCategories())

    for (var categoryPost in getCategories()) {}

    categoryList = listAppend (categoryList, categoryPost.blogCategory.id);

    }

    }

    CategoryList return;

    }

    public string function getCategoryNames() {}

    var categoryList = ";

    {if (hasCategories ())}

    for (var categoryPost in {getCategories())}

    categoryList = listAppend (categoryList, categoryPost.blogCategory.name, ',');

    }

    }

    CategoryList return;

    }

    }

    To get the value of the property X of an entity, use myEntity.getX () instead of myEntity.X. It's

    blogPost.getTitle () instead of blogPost.title

  • When I visited video pre elements 12 or 13 and save work later. When I bring it to the top the rendered file is not registered. I have to make it again. He can be saved. 1 pre Ele would save.

    When I visited video pre elements 12 or 13 and save work later. When I bring it to the top the rendered file is not registered. I have to make it again. He can be saved. 1 pre Ele would save.

    [transferred to Photoshop Elements discussion forum]

  • Date of end of QueryAvailablePerfMetric works is not when to start, and intervalid is not defined

    The method QueryAvailablePerfMetric in the Performance Manager management entity has optional intervalId beginTime, endTime parameters. I say required because these settings are played saying "you don't need to be activated. However when they are not defined then we receive NPE to the method call. It works only when it is provided with all the settings.

    Hello

    I tried to call the QueryAvailablePerfMetric API at my end, passing only the reference entity VM, through the CROWD and he sent me back all of the counters available on this virtual machine and did not return a null pointer exception. I wanted to check with you if you can share your snippet of sample code when calling this API.

    Thank you

    Angela

  • Element "" is not defined

    Any idea on the below error. I'm getting this while submitting a form, but this happens only in the production.

    ' Element "is not defined in an object of type Java class coldfusion.filter.FormScope'

    Please help if someone have faced the same situation.

    It is a little hard to say anything without the full error message and the code, in that respect.

    But what does the error: you try to refer to a form variable, which does not exist. I suspect it is because you are trying to refer to a form variable, which does not exist. Just a guess.

    The bit curious is that said variable form does not seem to have a name. I suspect that you have a code that is on the form dynamically named fields, and the code has a logic error in it.

    --

    Adam

  • [AIR 3.0] New JSON feature does not work in Flashpromanager.new: Error #1065: Variable JSON is not defined

    After the upgrade of the AIR SDK 3.0 in Flash Professional CS5.5, I found a few problems.

    First of all, the JSON class in the library of as3corelib.swc get now a few compile errors:

    1061: call to a possibly undefined method decode a reference of static type Class.

    1172: definition com.adobe.serialization.json:JSON could not be found.

    At first, I was completely puzzled, because I had the good ' import com.adobe.serialization.json.JSON; ' reference.

    and I got the "as3corelib.swc" referenced in my ActionScript properties, so how that was not found?

    Then, I discovered that it is because it is in conflict with the new internal JSON class included in AIR 3.0

    (perhaps it should have been called something else, to avoid conflicts with the own Adobe as3corelib library).

    The new native JSON class's decode() method. It is now called parse()

    OK, so I tried to use the new class JSON, but after changing the decode() with parse() and removing

    the "import com.adobe.serialization.json.JSON; ' reference, Flash tells me that"Variable JSON is not defined.

    Really? The JSON class is displayed in the window pop-up Flash Builder code completion,

    complete with its all new parse() and stringify() methods! So why it say it is not defined?

    Also, my SWF file gets compiled without error at all, so that checks that the new 3.0 libraries are in place.

    I get the error "JSON is not defined" when running in ADL, not at compile time. Why?

    In order to spend in the AIR SDK 3.0, I've followed this guide:

    http://kb2.Adobe.com/CPS/908/cpsid_90810.html

    I know that this is on the upgrade to AIR 2.7, but I guess the steps to switch to AIR 3.0 would be very similar.

    only with the AIR3.0 SDK package, instead of 2.7.

    I also took care of type version = '13' in all the XMLs, instead of version = "12" as indicated in this guide, which is intended to 2.7.

    Also, I followed this advice on the addition of -swf-version = 13 in the properties of the project in Flash Builder window:

    http://blogs.Adobe.com/Cantrell/archives/2011/08/how-to-use-the-air-3-Beta-SDK.html

    But this does not seem to make a difference, because, even if I use Flash Builder for editing code (which is usually used for Flex).

    my project is a Flash Professional project, not a Flex, and when you test the project, Flash Builder works Flash Professional

    to compile, then run adl.exe (it's the same thing that if you click on the option "control / essay film / in the AIR Debug Launcher (Mobile)" within Flash Pro).

    In the window 'settings of ActionScript"in Flash Professional, I also have the good airglobal.swc referenced (from the AIR SDK 3.0).

    and the same airglobal.swc is referenced in Flash Builder as well (in 'referenced libraries') in order to get the correct code completion.

    I tried all sorts of things to try to make it work, but no luck. Still getting the error "JSON is not defined" when running.

    I'm getting desperate in this regard. I'll have to return to AIR 2.7.1 to stop wasting time on this issue.

    BTW, I also have another problem unrelated (though maybe it happens for the same reason as the other problem).

    Now Flash Builder says the method getTime() in my code, as if it was no longer a method of an instance of class Date.

    I have a line where I ask the timestamp like this:

    TS = new Date () .getTime ();

    Worked perfectly well until now with AIR 3.0.

    Now, when hovering the mouse cursor over the orange icon "(?)" appearing to the left, Flash Builder says

    "Access of undefined property getTime. Why?

    Documentation AS3 says nothing about getTime() get depreciated any thing of the kind:

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/date.html

    In fact, in the completion popup code to watch as Flash Builder, now, it is not any mention

    set or get methods, as you can see here:

    http://img836.imageshack.us/img836/4793/dateinstancepopup.png

    I guess I can use property hung up instead of . getTime() but I don't know why I'm getting all the methods I had before.

    Any ideas why this is happenning? Especially the dreaded error 'JSON is not set.

    Well, after a lot of tinkering, I think I've finally found a way to finally make it work!

    I created XML files modified with the profiles required for AIR 3.0 and after many tries, it finally works!

    I downloaded here: http://www.mediafire.com/?d5e761frl5px4

    Here are the steps needed to get AIR 3.0 works correctly:

    1. Place the three files in the folder "c:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\Players.
    2. Then, make sure that you have unpacked the AIR SDK 3.0 in the folder "c:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\AIR3.0" do not crush the contents of the folder "AIR2.6", as suggested by the "Overlay AIR SDK" article (linked in the post above). He gave me problems. It is preferable to use another separate folder. My XML files are pointing to this new folder "AIR3.0".
    3. In the folder "c:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\Common\Configuration\ActionScript 3.0 ' create a new folder named"AIR3.0 ". Inside this folder, copy the "airglobal.swc" file located in "c:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\AIR3.0\frameworks\libs\air.
    4. Finally, you will need to keep the file "sample.xml - descriptor ' the ' c:\Program Files (x 86) \Adobe\Adobe Flash CS5.5\AIR2.6\samples" folder, but change the attribute xmlns to 'http://ns.adobe.com/air/application/3.0'.

    Yes, you must change this in the AIR2.6 folder, even if the SDK has been in AIR3.0. It's because of the way the publication settings work in Adobe Flash. It is hardcoded in a DLL, so that cannot be changed. Is not very intuitive.

    I think the AIR SDK installation should be much simpler than that! I know that Adobe AIR is intended for developers, not for end-users, but yet, all these procedures upgrade not well documented are a pain in the *. I lost a LOT of hours in this (more than half a day), with what should be a simple update!

    Adobe should make an SDK installation if we do not have to be tinkering with all these procedures errors whenever a new update is released!

    Well, I hope that these XML files are useful to someone and avoid more frustration.

    Kind regards

    OMA2k

    PD: BTW, I still have the problem of. getTime() described in my post above, but it is not very important.

    because I can still use the property hung up. Yet, it puzzles me why this is happening.

  • I have installed Compatibility reporter my Skype add in would work. Now every time I have start fire fox I get and error componets.classes['@softage.ru/skypeFfextesion;1 "] is not defined." How can I not this error? Thank you

    I used to use Skype to call directly from firefox. Double click on the number. It has stopped working. Support told me to allow the compatibility reporter, but now, I still get the error that I explained in the question

    This is an indication that the Skype extension does not work properly.

    You can force an extension to install, but this does not mean that the extension works, you need to delete Skype and wait for an update.

Maybe you are looking for