[svn:fx-trunk] 5121: Fixing generated SymbolClass class names to take packages into account during FXG - SWF conversion.

Revision: 5121
Author: [email protected]
Date: 2009-03-01 19:08:01 -0800 (Sun, 01 Mar 2009)
Log Message:
Fixing generated SymbolClass class names to take packages into account during FXG -> SWF conversion.
QE: No
Doc: No
Checkintests: Pass
Reviewer: Discussed with Corey
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/TextFXGGraphics.java

Similar Messages

  • [svn:fx-trunk] 14139: Fix for Player classes not code hinting  to framework FB projects.

    Revision: 14139
    Revision: 14139
    Author:   [email protected]
    Date:     2010-02-11 16:36:39 -0800 (Thu, 11 Feb 2010)
    Log Message:
    Fix for Player classes not code hinting  to framework FB projects. Changed all the $ tokens to use $ instead. While the compiler understands $, Flash Builder's code model does not.
    No code changes.
    QE notes: N/A
    Doc notes: N/A
    Bugs: None
    Reviewer: Pete
    Tests run: checkintests
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airspark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/flex/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/framework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/osmf/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/rpc/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/spark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.actionScriptProperties

  • [svn:fx-trunk] 11903: Fix SDK-22564: Debug player logs RSL sizes to console using main SWF name.

    Revision: 11903
    Revision: 11903
    Author:   [email protected]
    Date:     2009-11-17 12:18:59 -0800 (Tue, 17 Nov 2009)
    Log Message:
    Fix SDK-22564: Debug player logs RSL sizes to console using main SWF name.  Now, whenever the player loads a swf whose name is not known, because it was loaded via Loader.loadBytes() (which includes framework RSLs with digests), we display the name as "<unknown-N>", where "N" is a unique number to differentiate it from other unnamed swfs.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22564
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/SwfInfo.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DManager.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DSwfInfo.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/events/SwfLoadedEvent.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/threadsafe/ThreadSafeSwfInf o.java

  • [svn:fx-trunk] 13317: Fix to allow Animate to automatically handle changes in styles during transitions .

    Revision: 13317
    Revision: 13317
    Author:   [email protected]
    Date:     2010-01-06 16:19:04 -0800 (Wed, 06 Jan 2010)
    Log Message:
    Fix to allow Animate to automatically handle changes in styles during transitions. This same logic already works for properties (e.g., if you specify different values for x in states and run Animate with a SimpleMotionPath with property="x" then it will automatically determine the from/to values to animate for x). But we needed to add an override for getRelevantStyles() for Animate to advertise the possible styles to pick up changes for so that the transitions array would be populated accordingly.
    QE notes: None
    Doc notes: This is a fix that should allow the second animated skin example in the docs (spark_skinning, p46) to work as detailed in my edits
    Bugs: sdk-24932
    Reviewer: Jason
    Tests run: checkintests, Mustella spark/effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-24932
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as

    FYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989

  • [svn:fx-trunk] 10578: Fix the SkinTest.mxml in the sparkTest project: use backgroundColor style as we don't have a property anymore.

    Revision: 10578
    Author:   [email protected]
    Date:     2009-09-24 15:02:04 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Fix the SkinTest.mxml in the sparkTest project: use backgroundColor style as we don't have a property anymore.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Evtim
    Tests run: build
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/sparkTest/src/SkinTest.mxml

    I finally found how to set a default skin to a custom component so that users of my component will not have to set again the skinClass value of my component.
    You have to create a defaults.css file at the root of your library and tell the compiler to take it into account.
    The remaining problem is about the compiler. There are some steps before success and they are a bit mysterious/unclear....
    I found 2 or 3 blog articles explaining those steps but the compiler arguments to use are all differents in each article...
    Here are the links I found:
    http://www.unitedmindset.com/jonbcampos/2010/05/12/creating-custom-spark-components/
    http://www.betadesigns.co.uk/Blog/2010/05/14/default-skin-for-custom-flashbuilder-componen ts/
    http://flexdevtips.blogspot.com/2009/06/default-stylesheet-in-swc-flex-library.html
    Following the first article guidelines has been successful for me but I'm not marking this topic as Resolved because I'd like some answers about this whole thing...

  • Why does Flash generate invalid class names for library items?

    I imported a bunch of bitmaps (PNGs).  The library symbol names all included the full file name and its extension.  When I check "export for actionscript" it generates a class name based on the symbol name, and it includes the ".png", even though that's invalid in a class name.
    When I select multiple bitmaps and choose properties and export for actionscript, it has a note saying that classnames will be automatically generated for all items, but it does the same thing... including the ".png" in all the class names.  Is this a problem?  Wouldn't it save time if Flash would automatically strip the file extension from the instance name of bitmap library symbols when generating class names?

    Thank you Nipun.  That is exactly the behavior I would expect, and I can confirm that in the trial of Flash CC it generates valid class names by removing the file extension.  For example, a file named "3ball.test.png" will receive an auto-generated class name of "_3ball_test", so it really does ensure the class name is valid (meeting AS3 class name syntax)
    kglad, what I'm saying is that an image file name like "ball.png" is not a valid "class name", because it contains a period, which is reserved as a package delimiter.  I know the runtime can handle it as a valid "fully-qualified class name", but it's misleading because it's actually creating a class named "png" in package "ball", BUT it's understood that the auto-generated name is not supposed to be specifying any package, hence the misleading specification.  The class would have to be instantiated like this: "import ball.png; var bd:BitmapData = new png();" or "import ball.*; var bd:BitmapData = new png();"  You would also then have to import every single class individually and always use their fully qualified names, because you'd technically have a bunch of classes all named "png" inside a hundred different packages.  It's just not acceptable.
    The other problem that occurred in CS6 is if you loaded a bunch of files whose names started with numbers, then when you select them all, choose properties, and use the batch properties window to export them for actionscript, I noticed that such images would be auto-assigned generic names like "Class4" as it would realize the default auto-generated class name would be invalid.  This problem has been fixed beautifully in Flash CC.
    Nipun, it would actually be very helpful to have a little more control over the class naming conventions.  For example, if I wanted all my BitmapData classes to exist in an "images" folder or package, it would be helpful if in the batch properties window I could specify a package name for all the auto-generated class names.  When importing hundreds of images, it's very tedius to have to edit them individually and I don't always have time to write a JSFL script.  There's room in that window to add a text field for a package name.  Thanks!

  • [svn:osmf:] 14601: Fix bug where parsing of stream that gets passed to NetStream.play doesn' t take urlIncludesFMSApplicationInstance into account, resulting in stream not found error.

    Revision: 14601
    Revision: 14601
    Author:   [email protected]
    Date:     2010-03-05 09:47:28 -0800 (Fri, 05 Mar 2010)
    Log Message:
    Fix bug where parsing of stream that gets passed to NetStream.play doesn't take urlIncludesFMSApplicationInstance into account, resulting in stream not found error.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamUtils.as

    I had a while ago similar problem with USB memory stick. At the end, I don't know why, just formatting it using WinXP helped me.
    S-
    Last edited by StenM (2011-07-22 17:56:32)

  • How can i get all java class names from a package using reflection?

    hi,
    can i get all classes name from a package using reflection or any other way?
    If possible plz give the code with example.

    You can't, because the package doesn't have to be on the local machine. It could be ANYWHERE.
    For example, via a URLClassLoader (ie from the internet) I could load a class called:
    com.paperstack.NobodyExpectsTheSpanishInquisitionI haven't written it yet. But I might tomorrow. How are you going to determine if that class is in the package?
    This subject comes up a lot. If you want to do something a bit like what you're asking for (but not quite) there are plenty of threads on the subject. Use google and/or the forum search facility to find them.
    But the answer to your question, as you asked it, is "you can't do that".

  • Listing classes name in known package

    Hello!
    Can you tell me how to get classes name in a package.
    String package = "bla.bla.bla";
    And the output is like this
    Classes in bla.bla.bla :
    - ClassA
    - ClassB
    - ClassCThank's

    That misses any classes in a jar file.forgot about archived.. yeah..that would fail.
    you can list files in a directory as shown inreply #1, but not in a java package,
    since its contents can be distributed what do you mean? when you compile..the compiler
    create a dicrectory structor of the package. the
    java.class is a file..so you can list it. (I'm not
    sure by what you mean distributed)..if you mean
    RMI..then yeah..i missed that point too.not only that
    it's common to have many source directories :
    /Project
        /src
            /api
               /com/mycompany/myprogram
            /test
               /com/mycompany/myprogram
            /impl
               /com/mycompany/myprogramis something I do a lot
    >
    I guess you have to use reflection for that..even
    with reflection..i don't think you can get all the
    class name for RMI application (or those
    server-client) application.

  • [svn:fx-trunk] 4986: Fix for SDK-19276

    Revision: 4986
    Author: [email protected]
    Date: 2009-02-17 09:37:46 -0800 (Tue, 17 Feb 2009)
    Log Message:
    Fix for SDK-19276
    recent optimizations in the GraphicElement validation phase didn't take into account the reordering of children caused by non-zero layer values. This fix assumes that children with non-zero layers have their own display object, but subsequent children might sitll share display objects with previous children.
    Review: Evtim
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19276
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as

  • [svn:fx-trunk] 13319: Fix FB-25101: Application reported as " unnamed " in the debugger console.

    Revision: 13319
    Revision: 13319
    Author:   [email protected]
    Date:     2010-01-06 18:11:29 -0800 (Wed, 06 Jan 2010)
    Log Message:
    Fix FB-25101: Application reported as ""  in the debugger console.
    Revert revision 11903, which was supposed to fix SDK-22564: Debug player logs RSL sizes to console using main SWF name.  The underlying issue is a Flash player bug (it is sometimes reports incorrect filenames when loading swfs), and my fix was actually a hack to attempt to work around that issue, but it turns out my hack isn't reliable.  Backing out the hack.  I have logged a separate Flash player bug to fix the real issue.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FB-25101
        http://bugs.adobe.com/jira/browse/SDK-22564
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/SwfInfo.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DManager.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DSwfInfo.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/events/SwfLoadedEvent.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/threadsafe/ThreadSafeSwfInf o.java

  • [svn:bz-trunk] 13884: Fix some of the checkstyle warnings, no code change.

    Revision: 13884
    Revision: 13884
    Author:   [email protected]
    Date:     2010-01-29 09:23:18 -0800 (Fri, 29 Jan 2010)
    Log Message:
    Fix some of the checkstyle warnings, no code change.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/client/AMFHeaderProcessor.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/client/exceptions/ClientStatusExcept ion.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/client/exceptions/ServerStatusExcept ion.java
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/client/exceptions/package-info.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/AcknowledgeMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/BatchableMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/MessagePerformanceInfo.java
        blazeds/trunk/modules/core/src/flex/messaging/security/LoginCommandExt.java
        blazeds/trunk/modules/core/src/flex/messaging/services/AuthenticationService.java
        blazeds/trunk/modules/core/src/flex/messaging/services/messaging/MessageFrequency.java
        blazeds/trunk/modules/core/src/flex/messaging/services/messaging/RemoteMessageClient.java
        blazeds/trunk/modules/core/src/flex/messaging/util/DoubleUtil.java
        blazeds/trunk/modules/core/src/flex/messaging/util/concurrent/Executor.java
        blazeds/trunk/modules/core/src/flex/messaging/validators/ClassDeserializationValidator.ja va
        blazeds/trunk/modules/core/src/flex/messaging/validators/DeserializationValidator.java
        blazeds/trunk/modules/opt/src/tomcat/flex/messaging/security/TomcatLogin.java
        blazeds/trunk/modules/proxy/src/flex/management/runtime/messaging/services/http/HTTPProxy DestinationControl.java
        blazeds/trunk/modules/proxy/src/flex/management/runtime/messaging/services/http/package-i nfo.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/httpclient/package-info.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/package-info.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/AccessFilter.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/ErrorFilter.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/ProxyContextFilter.jav a
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/ProxyUtil.java
        blazeds/trunk/modules/proxy/src/flex/messaging/services/http/proxy/package-info.java
        blazeds/trunk/modules/remoting/src/flex/management/runtime/messaging/services/remoting/ad apters/package-info.java
        blazeds/trunk/modules/remoting/src/flex/management/runtime/messaging/services/remoting/pa ckage-info.java
        blazeds/trunk/modules/remoting/src/flex/messaging/services/remoting/adapters/package-info .java
        blazeds/trunk/modules/remoting/src/flex/messaging/services/remoting/package-info.java

  • Customization of generated Java class names

    Hi,
    I could not find any documentation on how to customize names of the generated
    Java classes/types. In Castor, you can do it with a simple mapping, is it possible
    with XMLBeans?
    Thanks,
    Marina

    Hi, Steve,
    thanks for your reply!
    I have tried to add an xsdconfig file, but when I run the following command:
    C:\Java\XMLBeans\xkit\bin\scomp -src . -srconly order.xsd
    with the xsdconfig file in the current directory , nothing happens - the xsdconfig
    file is ignored and Java files are generated in exactly same way as they were
    without the xsdconfig file...
    Here is the content of my xsdconfig file - it is very simple, for test purposes:
    <xb:config xmlns:order="http://order"
    xmlns:xb="http://www.bea.com/2002/09/xbean/config">
    <xb:namespace uri="http://order">
    <xb:package>neptune.neptunelib</xb:package>
    </xb:namespace>
    <xb:qname name="order:order" javaname="OrderDO"/>
    <xb:qname name="order:shippingID" javaname="ShippingInfoDO"/>
    <xb:qname name="order:addressInfo" javaname="AddressInfoDO"/>
    <xb:qname name="order:destination" javaname="DestinationDO"/>
    </xb:config>
    I'm not sure about the namespace part - currently, my order.xsd has no namespace
    or URI assigned. I asked BEA's customer support about this and the answer was:
    'use anything, the URI does not matter'. Well, I did use "anything" but I'm not
    sure this is correct...
    Thanks,
    Marina
    "Steve Traut" <[email protected]> wrote:
    Marina -- You can do this by creating an xsdconfig file and including
    it
    when you compile your XSD files. The xsdconfig file maps schema types
    to
    generated Java type names.
    If you're using WebLogic Workshop, the following topic should give you
    what
    you need:
    http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howGuideXMLBeansTypeNaming.html
    If you're using Ant, I can provide a topic that will be available soon.
    Please send email if you'd like information on the Ant task.
    Steve
    "Marina Popova" <[email protected]> wrote in message
    news:3f8c468c$[email protected]..
    Hi,
    I could not find any documentation on how to customize names of thegenerated
    Java classes/types. In Castor, you can do it with a simple mapping,is it
    possible
    with XMLBeans?
    Thanks,
    Marina

  • [svn:fx-i11] 5537: Fix for bug with FxRotate3D that Thermo ran into with our i11 build.

    Revision: 5537
    Author: [email protected]
    Date: 2009-03-24 20:16:43 -0700 (Tue, 24 Mar 2009)
    Log Message:
    Fix for bug with FxRotate3D that Thermo ran into with our i11 build. The problem was that we were sometimes setting offsets values to NaN due to bad initialization, and that we were also incorrectly calculating the transform center when offsets had not yet been initialized on the target.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-20209
    Reviewer: Ely
    tests: checkintests, mustella mx/effects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20209
    Modified Paths:
    flex/sdk/branches/i11/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as
    flex/sdk/branches/i11/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as

    We experience it as soon as we enable iCloud. Then an apple certificate is automatically added to the keychain and used for every https-access. Deleting the certificate com.apple.idms.appleid.prd... will do as a workaround but the certificate continues to be added to the keyChain from time to time or if you start over deactivating iCloud and then activate back.
    Is this still a bug in Safari? Rosario

  • How to get list of all class names in a package

    hi,
    how can i get all the names of classes in a specified package, for example, if i want to get all names of
    classes in package java.util through java application.

    hi,
    if u read my question with open eyes , i wrote " with java application" not with java API .

Maybe you are looking for

  • Out of memory error in Jsp application

    hi In my project im doing some image processing techniques like changing the uploaded original image to negative image. by that time im getting the following error with the image size morethan 500KB exception javax.servlet.ServletException: Java heap

  • Font appearance jumping between light and bold

    When I first open thunderbird in the morning, fonts appear bold [as if all unread] then if i quit thunderbird and try again it open with font as light, with only unread email showing as bold. OS X Yosemite 10.10.3 Thunderbird 31.6.0 UTC/S 5.0.0 This

  • Migrating Deprecated Code in 9.2

    Hi all, I have begun an attempt at removing as much (if not all) of the code in this legacy project I have been working on that has been deprecated by 9.2 from v8.x. I am currently having two issues: 1) Our code is acting on the type of the Node. In

  • (~‾▿‾)~[[O P M A N I A 2 3 . C O M]]수원오피✠✡✩동탄건마☣☭☮서대문오피♖♜♝송파오피✵✺✻수유오피

    (~‾▿‾)~[[O P M A N I A 2 3 . C O M]]수원오피✠✡✩동탄건마☣☭☮서대문오피♖♜♝송파오피✵✺✻수유오피(~‾▿‾)~[[O P M A N I A 2 3 . C O M]]수원오피✠✡✩동탄건마☣☭☮서대문오피♖♜♝송파오피✵✺✻수유오피(~‾▿‾)~[[O P M A N I A 2 3 . C O M]]수원오피✠✡✩동탄건마☣☭☮서대문오피♖♜♝송파오피✵✺✻수유오피(~‾▿‾)~[[O P M A N I A 2 3 . C O M]]수원오피✠✡✩

  • Address in WBS element

    In the transaction CJ20N is possible to put the address in the PEP element, but is not defined as mandatory. Anybody know if it is possible to set the option delivery information (delivery address) to mandatory? Thanks