Flex SDK error - ImportRecord cannot be cast to DefineFont

Hello, I'm using the FlexSDK, tried both stable and latest version from svn.
Trying to Embed a source file into actionscript that is a swf containing an ImportRecord2 field that
pulls in a font from an external swf to it.
Gives this error message, works fine if the font is included manually.
Error: Unable to create source hmt_test_asset.: flash.swf.types.ImportRecord cannot be cast to flash.swf.tags.DefineFont
[Embed(source='../resources/test.swf')]
Is this documented and intended behavior?  What could be some possible workarounds for this?
If this is a bug, do I need to get the smallest possible swf reproducing the error?
Thanks,
Robert Peters

Please file a bug with a small test case.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • Flex SDK Error

    I'm trying to setup the Flex SDK locally (the bugquash event over the weekend
    inspired me) and have got everything installed except I'm getting 2 errors after
    I import all of the sample projects:
    1012: The static attribute may be used only on definitions inside a class.
    airframework/airframework/src/mx/core Version.as line 18 1238554510921 1101
    and
    1012: The static attribute may be used only on definitions inside a class.
    rpc/rpc/src/mx/core Version.as line 17 1238554489765 1100
    I should be good to go if I can figure out what I'm doing wrong with these 2
    things.
    This is all that is in those files, but it is the mx_internal static...line that
    is causing the issue (in both projects)
    import mx.core.mx_internal;
    * @private
    * Version string for this class.
    mx_internal static const VERSION:String = "3.4.0.0";
    Any ideas?
    Thanks.

    <div class=Section1><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Your paths look incorrect.  Airframework should not have another<br />airframework in it, and doing so probably throws off the include of version.as<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Alex Harui<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Flex SDK Developer<o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><a href="http://www.adobe.com/"><span style='color:blue'>Adobe<br />Systems Inc.</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'>Blog: <a href="http://blogs.adobe.com/aharui"><span<br />style='color:blue'>http://blogs.adobe.com/aharui</span></a><o:p></o:p></span></p><br /><br /><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";<br />color:#1F497D'><o:p> </o:p></span></p><br /><br /><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><br /><br /><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span<br />style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Gareth Arch<br />[mailto:[email protected]] <br><br /><b>Sent:</b> Thursday, April 02, 2009 6:27 PM<br><br /><b>To:</b> [email protected]<br><br /><b>Subject:</b> Flex SDK Error<o:p></o:p></span></p><br /><br /></div><br /><br /><p class=MsoNormal><o:p> </o:p></p><br /><br /><p class=MsoNormal>A new discussion was started by Gareth Arch in <br><br /><br><br /><b>Developers</b> --<br><br />  Flex SDK Error<br><br /><br><br />I'm trying to setup the Flex SDK locally (the bugquash event over the weekend <br><br />inspired me) and have got everything installed except I'm getting 2 errors<br />after <br><br />I import all of the sample projects: <br><br /><br><br />1012: The static attribute may be used only on definitions inside a class. <br><br />airframework/airframework/src/mx/core Version.as line 18 1238554510921 1101 <br><br /><br><br />and <br><br /><br><br />1012: The static attribute may be used only on definitions inside a class. <br><br />rpc/rpc/src/mx/core Version.as line 17 1238554489765 1100 <br><br /><br><br />I should be good to go if I can figure out what I'm doing wrong with these 2 <br><br />things. <br><br /><br><br />This is all that is in those files, but it is the mx_internal static...line<br />that <br><br />is causing the issue (in both projects) <br><br /><br><br />import mx.core.mx_internal; <br><br /><br><br />/** <o:p></o:p></p><br /><br /><p class=MsoNormal><span style='font-family:Symbol'>&middot;</span>  @private <o:p></o:p></p><br /><br /><p class=MsoNormal><span style='font-family:Symbol'>&middot;</span>  Version string<br />for this class. <o:p></o:p></p><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:Symbol'>&middot;</span> <br />/ mx_internal static const VERSION:String = &quot;3.4.0.0&quot;; <br><br /><br><br />Any ideas? <br><br />Thanks. <o:p></o:p></p><br /><br /><div class=MsoNormal><br /><br /><hr size=2 width=200 style='width:150.0pt' align=left><br /><br /></div><br /><br /><p class=MsoNormal style='margin-bottom:12.0pt'>View/reply at <a<br />href="http://www.adobeforums.com/webx?13@@.59b87f68">Flex SDK Error</a><br><br />Replies by email are OK.<br><br />Use the <a<br />href="http://www.adobeforums.com/webx?280@@.59b87f68!folder=.3c060fa3">unsubscribe</a>< br />form to cancel your email subscription.<o:p></o:p></p><br /><br /></div>

  • JPA with EclipseLink, error Entity cannot be cast to Entity, any help?

    Hello, I'm currently deploying a JPA project with EclipseLink on a MySQL db, it's been working fine, however, I'm receiving a problem of this type:
    java.lang.ClassCastException: beans.Empleado cannot be cast to beans.Empleado
    Where Empleado is my Entity, basically the problem happens here, where I store a result from a SQL select into a List and then assign the results into variables, it was working with no problems before, but now, everytime I run the code, the error shows up, and the only way to make it work at least 2 - 3 times, is restarting the Glassfish Server, here's the code:
    Query q = em.createNamedQuery("Empleado.findByIdEmpleado");
    q.setParameter("idEmpleado", 2);
    List<Empleado> listaEmpleado = q.getResultList();
    for(Empleado empleado1 : listaEmpleado){
    testString = empleado1.getTecnologia();
    But as I said, it was working fine before, so I don't think is actually a code problem, I guess the "cast" reference is happening here:
    for(Empleado empleado1 : listaEmpleado)
    The errors shows up with every function where I make this kind of casting......
    As a comment, I have a similar project at home, and I don't have these problems, this is happening on a project at work, but both project are the same, it's just I'm doing this one at work and the other at home, which is working fine, thanks in advanced, have a nice day, I just hope I was clear about this!
    Edited by: user3538005 on 08-11-2011 09:08 AM

    Hola,
    It's quite strange stuff :) Mainly the exception, beans.Empleado cannot be cast to beans.Empleado.
    I think it's because of some configuration problem, related to classloader:
    EclipseLink has it's own classloader, if your beans.Empleado is loaded by EclipseLink's classloader, and by a different one (default classloader), you will have two beans.Empleado classes in your JVM, and these classes are different, so you cannot cast them :O
    so your eclipselink's classloader has its beans.Empleado(1) class, and after executing your query you have a list with the results each of them in beans.Empleado(1).
    and your dao class, or whatever, tries to cast the beans.Empleado(1) to the default classloader's beans.Empleado(2).
    what did you change in the config when it started not to work?

  • Troubleshotting Flex SDK errors

    Hello,
    I have (and some people have reported) issues when using FCSH that we can't resolve because it doesn't provide a detailed enough error report.
    For instance we have these laconic errors:
    - "null" (yes, only "null")
    - "Illegal character in path" (what path? nothing seems wrong in the command)
    Is there a way to get more details?
    Thanks

    I think the question was "Which flex components will not work in right way if we compile project with Flex SDK 4.5 and then run it in Flash Player 10.0 enviroment?"
    For example - as I understand some new components in Flex SDK 4.5 use flash.globalization classes - so new spark formatters and ?validators? will not work in in Flash Player 10.0.
        * spark.formatter.NumberFormatter
        * spark.formatter.CurrencyFormatter
        * spark.formatter.DateTimeFormatter
        * spark.globalization.SortingCollator
        * spark.globalization.MatchingCollator
        * spark.globalization.StringTools
    Also we have to pay attension to 'string sorting'  functionality - because it could be dependent on flash.globalization also.
    Are there another 'danger' components in Flex SDK 4.5 ?

  • Getting Error:::oracle.jbo.domain.Date cannot be cast to java.lang.String

    Hi Friends,
    I have simple req'.
    i have one date filed in OAF page...if user has change the date filed..means if he incresed by 2 days..then i need to call one procedure..if not no need to call....
    first am picking that date field to by uusing prepared stmt and putting in to one variable..like below
    try {
    ps1 = am.getOADBTransaction().getJdbcConnection().prepareStatement("SELECT -------");
    ResultSet rs2 = ps1.executeQuery();
    while (rs2.next()) {
    schDate = rs2.getString(1);//storing the value
    } catch (Exception e) {
    throw OAException.wrapperException(e);
    Next..am picking the current value like this(user can change the value) like below...
    OAViewObject viewObj = (OAViewObject)am.findViewObject("simpleVO");
    String currSchDate = (String)viewObj.getCurrentRow().getAttribute("iDate");
    java.text.SimpleDateFormat dtFormat = new java.text.SimpleDateFormat ("MM/dd/yyyy");
    StringBuilder date = new StringBuilder(dtFormat.format(currSchDate));
    Then am comparing the values like below..
    if (schDate.equals(date)) {
    String outParamValue = "";
    String secondOutParamValue = "";
    but am geting the below error
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.jbo.domain.Date cannot be cast to java.lang.String
         at xxuss.oracle.apps.abc.webui.xxPGCO15.processFormRequest(xxGCO15.java:594)
    Appriciate any help...its very urgent
    Regards
    Harry

    Instead of :
    String currSchDate = (String)viewObj.getCurrentRow().getAttribute("iDate");Try
    String currSchDate = viewObj.getCurrentRow().getAttribute("iDate").toString();
    -Anand

  • Java 7 update 51 cause the following error: java.util.HashMap cannot be cast to java.awt.RenderingHints

    Since I installed Java 7 update 51 accessing the EMC VNX Unisphere Console cause the following error: java.util.HashMap cannot be cast to java.awt.RenderingHints.
    I rolled back to Apple Java 1.6 -005 now I am getting the following error: plug-in failure.
    I think this is cused by the fact that the EMC console application has been written for java 7 and not java 6. Has anybody faced and solved the "java.util.HashMap cannot be cast to java.awt.RenderingHints." error ?

    Hi Yaakov,
    The error is thrown from the  eclipselink.jar:2.5.1 which is a JPA provider .
    Is the above jar bundled in the Oracle Product you are working upon or was this downloaded from external site ?
    If the jar is bundled with the Oracle Product, go ahead a log a SR with Oracle Support with Toplink product group to drill down on the issue, as the issue is happening internally or thrown by the Eclipselink implementation and we've no control....
    Hope it helps!!
    Thanks,
    Vijaya

  • Error parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta name="generator" content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Transform</title>
    <link type="text/css" rel="stylesheet" href="css/CascadeMenu.css">
    </head>
    <body id="Bdy">
    Hello all, I've run into a perplexing problem with a new and unexptected error on a web application that resides in a JDeveloper 11g environment. I just run it from JDeveloper on my laptop. No deployement other than to the default server at run time Integratedweblogicserver. I am doing an XML transform using XSLT and it has been working fine until I tried to use the page yesterday. I get the following error. javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417) at jsp_servlet.__transform._jspService(__transform.java:109) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at oracle.xml.jaxp.JXSAXTransformerFactory.reportConfigException(JXSAXTransformerFactory.java:759) at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:371) at oracle.xml.jaxp.JXSAXTransformerFactory.newTransformer(JXSAXTransformerFactory.java:272) at weblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransformerFactory.java:209) at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:145) at jsp_servlet.__transform._jsp__tag2(__transform.java:223) at jsp_servlet.__transform._jspService(__transform.java:102) ... 25 more Caused by: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:357) ... 30 more ------------------------------------------------ I changed no code or moved any XML or XSLT file. I do see an error in the log regarding a bad URL ----------------------------------------------- XML-22108: (Error) Invalid Source - URL format is incorrect. XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). &lt;[ServletContext@10343785[app:QSBQAR module:QSBQAR-QSBQAR-context-root path:/QSBQAR-QSBQAR-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@699744[ GET /QSBQAR-QSBQAR-context-root/Transform.jsp?reqtype=1 HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; . ------------------------------ Here is the XML ------------------------------ <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    ACME Bird Seed Co. Capture the Road Runner using a boulder, rope and bird seed. Quinn Brian 00 00 00 00 00 00 00 00 00 11 08 08 08 08 00 43 43 Hours have been approved. APPROVED Smart Jean 00 00 00 00 00 00 00 00 00 Hours approved. APPROVED --------------------------------------------------------------------------------------- Here is the XSL --------------------------------------------------------------------------------------- <?xml version="1.0" encoding="windows-1252"?>
    <!-- Root template -->
    <h2>Project Hours Worked</h2>
    ----------------------------------------------------------------------------------------- Here is the JSP with the transform ----------------------------------------------------------------------------------------
    <table>
    <tr>
    <td>Week Ending Date:--</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Client</th>
    <td></td>
    <th>Project</th>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Last Name</th>
    <th>First Name</th>
    <th>Task</th>
    <th>---</th>
    <th>Sun</th>
    <th>Mon</th>
    <th>Tue</th>
    <th>Wed</th>
    <th>Thu</th>
    <th>Fri</th>
    <th>Sat</th>
    <th>---</th>
    <th>Ttl</th>
    </tr>
    <tr>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td>---</td>
    <td>---</td>
    <td></td>
    <td>---</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td>---</td>
    <td></td>
    </tr>
    <tr>
    <td>Total Hours: </td>
    <td></td>
    <td></td>
    </tr>
    <%@ page contentType="text/html;charset=windows-1252"%><%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %></table>
    <script type="text/javascript" src="scripts/CascadeMenu.js">
    </script>
    <% int bad = 1; %>
    <div id="menuBar" class="menuBar">
    <div id="Bar1" class="Bar">Home</div>
    <div id="Bar3" class="Bar">Accounting</div>
    <div id="Bar4" class="Bar">Help</div>
    </div>
    <div style="background:#84ffff; color:Aqua; "><br>
    <br>
    <p style="color:Orange; font-size:x-large; font-style:italic; font-weight:bold;
    font-family:Arial, Helvetica, sans-serif; "><img src="images/logoqsq.jpg" style="border:1" height="120" width="120" alt="Q Squared">
    </p>
    </div>
    <div>
    <p style="color:Black; font-size:x-large; font-style:italic; font-weight:bold; font-family:Arial, Helvetica, sans-serif;"><img src="images/dilbert.gif" alt="Dilbert" height="100" width="100">
    ? ? Welcome to Q Squared-Brian Quinn Consulting - Manager Time Approval</p>
    </div>
    <div>
    <table width="100%" class="table1">
    <tr>
    <td style="width:15%; border-width:medium; background-color:silver ">
    <h3>Contractor Resources</h3>
    <ul style="list-style-type:circle; ">
    <li>Time Entry</li>
    <li>Profile</li>
    </ul>
    <h3>Manager Resources</h

    LOL - I didn't think about the forum message area having trouble displaying my XML XSLT problem
    It seemed to mix the code with the site XML.
    Oh brother
    The deal is this.
    The XML XSLT transform was working and now it is not and I think it has something to do with
    the HTTP links for either the Oracle core and/or XML TAGLIBs. Either that or the W3.org has
    outdated XSLT http links.
    Anyone know if changes have been made to any of these taglib links?
    This in the JSP
    <!--
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked3.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}" />
    -->
    This in the XSL
    <!--
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    -->
    And the other JSP having the same problem.
    <!--
    <%@ page contentType="text/html;charset=windows-1252"
    import="java.util.List, qsbqar.XMLHandler, org.w3c.dom.NodeList,
    javax.xml.transform.*, javax.xml.transform.stream.*,
    org.w3c.dom.Node, oracle.xml.parser.v2.*, java.io.File,
    java.io.FileReader " %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <xsl:param name="employeeID" value="2"/>
    <%session.setAttribute("employee_ID", request.getParameter("consultantID")); %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked4.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}">
    <x:param name="employeeID" value="${sessionScope.employee_ID }"/>
    </x:transform>
    -->
    Edited by: B of Carbon on Dec 19, 2010 12:25 AM

  • Flex SDK 3.3 to SDK 3.5 Upgrade error

    Hi ,
    I am getting following error message while try to run my application fro Flex Builder 3
    VerifyError: Error #1053: Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory.
    I have upgraded my Flex SDK from 3.3 to 3.5.
    Application is working fine in ANT build but giving the above erroe message with IDE build.
    All the SWC files are cleaned and rebuilt.

    Not the right forum for it, but:
    http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html
    http://www.adobe.com/support/documentation/en/flex/4/releasenotes_flex4_sdk.html
    http://helpx.adobe.com/flash-builder/release-note/release-notes-flex-4-5.html
    http://helpx.adobe.com/flash-builder/release-note/flex-4-6-sdk-release.html

  • Flex SDK 4.5 error in compiled resource bundle

    I have just started using Flex SDK 4.5 (I was using 4.1 before).
    I am compiling my resource bundles into SWF files and using them. I am including the required framework bundles also when compiling my resources into SWF.I have copied the generated SWF file to the deployment folder. When I start the application, I am getting the following error even though this bundle is included in my generated SWF file.
    Error: Could not find compiled resource bundle 'core' for locale 'en'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\ dev\hero_private_beta\frameworks\projects\framework\src\mx\resources\R esourceManagerImpl.as:367]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E: \dev\hero_private_beta\frameworks\projects\framework\src\mx\resources\ ResourceManagerImpl.as:287]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()[E:\dev\he ro_private_beta\frameworks\projects\framework\src\mx\core\FlexModuleFa ctory.as:631]
        at mx.core::FlexModuleFactory/docFrameHandler()[E:\dev\hero_private_beta \frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:601]
        at mx.core::FlexModuleFactory/docFrameListener()[E:\dev\hero_private_bet a\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:129]
    following is the command that I use to compile resource bundles into SWF file:
    C:\"Program Files (x86)"\Adobe\"Adobe Flash Builder Burrito"\sdks\4.5.0\bin\mxmlc -locale=en -source-path=locale/{locale} -include-resource-bundles=core,effects,skins,styles,components,layout ,MyAppResources -output MyAppResources_en.swf

    Any ideas on this will be much appreciated. I have to step back from 4.5 to 4.1 if I do not get past this error. Thanks.

  • Flex SDK 4.11 4.0 error after upgrading from 4.10 3.9

    I have initially developed my flex applicaition in Flex SDK 4.6. I was able to upgrade my application to 4.10 3.9. But to support iOS 7 I am now using 4.11 sdk & air runtime 4.0. But unfortunately it is giving me this error:
    Error #1065: Variable spark.skins::ActionScriptSkinBase is not defined. at global$init()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as:34] at Function/<anonymous>() at mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addDefaultStyleToProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:972] at mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addStyleToProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:899] at mx.styles::StyleProtoChain$/initProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:258] at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:11189] at mx.core::UIComponent/regenerateStyleCache()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:11252] at mx.managers.systemClasses::ChildManager/addingChild()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:168] at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:360] at mx.managers::SystemManager/initializeTopLevelWindow()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:3065] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:2851] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:2731] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/preloaders/Preloader.as:572] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()

    I have initially developed my flex applicaition in Flex SDK 4.6. I was able to upgrade my application to 4.10 3.9. But to support iOS 7 I am now using 4.11 sdk & air runtime 4.0. But unfortunately it is giving me this error:
    Error #1065: Variable spark.skins::ActionScriptSkinBase is not defined. at global$init()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as:34] at Function/<anonymous>() at mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addDefaultStyleToProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:972] at mx.styles::CSSStyleDeclaration/http://www.adobe.com/2006/flex/mx/internal::addStyleToProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as:899] at mx.styles::StyleProtoChain$/initProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as:258] at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::initProtoChain()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:11189] at mx.core::UIComponent/regenerateStyleCache()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/core/UIComponent.as:11252] at mx.managers.systemClasses::ChildManager/addingChild()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:168] at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as:360] at mx.managers::SystemManager/initializeTopLevelWindow()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:3065] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:2851] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/SystemManager.as:2731] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/preloaders/Preloader.as:572] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()

  • OpenWithDefaultApplication in flex sdk 3.5.0.12683 and ReferenceError: Error #1069:

    I  am trying to use openWithDefaultApplication to open the files in default application for the desktop application developed using AIR.
    Development environment is as follows
    - Flex builder 3.0 eclipse plugin .
    - Flex SDK version is 3.5.0.12683.
    - AIR 2.0 sdk, I have used instruction specified at  http://www.adobe.com/support/documentation/en/air/2/releasenotes_developers.html#h, to overlay AIR2.0 sdk  with Flex 3.5.0.12683. SDK.
    I get the following error when openWithDefaultApplication is executed
    ReferenceError: Error #1069: Property openWithDefaultApplication not found on flash.filesystem.File and there is no default value.
        at air_openwithdefaultapp/onFileSelect()[D:\www\flexprojects\air_openwithdefaultapp\src\air_ openwithdefaultapp.mxml:28]
    I tried to trace/alert the flex and air runtime verions and I get following  details, 3.5.0.12683 for Flex SDK and  2.5.0.16600 for AIR.
    The same code works fine when I use the Flash Builder4 with Flex 3.5 sdk.
    Any idea what is going wrong here?

    Hi Swapnil,
    1)Try Overlaying SDK to 2.0 like:
                     a)Download the AIR SDK 2.0 zip
                     b)and paste it at C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 and
                     c)extract it.Check whether this SDK selected in Flex Compiler.
    2) Make sure that you have changed the AIR version number in descripter file (-app.xml) for example <application xmlns="http://ns.adobe.com/air/application/1.5"> here have to change 1.5 to 2.0.
    3) In the Flex Compiler panel check that which Flex SDK (3.5) has been selected. Might it different from defaultly selected.
    In Flex Builder you can check in two ways :
              a)Window>Preferences>Flex>Installed SDKs(Default)>Check SDK selected.
              b)Select Project folder in Navigator Panel and Mouse Right click >properties>Flex Compiler>Check SDK selected.
    4)Make sure that the opening files have accessibility with this function.
    -Vamshi

  • Flex SDK Download - checksum error

    Hello,
    I downloaded the Flex SDK from
    http://www.adobe.com/products/flex/downloads/
    When I unzip it (with WinRAR), I get a checksum error.
    Any advice?
    Thanks.

    Thanks!   I noticed the whole site was down for a bit and is now back up.    Just wanted to be clear that this was not my initial problem - it was just the flex sdk 3.1  - which is still not available, at least for me.

  • Weblogic 10.3 error apache ListOrderedMap cannot be cast to java HashMap.

    Hi All,
    I'm having following code which is using spring(version: 2.0) dao
    public Map<String, String> getEmplyeeMap() throws Exception {     
              StringBuffer query = new StringBuffer("");
              query.append("select emp_name,dept_name from EMPLOYEE order by emp_no");
              logger.info("Inside getEmplyeeMap...Query to be executed :"+query.toString());     
              Map<String, String> EmpMap = new LinkedHashMap<String, String>();
              List<Map<String,String>> l_lstQueryRes = (ArrayList<Map<String,String>>)getJdbcTemplate().queryForList(query.toString());
              logger.info("l_lstQueryRes:"+l_lstQueryRes);
              if (l_lstQueryRes != null)
                   for (int l_iLoop = 0; l_iLoop < l_lstQueryRes.size(); l_iLoop++)
                        Map<String,String> l_mapRowData = new HashMap<String,String>();
                        l_mapRowData = (HashMap<String,String>)l_lstQueryRes.get(l_iLoop);                    
                        EmpMap.put(l_mapRowData.get("emp_name"), l_mapRowData.get("dept_name"));
                   }//End of for loop
              }//End of if loop          
              logger.info("EmpMap list size is.." + EmpMap.size());
              return EmpMap;
         } //End of getEmplyeeMap
    getting below error
    org.apache.commons.collections.map.ListOrderedMap cannot be cast to java.util.HashMap
    I'm thinking this problem is occurring because of jdk1.6 version, is anyone come across this problem?? This same working good in weblogic9.2 version.
    Thanks advance.
    Regards,
    Sharath.

    user9222505 wrote:
    Ok, thanks. So how do i determine where we are at since I have this "465"? How does that relate to a particular patch?
    Logger@9214443 3.5.3/465I believe, you are on 3.5.3 unpatched, and if I correctly remember, after applying the 3.5.3 patch 4 it should like like 3.5.3p4/... or 3.5.3.4/... (don't remember which one)... You would have to download that patch from your Oracle Support website (whichever you use), and apply the patch to a pristine extracted directory of 3.5.3 according to instructions in the patch zip.
    Starting with a recent version no more manual patching is necessary and you can download full distributions of patched versions from Oracle Support, but I don't think that applies to 3.5.3, yet (although it is possible that they recreated patch artifacts like that for earlir versions).
    If you do not have a support contract then you cannot download a patch or patched versions. You can only download a new full release which always has any previously released patches incorporated, though 3.5.3 is the last 3.5 full release if I correctly remember... and 3.6 comes with code incompatibilities at a few places so it is not a drop-in replacement...
    Best regards,
    Robert

  • [Flex SDK in Linux] Errors running a .swf file

    Hi! Trying to set up flash development on my linux machine. Using FDT in Eclipse. The version of Flex sdk I have is 4.6.0.23201-2.
    I have in the first place had problems running the project. It gets terminated instantly and I get this output in my terminal:
    [Info] Listening to port 7935.
    Using Flex SDK 4.5 Debugger Adapter.
    [Info] Could not connect to the player, will try to connect for the next 72000 ms
    [Info] Listening to port 7935.
    [...etc etc...]
    [Info] Could not connect to the player, will try to connect for the next 8000 ms
    [Info] Listening to port 7935.
    [Info] Could not connect to the player, debug session stopped. Maybe you do not have the Debug Flash Player installed.
    Does "the Debug Flash Player" here mean Flex?
    And this is what happens when I run the .swf file that is compiled by FDT (Using Flex..), in Flex: http://justpaste.it/dlr3
    Any idea what could be the problem? Thanks!

    Hey Mark,
    Thanks for replying.  It's a standalone swf.  I'm still stuck on this issue.  It seems like it would be simple but it's baffling me.

  • Cannot find older flex SDK Installs

    Please can someone tell me where i can find the Flex SDK
    2.0.1 install.
    The documentation here references it, but the FDS 2.0.1
    installer is not available.
    http://www.adobe.com/support/documentation/en/flex/2/install.html
    I tried FTP'ing to the macromedia FTP server looking for
    older versions, but i could not login.
    If anyone has a link to archived version of the software,
    please post.
    Note, that i do not want the HotFix 1/2/3 packs, i just need
    the 2.0.1 without hotfixes,
    Thanks
    Mick

    You won't find the source .as files which is what it sounds like you are searching for. The SDK distribution has everything compiled and packaged up into libraries. The source is available in the SDK's SVN repository.

Maybe you are looking for

  • Batch change dpi from 72 to 300 and export as jpg

    Hi All, I have searched high and low, and have yet to find a script that will accomplish this task. I am in need of a script that will change Illustrator's default 72 dpi, to 300 dpi so I can print a series of (about 200) respectable looking images.

  • Approval for Lighthouse Resource

    Hi All, When i create a user and if i dont assign other resources but only the default one i.e Lighthouse then its goes to the approval process but comes back with NO APPROVALS required. How can put the approval even for the Lighthouse Resource.

  • Without regex package

    How can I check a string that belongs to a grammar or not without importing regex package in my java program. If Anybody have good idea please give .

  • 10g Preview: Handling included form

    I have a page that looks in part like this: <?xml version="1.0" encoding="windows-1252"?> <page xmlns="http://xmlns.oracle.com/uix/controller"       xmlns:ui="http://xmlns.oracle.com/uix/ui"       xmlns:ctrl="http://xmlns.oracle.com/uix/controller"  

  • How do you delete documents in Word for Apple?

    How do you delete documents in Word for Apple?