Flex 3 Livedocs location

For some reason I need to refer to Flex 3 lvedocs and I think Adobe have removed it completely from its resources. Any idea from where can I download/refer them?

Yes, it appears that Adobe has completely removed the Flex 3 documentation.  I encountered this a few weeks ago.  In case you didn't see it - have a look at this forum thread: http://forums.adobe.com/message/5943888.  There are some links to downloads of the Flex 3 PDF documentation.  I have not seen or heard of any mirrors or downloadable versions of the HTML version of the Flex 3 docs.  Hope that helps.

Similar Messages

  • Multiple JavaScript errors on Flex LiveDocs pages

    The newest beta 3
    livedocs
    don't work properly with Opera 8.5 and Opera 9 browsers.
    Most annoying being Show/Hide Inherited... links not working
    properly. As it stands, livedocs are quite unusable in Opera :-(
    Some errors from JS console:
    quote:
    All Packages (Flex 2.0 ActionScript and MXML Language
    Reference)
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/package-summary.html
    Inline script thread
    Error:
    name: TypeError
    message: Statement on line 142: Could not convert undefined
    or null to object
    Backtrace:
    Line 142 of linked script
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
    (findTitleTableObject("packageUseBar")).style.display =
    showPackageUse && showExamples ? "inline" : "none";
    Line 3 of inline#2 script in
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/package-summary.html
    titleBar_setSubTitle("All Packages");
    titleBar_setSubNav(false, false, false, false, false, false,
    false, false, false, false, false,
    quote:
    mx.logging.AbstractTarget (Flex 2.0 ActionScript and MXML
    Language Reference)
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/logging/AbstractTarget.html
    Inline script thread
    Error:
    name: TypeError
    message: Statement on line 198: Could not convert undefined
    or null to object
    Backtrace:
    Line 198 of linked script
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
    var rules = document.styleSheets[0].cssRules != undefined ?
    document.styleSheets[0].cssRules : document.styleSheets[0].rules;
    Line 186 of linked script
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/asdoc.js
    setInheritedVisible(getCookie("showInheritedConstant") ==
    "true", "Constant");
    Line 3 of inline#3 script in
    http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/logging/AbstractTarget.html
    showHideInherited();

    So get this. After disabling, uninstalling, reinstalling both the extensions and Dreamweaver. Even deleted some new printer drivers because that was the only other thing that had changed, it came down to this...the DOCTYPE!
    Not exactly sure why, but the DOCTYPE on my page had changed from
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    to
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
    That's what broke the extension. Apparently ADDT needs "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"! As soon as I added it back in, it worked without any issues.
    Thanks for the help though!

  • Getting Started with Flex 2

    I played with Flex 2 beta 3 a while back, then got pulled off
    into other things, and am now back to looking at Flex again and
    thought I would go through the getting started lessons (on
    http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=00000138 .html).
    I got to the second page and immediately got stuck.
    Step 1 reads: "In a text editor, open the
    data-management-config.xml file located in the WEB_INF/flex
    directory of the samples web application. "
    OK, where is this WEB_INF/flex directory located? And what is
    the "samples web application" that is being referred to?
    I THINK I found the right file, but in step 2 it says:
    "Directly above the text <destination id="contact">, make
    sure the following destination definition exists. "
    The quoted text does not exist in the file, but the
    definition it further explains to add already does exist.
    So move on to the next page and it says to "...create an MXML
    (text) file that contains the following text and save it as
    lesson1.mxml in the DSLessons directory of the samples web
    application." There's that samples web application reference again
    - where IS that?
    Oh, well THEN it has a link to a "Before you Begin" section -
    maybe there are some answers in there! I click on that (why isn't
    it in the index on the left?) and it takes me to a page suggesting
    I do a few things. One of the things it says is, "Create a
    DSLessons directory that is a subdirectory of the samples directory
    of the samples web application. "
    OK, well, dammit, now I'm frustrated! WHERE AND WHAT IS THE
    SAMPLES DIRECTORY OF THE SAMPLES WEB APPLICATION?!
    Is it wrong of me to assume that a "Getting Started with Flex
    2" document would provide some foundational information that is not
    based on assumptions of prior knowledge of the inner workings of
    the very product I'm trying to get started with? This isn't even my
    first time playing with Flex! In fact, I was hoping to find some
    good step-by-step introductory material that would help some of my
    coworkers learn a bit about it.
    Where can I find some?

    OK, apparently the primary source of my confusion here is
    that some link I clicked on (I thought from a readme file, but I
    can't find it again) took me to the aforementioned page in the
    livedocs and did not display any corresponding topic open in the
    left column, so I assumed I was on the first page of the getting
    started section (especially since I was actively looking for a
    getting started section when I wound up here). I have discovered a
    more usable thread in the livedocs and am now a happier
    camper.

  • Transfer data from a worksheet to a Flex embedded application

    Hi,
    I would like to transfer data from an Office 2003 worksheet
    to a Flex application located on the same worksheet (ie Flash
    activeX inserted). To pass these data, I use the ExternalInterface
    API in the Flex framework.
    All works fine if the Flex file (a SWF in fact) is not
    embedded into the Excel file. When I decided to embedd the Flex
    application into Excel, I met the folowing error:
    SecurityError: Error #2060: Security sandbox violation:
    ExternalInterface caller file:///C|/Program%20Files/Microsoft%
    20Office/OFFICE11/EXCEL.EXE cannot access <unknown>.
    at flash.external::ExternalInterface$/_initJS()
    at flash.external::ExternalInterface$/call()
    at
    DisplayContainerData/GetExcelData()[E:\DisplayContainerData\src\DisplayContainerData.mxml :22]
    at
    DisplayContainerData/___DisplayContainerData_Button1_click()[E:\DisplayContainerData\src\ DisplayContainerData.mxml:246]
    I tried to play with activeX properties (allowScriptAccess
    and AllowNetworking) without success. How can I fix this error?
    In the other hand, I must call Flex method in VBA code. I
    tried to use the CallFunction method of the Excel Shockwave activeX
    object, but it always fails. Here is the used syntax in my VBA code
    (the 'test' function exists in Flex code and is registered with the
    ExternalInterface.addCallback method):
    Call ShockwaveFlash1.CallFunction("<invoke name=""test""
    returntype=""xml""/> <arguments> <string>Hello
    World!</string> </arguments> </invoke>")
    The reported error is:
    "Run-time error '-2147467259 (80004005)': Method
    'CallFunction' of object IShockwaveFlash' failed"
    I have tried the same call with a dotNet application and it
    succeeded. How can I call a Flex function in Excel VBA code ?
    Thanks.

    One way would be to extract the data from the existing cube using a function module that would mimic the query level filters and restrictions. That data can be populated into the new cube.
    I wud suggest u take the data from a non-aggregated layer (say a DSO below the cube).
    Also, check for the possibility of running the APD in multiple runs by using some kind of selection that would sum up to give u the whole data required.
    Can u confirm if ur query itself is getting timed out?
    -PA1

  • FLEX to send SWIFT messages to banks

    Anyone here used FLEX to send SWIFT messages to banks? is this a bad idea?

    These Flex LiveDoc pages and links should help. You can use an HTTPService to call the PHP script on the server, and that PHP script can call the other one on the server, and that 2nd script can return data or a message to the Flex app.
    http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html
    http://www.switchonthecode.com/tutorials/flex-php-tutorial-transmitting-data-using-json
    http://www.switchonthecode.com/tutorials/using-flex-php-and-json-to-modify-a-mysql-databas e
    http://stackoverflow.com/questions/552045/passing-variables-between-flex-and-php

  • Flex Security

    Hi there,
    I have a Java webservice at:
    http://mydomain/service/service?wsdl
    And I have a Flex app located at:
    http://mydomain/
    If mydomain is "localhost" then my flex app can call the
    webservice without any problem. However, when I migrated the two
    apps to a non-localhost I got a security error:
    Webservice call failed: [FaultEvent fault=[RPC Fault
    faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"] messageId=null type="fault" bubbles=true
    cancelable=true eventPhase=2]
    Does anyone know what the problem is?
    Thanks a lot,
    Chris

    I mean that I have been developing and testing on my local
    machine with a local webserver (localhost) and now I've put both
    the flex app and webservice on a remote machine.
    Anyway, I've actually fixed this problem now - I didn't
    update the webservice files to point to the new host - however now
    I have another problem...
    Webservice call failed: [FaultEvent fault=[RPC Fault
    faultString="HTTP request error" faultCode="Server.Error.Request"
    faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false
    cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:
    http://mydomain:8080/service/service"
    URL:
    http://mydomain:8080/service/service"
    messageId=null type="fault" bubbles=true cancelable=true
    eventPhase=2]
    Any ideas on this one? I read that you can get this error if
    the URL is incorrect, but these are definitely correct.
    Thanks
    Chris

  • RDS - Flex 2 errors

    Arrrgggg. This is driving me nuts. Using Win2K3 with all
    updates, IIS6, web xml file is not commented, server ports 80 and
    8500 fail, tried using IP, reinstalled CF, DW and CF Admin will
    connect using RDS, password reset, java update. Nothing works and
    it's driving me insane, In the RDS cofiguration of Flex I get the
    &quot;can't connect to RDS&quot; error.
    I want to use Flex, I really do, but it shouldn't be this
    hard to configure using a Win2K3 and IIS6 setup.

    Hi, I had the same difficulties in a previous post last week
    (look for if you like) and received this answer which seems
    comprehensive -- but I have not put it into effect just yet
    (working with the localhost for now).
    Not sure if it helps (I'm a clueless noob at the moment) but
    getting there slowly. . . .
    As it is on port 8300 it sounds like you performed a JRun
    install and used the built in ColdFusion web server. I would not
    recommend doing that. I would suggest installing Apache or
    configuring IIS. Then reinstall ColdFusion and chose to run the web
    server connector. That way you can have it running on the standard
    port 80. If you do not like IIS, Apache for Windows in version
    2.2.6 also has OpenSSL built in if you wanted to test with SSL.
    When you get to the point where it asks you to choose the web
    root if it is not actually pointing to your wwwroot (htdocs for
    apache) directory make sure to point it there as this is where it
    will install your CFIDE directory and it is handy to have that in
    your web root rather then having to remap it later.
    Make sure that when it prompts you to set a password for the
    RDS that you do. You will need it for flex builder.
    Sounds like you have already figured out how to create a DSN
    so I will skip that. Just make sure that they validate.
    Once all that is done I suggest one other thing. Flex needs
    access to the services-config.xml file to compile. You will hear
    lots of advice about copying it over to your local system in a fake
    directory. I find it better to share out the directory it is in on
    the server and then point FlexBuilder to that directory. That path
    is C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml by
    default. But you will want to just share out the ColdFusion8 Folder
    itself.
    Then share out your webroot. For IIS I believe that is just
    c:\wwwroot. Just share the folder under the same name is fine.
    Make sure you can get to each of the folders over the network
    using their UNC paths. The reason for this will become clear later.
    Or at least less foggy.
    Once all that is done move to your Development workstation.
    Open a command prompt and make sure that you can ping your server
    by Name. IP addresses are ok but it is better to use the name in my
    opinion. If you do not have local DNS resolving names you can
    configure your systems Hosts file to point to that servers IP
    address for any given web URL you would like.
    On your workstation when you install flex builder make sure
    to choose to install the ColdFusion Extensions for FlexBuilder.
    Then open flex builder. I use Flex Builder 3 Beta 3 so if you
    are using version 2.01 your screens will differ.
    Click File &gt; New &gt; Flex Project
    Provide a project name. Anything is fine for now this is just
    a test.
    Example: mycoolnewflexsite
    Choose the default location for the workspace or choose
    another location. It does not really matter where you put the
    workspace. Just don't forget where you put it if you change it's
    default location. Your workspace is not the same as your WebRoot.
    The Work space is Flex's location where it keeps your configuration
    information about your projects and it's UN-Compiled source files.
    Choose ColdFusion for the server technology and Select
    ColdFusion Flash Remoting for this instance.
    Click next.
    On the next screen it is going to ask you which installation
    type. My install uses a standalone server. Sounds like yours is
    JRun which I believe means you have to choose Deployed to J2EE. You
    will want to look that up. Either way there is not too much
    difference in the screens.
    For the standalone these are the settings I use.
    UNCHECK the &quot;Use default location for local
    ColdFusion server&quot;.
    In the field put in the UNC path to the shared ColdFusion8
    Folder on our development server.
    Example: \\MyServerName\ColdFusion8
    This way FlexBuilder has access to that services-config.xml
    we were talking about through the UNC path. No need to copy it over
    to your workstation and you can keep it consistant amongst
    developers this way.
    Uncheck the Use built-in ColdFusion web server
    for the Web root use the shared webroot from your server you
    shared out above and the name of the root file for your sites
    folder inside that shared directory.
    Example: \\MyServerName\wwwroot\MyCoolNewFlexSite
    For the Root URL you will want the actual URL that you will
    be using to get to your website.
    http://www.mycoolnewflexsite.com
    (Again your DNS should be pointing to your local development
    servers ip address and not the real world web address for your
    site. If you do not have DNS running in your network then use your
    local workstations Hosts file to simulate the same thing.)
    Down below that will be a field called &quot;Output
    folder&quot;. This is where flex is going to put the files that
    it Compiles. For this you will want to have the same exact path as
    the Web Root. It may already be in there with a debug folder
    attached to the end. I prefer to take off the debug folder and just
    make it exactly the same as my web root path.
    By using the UNC paths instead of local files this allows
    FlexBuilder to compile directly to the servers wwwroot directory
    you will be testing the files from. No need to transfer the
    compiled files this way. Might not make your network admin happy
    but you will have at least two weeks before your network admin can
    figure out where the extra traffic is coming from and then only if
    they are well above average. And trust me I know wherefore I speak
    about network admins. Odds are they will never figure it out and if
    they do it just gives you reason to have them install a gigabit
    switch and hook you up to the server at a faster pace. It's part of
    the work requirements RIGHT?!
    OK so after you have those paths in place click on validate
    configuration. You may get a warning about there already bing a bin
    directory but just ignore that and move on.
    click next.
    On the next screen for the main source folder I prefer to
    erase the default src it uses. That's up to you.
    For the main application mxml file just use whatever is there
    for now. You can always change it later.
    For the Output folder URL change it to the URL of your site.
    I.E.
    http://www.mycoolnewflexsite.com
    Then click finish.
    FlexBuilder will open up your applications main MXML file. To
    test if it is working you should be able to just add in a text line
    and click the compile button.
    &lt;?xml version=&quot;1.0&quot;
    encoding=&quot;utf-8&quot;?&gt;
    &lt;mx:Application xmlns:mx=&quot;
    http://www.adobe.com/2006/mxml&quot;
    layout=&quot;absolute&quot;&gt;
    &lt;mx:Text id=&quot;hw&quot;
    text=&quot;Hello World!&quot; /&gt;
    &lt;/mx:Application&gt;
    If all goes well it will pop open your browser to the URL
    from your development server with your compiled Hello World
    displayed. If you get that far you are almost home.
    Still a bit more though.
    So once this is cone click on Window &gt; Preferences and
    then click the + next to ColdFusion and click RDS Configuration.
    In the RDS configuration highlight localhost and just click
    remove.
    Then click new button.
    For Description put in the Name of your development server.
    For the Host Name also put in the name of your development
    server
    For the port choose port 80 (Assuming you set up IIS or
    Apache as recommended.)
    Assuming you have not yet set up multiple users in ColdFusion
    Administrator then your User Name is going to be simply
    &quot;admin&quot;.
    Put in your password you set up for the RDS password when you
    were installing ColdFusion Server.
    Click on Test Connection. If it tests out then you will have
    just completed your install. The Test Debugger will not work until
    you turn on Debugging in the ColdFusion server Administrator. I
    will let you figure that out on your own as I am getting tired of
    typing.
    I realize that's a lot but once you have done it 3 or 4
    hundred times it becomes second nature.
    Hope that helped and did not muddy the waters. I realized as
    I was typing that this really is not a good explanation without
    pictures. Next time I do a development install I will have to take
    screen shots I guess.
    - Joe

  • Is it possible to get source code of AutomationManager.as class or/and QTPAdapter.as?

    Sorry, we don’t really provide source for those classes right now.
    On 2/25/09 2:47 AM, "JabbyPanda" <
    [email protected]> wrote:
    A new discussion was started by JabbyPanda in
    General Discussion --
      Is it possible to get source code of  AutomationManager.as class or/and QTPAdapter.as?
    I have a license of Flex Builder 3.0.1 Pro, running Win XP.
    Inside "c:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\2.0.1\frameworks\source\mx\automation\"  folder I can only locate a listing of source code of IAutomationManager interface.
    Inside "c:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.2.0\frameworks\projects\automation\src\mx\automation\" folder there is also a bunch of open sourced classes present, but even source code of IAutomationManager interface is missing.
    And source code for AutomationManager.as and QTPAdapter.as classes are nowhere to find.
    And I tried to extract source files from Data Visualization package as suggested here
    http://blogs.adobe.com/flexdoc/2008/04/extracting_data_visualization.html, no luck
    View/reply at Is it possible to get source code of  AutomationManager.as class or/and QTPAdapter.as? <
    http://www.adobeforums.com/webx?13@@.59b80b91>
    Replies by email are OK.
    Use the unsubscribe <
    http://www.adobeforums.com/webx?280@@.59b80b91!folder=.3c060fa1>  form to cancel your email subscription.

    We can look at setting up some subtopic forums targeting specifics like automation once we have our new system in place.
    On 2/26/09 7:57 AM, "JabbyPanda" <
    [email protected]> wrote:
    A new message was posted by JabbyPanda in
    General Discussion --
      Is it possible to get source code of AutomationManager.as class or/and QTPAdapter.as?
    What I plan to do, is to write a couple of delegates to prepare (instrument) my custom components that extend from UIComponent for testing.
    I found the source file for AQAdapter.as from FlexMonkey tool at  
    http://code.google.com/p/flexmonkey/source/browse/trunk/FlexMonkey/src/com/gorillalogic/aq adaptor/AQAdapter.as, by studying the code of AQAdapter.as I can get the better idea what QTPAdapter.as does.
    In general, I found the documentation on test automation for Flex application to be very modest and limited, for example many attributes for XML-based "class information file" for HP QuickTest tool are not documented at Adobe Flex livedocs.
    BTW, is there any better place where test professionals and Adobe Flex developers exchange the knowledge on test automation of Flex apps?
    I've tried
    http://www.sqaforums.com by running search query
    http://www.google.com/custom?domains=SQAforums.com&! q=Adobe+Flex&sitesearch=SQAforums.com <
    http://www.google.com/custom?domains=SQAforums.com&q=Adobe+Flex&sitesearch=SQAforums.com> , but I left with a feeling the most enquiries were made by people who are just evaluating possiblity of testing of Flex apps with HP QuickTest tool.  

  • Parameter is incorrect compile problem in virtual box

    Hi, since Linux support for flash builder (flex builder at the time) was dropped longer ago, we Linux users are forced to use virtualbox to run flash builder. Latest virtualbox 4.1 has an issue to build flex projects.
    I spent hours yestarday to try to solve this and finally only working solution I found was to downgrade back virtualbox to version 4.0
    Stuff I tried after upgrading to VB4.1
    1. building existing flex project in existing installation of flash builder 4.5
    2. using 4.5.0 sdk and 4.5.1 SDK to compile.
    3. trying to set lower flash target, and changing other deployment params
    4. getting rid or any aditional compiler parameters
    5. setting up same project again using same fodler with files
    6. setting up project from scratch with project source files got fresh from repo
    7. trying with new flash builder installation 4.6 trial with 4.6 flex sdk
    none of these helped and all resulted in compilation error
    Parameter is incorrect, flex problem, location "Unknown".
    As this thread explaines http://forums.adobe.com/thread/982266
    there may be other solution which is to setup new windows virtual machine and install flex there.
    but for me this is just another bad solution as mine so far (not upgrading VB)
    After downgrading back to VB 4.0 all even existing projects in both 4.5 and 4.6 built with no problems.
    Just to complete I'm using Windows 7 as OS in VM.
    If anyone finds acceptable solution please share..
    thanks.

    So for those interested, I solved this problem by creating another blank Windows VM, re-installing Flash Builder and importing my project again.
    It seems that Adobe Flash Builder has built in something obscure that does not like you migrating a VM to another host.  I did un-register and re-register my product between the VM's by the way - that also did not work.

  • Sample : How to Installing AIR3 SDK in FlashDevelop 3 ?

    Hi everyone, if you not use Adobe Flash CS or Adobe FlashBuilder
    but you need to test AIR 3.0 SDK. I need to share sample that i try to other IDE as open source FlashDevelop.
    let's see below how to do that :
    ** For WIN version ONLY
    Requirement :
    1.     FlashDevelop 3.3.4 RTM  [recommend]
    2.     Flex SDK 4.5.0.19786 [recommend]
    3.     AIR 3.0 SDK
    Walkthrough this step :
         1. download and extract Flex SDK to "C:\flex_sdk_4.5.0.19786"
         2. download and extract AIR3.0 SDK to AIR3.0
         3. In folder AIR3.0 copy all file and paste in folder flex_sdk_4.5.0.19786.
         4. If you never install FlashDevelop just follow through it's installation,
              thenrun FlashDevelop goto "Project > New Project..."
         5. choose "AIR AS3 Projector"
         6. type your project name in text filed after "Name :"
         7. Browse.. "Location :" where you need to save your project, then click "OK"
         8. type your author name and click "OK",
              now your new project was created
         9. goto "Tools > Program Settings..."
         10. click "AS3Context" on left panel
         11. see on right panel click "Flex SDK Location"
         12. Browse.. to "C:\flex_sdk_4.5.0.19786"
         13. click "FlashViewer" on left panel
         14. see on right panel click "External Player Path"
         15. Browse.. to "C:\flex_sdk_4.5.0.19786\runtimes\player\10.2\win\FlashPlayerDebugger.exe", then click "Close"
         16. goto "Tools > Flash Tools > Documentation Generator..."
         17. goto tab "Settings"
         18. in text filed below "ASDoc location:"
         19. Browse.. to "C:\flex_sdk_4.5.0.19786\bin" , then click "Save Settings"
         20. see on right panel in FlashDevelop
              open file "CreateCertificate.bat"
              edit in line :
                   set PATH=%PATH%;$(FlexSDK)\bin
              change to
                   set PATH=%PATH%;C:\flex_sdk_4.5.0.19786\bin
         21. open file "PackageApplication.bat"
              edit in line :
                   set PATH=%PATH%;$(FlexSDK)\bin
              change to
                   set PATH=%PATH%;C:\flex_sdk_4.5.0.19786\bin
         22. open file "Main.as" it's place inside folder src on right panel
              add this code to test your AIR runtime version
              import flash.desktop.NativeApplication;
              trace(NativeApplication.nativeApplication.runtimeVersion);
              Example :
              package
                  import flash.display.Sprite;
                   * @author Porawee Raksasin
                  public class Main extends Sprite
                     import flash.desktop.NativeApplication;
                      trace(NativeApplication.nativeApplication.runtimeVersion);
                      public function Main():void
         23. press F5, then you will see window adl and AIR window on screen as below :
         24. Finally, your output is...
              Done(0)
              [Starting debug session with FDB]
              3.0.0.3880
         Yeah! your app now ready for AIR 3.0.
    Hope you enjoy with AIR 3.0
    Thanks,
    Porawee

    Found the solution:
    1. Download latest Flex SDK and AirSDK, and extract it into some new folder (in same order: Flex then Air)
    2. Add SDK to FlashDevelop (4.0 beta), Tools -> Programm Settings -> AS3Context -> "Installed Flex SDKs" -> Double click on the button with three dots "..." next to the value of this row, choose there your SDK
    3. Create new Air 3 project. In Project properties, compiler options, put "-swf-version=13" into "Additional Compiler Options" under "Compiler options" tab
    4. In Project settings, choose 3.0 in the Platform section of Output tab
    5. edit application.xml:
    <application xmlns="http://ns.adobe.com/air/application/2.7">
    replace with
    <application xmlns="http://ns.adobe.com/air/application/3.0">
    6. empty "bin" folder of the project.
    That did help me

  • Asdoc how to add a custom local namespace with manifest file?

    Hi there,
    I use the flex 4 beta1 sdk to test the following:
    I have:
    MainScreen.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:views="com.xyz.core.view.components.*"
        >
        <views:AbcView id="abcView" right="20" />
    </s:Group>
    I tried to use a manifest file which seems to be how to handle this kind of situation (using ant):
        <arg line="-namespace views ${manifest.file}"/>
        <arg line="-doc-namespaces views"/>
    the manifest.xml contain the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <componentPackage>
               <component id="AbcView" class="com.xyz.core.view.components.AbcView" />
    </componentPackage>
    when I compile asdoc return the following error:
    ...MainScreen.mxml(52):  Error: Type was not found or was not a compile-time constant: AbcView
    Any idea how I can force asdoc to add/recognize AbcView.mxml ? Is my use of manifest file correct in this situation?
    Thank you in advance for your help.
    Best regards.
    maddec

    Hello,
    >Do you have the source path defined?
    yes definitely.
    >and does it contains the folder that is parent of com.xyz.core.view.components ?
    yes absolutely
    >Can you post your complete call to asdoc?
    Please find below the ant task I use:
    Thank you very much for your help.
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="asdoc" default="main" basedir=".">
    <!--
        Properties Definitions
    -->
        <!-- The Location of Flex on your Computer -->
        <property name="Flex.dir" location="C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in"/>
        <!-- The Location of FlexSDK on your Computer -->
        <property name="FlexSDK.dir" location="${Flex.dir}\sdks\4.0.0.7219"/>
        <!-- <property name="FlexSDK.latest.build.dir" location="${Flex.dir}\sdks\4.0.0.12412"/> -->
        <!-- The Location of ASDocs on your Computer -->
        <property name="asDocs.exe" location="${FlexSDK.dir}\bin\asdoc.exe"/>
        <!-- main path info -->   
        <!--
            The Location of your Application Classes on your Computer
            NOTE: This Path should be relative to the build.xml file.
            NOTE: ${basedir} is an ant property that represents the directory holding the build.xml file
            NOTE: I have encountered issues with this folder containing Spaces
        -->
        <property name="AppClasses.dir" value='-doc-sources "${basedir}/src"'/>
        <property name="asdoc.source.paths" value='-source-path "${basedir}/src/"' />
        <!-- configs -->
        <property name="asdoc.config" value='-load-config="${FlexSDK.dir}/frameworks/flex-config.xml"' />
        <property name="sp.config" value='-load-config+="${basedir}/conditionalCompil.xml"' />
        <!-- additional path info -->   
        <property name="source.path.srcShared" value='-source-path+="D:/analogdesign/Clients/Minsh/flash/GIT-sources/minsh-flex-widget/s rcShared"' />
        <property name="libs.path" value='-external-library-path="${basedir}/libs"' />
        <!-- custom components -->
        <property name="manifest.file" location="${basedir}\ant\customCpnsManifest.xml" />
        <!-- branding data -->
        <property name="window.title" value='-window-title="Minsh API Documentation"' />
        <property name="main.title" value='-main-title="Minsh API Documentation"' />
        <!--
            The Location you wish to output to on your Computer
            NOTE: I have encountered issues with this folder containing Spaces
            NOTE: This location gets DELETED and re-generated each time the build is run
        -->
        <property name="output.dir" location="${basedir}\output\AppDocs"/>
        <property name="asdoc.output" value='-output="${output.dir}"' />
    <!--
        Execute the ASDoc Compile
    -->
    <target name="main" depends="clean,compile" description="full build of asdocs"/>
    <!--
        DELETE the existing output folder and files and then re-generate the output folder
    -->
    <target name="clean">
        <delete dir="${output.dir}" failOnError="false" includeEmptyDirs="true"/>
        <mkdir dir="${output.dir}"/>
    </target>
    <!--
        Run the ASDoc executable and generate the ASDocs to the new output folder
    -->
    <target name="compile">
        <exec executable="${asDocs.exe}" failonerror="true">
            <arg line="${asdoc.config}"/>
            <arg line="${sp.config}"/>
            <arg line="${asdoc.source.paths}"/>
            <arg line="${AppClasses.dir}"/>
            <arg line="${libs.path}"/>
            <arg line="${source.path.srcShared}"/>
            <arg line="-namespace views ${manifest.file}"/>
            <arg line="-doc-namespaces views"/>
            <arg line="${window.title}"/>
            <arg line="${main.title}"/>
            <arg line="${asdoc.output}"/>
        </exec>
    </target>
    </project>
    Best regards.
    maddec

  • Anyone know Flash CS3 embed font's Glyphs Range!! with font class(no TextField )

    I have add some font by Font class in the library
    (TextFeild.embedFonts=true)
    but the font's glyphs looks not enough.
    when i use text String " ü ä ö ß π
    à â ç è é ê ë î ï
    ô ù û œ "
    only the "π" and "œ" is can be visible.
    Font.hasGlyphs also return false;
    if i only create a TextField, and Click the Embed button
    selection glyphs range.
    the text will be fine.
    but i won't use TextField by drag to the stage
    i heard in flex:
    @font-face {
    src:local("Arial");
    fontFamily: myFont;
    flashType: true;
    unicodeRange:
    U+0041-U+005A, /* [A..Z] */
    U+0061-U+007A, /* a-z */
    U+0030-U+0039, /* [0..9] */
    U+002E-U+002E; /* [.] */
    so what can i do in Flash CS 3?
    thanks a lot
    i really tried working on this.maybe i just need go back use
    the .....TextField.

    Im not sure if u can do it with flash cs3.
    i change a little ur code to :
    package {
    //import flash.util.describeType;
    import flash.display.MovieClip;
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.text.AntiAliasType;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormatAlign;
    import flash.text.Font;
       public class Test extends MovieClip {
          // be sure this is pointing to a ttf font in your hardrive
          [Embed(source="arial.ttf", fontFamily="foo", mimeType="application/x-font-truetype")]
          public var arialfont:Class;
          public function Test() {
              Font.registerFont(arialfont)
                var format:TextFormat          = new TextFormat();
              format.font              = "foo";
              format.color                = 0xFFFFFF;
              format.size                 = 130;
              var label:TextField         = new TextField();
              label.embedFonts            = true;
              label.autoSize              = TextFieldAutoSize.LEFT;
              label.antiAliasType         = AntiAliasType.ADVANCED;
              label.defaultTextFormat     = format;
              label.text                  = "Hello World!";
              addChild(label);
              trace(label.text);
              label.setTextFormat(format);
    and it works fine with flash cs4, only first time it will ask to confirm flex sdk location ( have to have flex sdk to use embed, u can downlaod it free from adobe.com)
    hope that helps

  • Issue with min/max when vertical axis assigned to multiple series

    Hi.
    I have some simple charting code that is dynamically adding LineSeries to a chart as the user requests them from the gui. As each series is added the vertical axis is assigned to the series and then data is requested and assigned to the dataProvider on the series. This is all working fine however I have found that if I add a sceond series after the first series is displayed and assign the same vertical axis to the second series then the vertical axis seems to set teh min/max based only on the second series added and ignores the first series. It doesnt set to the max of both series and so I get an incorrect max set. If I add a 3rd series the same happens again and the first and second series values seem to be ignored and the axis is set based on the last series to be added.
    Is this expected? Ive tried different variations of invalidating the data/series/styles to force it to refresh but I always get the same. It does refresh but based on only the values in the last added series.
    What is odd is that if I add 2 series at the same time, and assign the axis to both of them and then request data for both and update the dataProvider on both of them the axis is configured correctly based on the max value of both series.
    Any workarounds to make it do the right thing if they are added dynamically? Is this a bug or a known "feature"?
    Any light anyone can shed would be appreciated.
    I need to have the axis assigned to the series directly as I want to be able to use multiple axes. I have found that if I set the verticalaxis on the chart rather than the series then it works fine and sets the min/max based on the combined values of both series.
    The vertical axis is just a simple LinearAxis.
    Any help or suggestions would be appreciated.
    Im using Flex 4.1
    Tks
    Dan

    Adobe Flex LiveDocs seemed to indicate "Using multiple series in the same chart works best when the data points are in a similar range (such as a stock price and its moving average). When the data points are in numerically very different ranges, the chart can be difficult to understand because the data is shown on a single axis. The solution to this problem is to use multiple axes, each with its own range. You can plot each data series on its own axis within the same chart using the techniques described in Using multiple axes" and that link is here:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_11.html
    I was going to tae a look at this myself, but the code posted here is quite complex, and I suspect incomplete.
    If you refer to that link and still cannot solve the issue, I would try your best to boil down your code to a more simple example still exhibiting the issue, and then post that, along with any data and the simplified main app.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Multiple Vertical Axis Renderers and auto scaling

    Hi
    I have a problem which has been kicking my rear end for a while now.
    I have a Linechart to which I add (programmatically in AS code) multiple PlotSeries. I let the first series be handled by the default verticalaxisrenderer (on the left side of the graph) and then the next series (if a different type of data) be rendererd by another verticalAxisrenderer (created programmtically) and added to the right side. And it "works", but the problem is this:
    Say I add a series that has a range of 30-80 first. It works fine, BUT when i add a second series with a range of say 1100-1200  the second series is added fine but the first series is 'rescaled' on the axis to go from 30-80 to 0-1200! Which is obviously wrong! I have made other attempts to fix this and it always rescales the axis (sometimes rescaling the data, sometimes not) I have double checked that baseatZero is false and it is--its just the act of adding that second series which causes this redraw and rescale. What am I missing here? Atatched is code snippet and screenshots of behavior.
    On Flex 3.5, btw
    public function addSeriesToChart(acLocal:ArrayCollection, constellation:String, station:String, param:String):void
                var currentSeries:Array = lcGraph1.series;
                var stati:int = util.getStationName(station,currentStations);
                var stat:String = currentStationsLong[stati];
                var s:Object;
                 var ls:PlotSeries = new PlotSeries();
                ls.displayName = y1_axis + " @ "+stat;
                ls.yField = "y1";
                ls.xField = "x1";
                ls.dataProvider = acLocal;
                seriesmin(acLocal);
                var stroke:Stroke = util.getLineStroke2(nSeries);
                ls.setStyle("stroke", stroke);
                ls.setStyle("fill",stroke.color);
                ls.setStyle("radius", 2);
                ls.setStyle("itemRenderer",new ClassFactory(CircleItemRenderer));
                s = ls;
                var renderers:Array=lcGraph1.verticalAxisRenderers;
                Application.application.export.enabled = true;
                //two cases: first series and 2+ series: must handle the default verticalAxisRenderer bug
                if (nSeries > 0)
                    //if second series == first series, dont add a new renderer
                    if (param != currentGraphParam(acParam1))
                          var la2:LinearAxis = new LinearAxis();
                           la2.displayName = y1_axis+" ("+util.getUnits(util.EnglishNametoCBIBSParam(param))+")";
                        la2.title = y1_axis+" ("+util.getUnits(util.EnglishNametoCBIBSParam(param))+")";
                        la2.baseAtZero = false;         
    //                    la2.maximum = seriesmax(acLocal)+1;
    //                    la2.minimum = seriesmin(acLocal)-1;
    //                    lcGraph1.verticalAxisRenderer[0].axis.maximum = cMax;
    //                    lcGraph1.verticalAxisRenderer[0].axis.minimum= cMin;
                        ar2=new AxisRenderer();
                        ar2.axis=la2;      
                        if ((nSeries % 2) == 1)
                            ar2.placement="right"
                        else
                            ar2.placement="left";
                        renderers.push(ar2);           
                         s.verticalAxis = la2;
                        lcGraph1.verticalAxisRenderers=renderers;   
                    currentSeries.push(s);
                    lcGraph1.verticalAxisRenderers=renderers;   
                    lcGraph1.invalidateSeriesStyles();
                    lcGraph1.series = currentSeries;
                else
                    //create new axis
                    var la2:LinearAxis = new LinearAxis();
                       la2.displayName = y1_axis+" ("+util.getUnits(util.EnglishNametoCBIBSParam(param))+")";
                    la2.title = y1_axis+" ("+util.getUnits(util.EnglishNametoCBIBSParam(param))+")";
                    la2.baseAtZero = false;          
                    ar2=new AxisRenderer();
                    //dont show it
                        ar2.visible = false;
                       ar2.placement = "left";
                       la2.maximum = seriesmax(acLocal)+1; 
                    la2.minimum = seriesmin(acLocal)-1;
                    cMax = la2.maximum;
                    cMin = la2.minimum;
    //                Alert.show(cMax);
    //                Alert.show(cMin);
                    ar2.axis=la2;      
                    renderers.push(ar2);           
                    s.verticalAxis = la2;
                    currentSeries.push(s);
                    lcGraph1.series = currentSeries;
                    lcGraph1.verticalAxisRenderers=renderers;   
                    lcGraph1.invalidateSeriesStyles();
                    lcGraph1.verticalAxis.title = y1_axis+" ("+util.getUnits(util.EnglishNametoCBIBSParam(param))+")";   
                    disableDefaultVerticalRenderer();
                 Application.application.arrAc.push(acLocal);
                nSeries++;                                    

    Adobe Flex LiveDocs seemed to indicate "Using multiple series in the same chart works best when the data points are in a similar range (such as a stock price and its moving average). When the data points are in numerically very different ranges, the chart can be difficult to understand because the data is shown on a single axis. The solution to this problem is to use multiple axes, each with its own range. You can plot each data series on its own axis within the same chart using the techniques described in Using multiple axes" and that link is here:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_11.html
    I was going to tae a look at this myself, but the code posted here is quite complex, and I suspect incomplete.
    If you refer to that link and still cannot solve the issue, I would try your best to boil down your code to a more simple example still exhibiting the issue, and then post that, along with any data and the simplified main app.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Applications Not deleting

    I downloaded an application called Plex and then deleted it. Now whenever i restart my computer or log into my account this application always opens first and it is really annoying. Thanks for the help, Is their any way to fully delete this or stop it from starting when I log in.

    I don't use Flex, but I have a feeling how you can delete the application.
    Go to System Preferences/Users and Group, and click Login Items on the right side of the pane. The pane will advise you that certain items will load automatically when you log in. Select Flex, and choose minus to delete the item from your startup items. The next time you boot, Flex will not appear automatically. You can now do a Spotlight search on Flex to locate and delete any other suspicious items.
    Chances are, you're already logged in as an Admin, in which case there's no problem. However, if you're not, you'll have to get the propert login and password to make changes.
    Post in this thread if this information was useful, or if you have additional questions!

Maybe you are looking for

  • Query in using = operator in xquery

    I am using the >= operator in one of the where condition as: declare function tns:getFactDlyOrdersTimePerdEndInRange( $timePerdEndDateFrom as xs:dateTime, $timePerdEndDateTo as xs:dateTime) as element(ns19:SymphOrdersDly)* { fn-bea:fence( for $SymphO

  • IOS8 erased all my diaries/projects from IPhoto!

    Why in heavens name has Apple erased IPhoto in IOS8?! I have many diaries and projects I have developed over the years, and then all of a sudden I can't access IPhoto. Try again apple! If I can't access my work, travel diaries and projects from my we

  • Change country of registration ID

    Change country of registration ID, plse help

  • AR Invoice print preview

    Hi Experts           In Sap B1 9.0 AR Invoice while taking at the time of preview am getting a report i customized while taking print that report contains 5 different hedings on right side top as ORIGINAL,DUPLICATE,QUADRADUPLICATE,TRIPLICATE,ETC.how

  • SSO error in DBACOCKPIT (and others)

    Hi After migrating to Sybase i have a problem with SSO to Webdynpro applications. First of all in DBACOCKPIT, but i can see it´s a general problem not specific to the DBACOCKPIT... If i call program SAPHTML_SSO_DEMO i get error 00(146) saying: Error