Flex sdk in Flash Pro - problem have

Gidday

I'm playing with the AS3XLS lib so I can import Excel files in an AIR application.

I almost work - the only problem is that I get the compile as error...

1046: type was not found or is not a constant of compilation: DateFormatter.

... for the following classes:

Import mx.formatters.DateFormatter;

Import mx.formatters.NumberBase;

Import mx.formatters.NumberBaseRoundType;
Import mx.formatters.NumberFormatter;

I thought it was related to the flex lib is not installed, but I have the flex swc in my path of lib and other use Flex in the project.

No idea why the error?

See you soon!

Depends on what ide you use not to mention that Flash.

I use Flashdevelop and can simply mark any class imported, right click > go to declariation and it will open the source for me.

If you do not have anything other than Flash, make a copy of your swc file, rename the file Copy to zip format and manually browse the library.

Tags: Adobe Animate

Similar Questions

  • Flash pro problems

    I opened Flash and as you can see from the attached image there is a problem with the pop-up menus when I use the color picker is not the colour I'm hovering above. In addition, I can't move right on the stage that it's like I'm hitting a wall.

    Flash3.png

    Hi Shane,

    Thank you for discussing this issue by phone.

    Adding the solution here so that other users can also get the benefit of it.

    File and the text size setting has been set at 175% that was causing the problem with a correct display in Flash Pro. The write-down at 1005 fixed the problem.

    To correct this setting, right-click on the empty space on your desktop > select display settings > click on view > and set the value of text size and file at 100%, as shown in the screenshot below.

    Kind regards

    Vivek

  • Lack of base class for events (flash.events). Flex SDK 4.1 | Flex Builder 3

    Hello

    I'm experience the following problem, I can't locate or find the base class for events when I do "import flash.events;"-AutoComplete does not work as well. import flash. available only - flash.errors and flash.text

    However if I spend the Flex SDK 4.1 to 3.2 the Flex SDK kit so no problem and I can add flash.events

    SDK Flex 4.1 version is 4.1.0. 65265, I also tried Flex 4.0 SDK, the same problem, not able to find events.

    Requires the flash player version I tried both: 10.0.0 and 10.1.0 does not.

    Could you please suggest what might be wrong. Unfortunately not be able to find this info in the forum or google

    Thank you

    Kind regards

    Marakame

    Have you tried

    import flash.events. *;

    Or

    import flash.events.Event;

  • How to install the latest version of the SDK of AIR (13 or 14) in Flash Pro CS6?

    Hi, I use Adobe Flash Pro CS6 on Windows 7 64 bit and I tried to add the latest Adobe AIR SDK, either 13 or 14, but non of them is considered as an SDK to be valid by Flash.

    I tried two possible SDKs (SDK & compiler and SDK without compiler) to download here: Download Adobe AIR SDK (version 13) and here http://labs.adobe.com/downloads/air.html (version 14). Whenever I copied the SDK file extracted in my Flash CS6 file where default 3.2 and 3.4 software development kits. After that I open Flash, then help > manage Air SDK, click on '+', look for the new folder, and all I get is "the selected folder does not contain a valid AIR SDK" warning message. It looks the same with all four development kits software I downloaded!

    Not so long ago, I added AIR 4.0 without any problem. What I am doing wrong? Is the new SDK Flash CC alone or what?

    It should not matter what you name the file or where you put it as long as you are showing that directly the parent folder contains the software development kit. In other words when you go to the folder you're pointing to, you should see:

    If you do not see that you see a folder that contains, you were just pointing to the wrong file.

    With respect to the update of Flash Player, which is a process quite simple (but different). Hmm, I mentioned above in a different thread. Check the response post #9 and #12 for a brief overview on the update of Flash Player here:

    Create a worker in the flash IDE?

    Let me know if you have any questions. You should also consider the quick test running with the code that I mentioned it to ensure your AIR version and Flash debugger are what you expect.

  • Problem compiling in Flash Pro CS6

    Hello

    When I try to test my project (CTRL + ENTER), it displays a blank window if the publication target is greater or equal to 10.3, in Flash Pro CS6, AS2 or AS3. Even if it's a new project empty with just a set of background colors and a trace("ok"); on the first image, it doesn't strictly. White and no message in the debug console.

    If I change the target to 9, it works, even if the color of the scene is not always displayed.

    In both cases, when I opened the SWF generated directly from my Explorer (Windows 7), it works, but the color of the scene is not displayed.

    Worked perfectly until present, do not remember a recent update but maybe the last of them did this.

    Does anyone know how to fix this?

    Thank you!

    Hey,.

    I solved my problem installing trial Flash Pro CC version.

    I wanted to test if it worked under CC, but it seems to have solved the problem in Flash CS6 too. Everything is back to normal.

    I guess we can say that it is a problem solved, even though I don't know why. Maybe reinstall Flash CS6 would have done the trick too. Cannot say.

  • BUG - in flash pro CC, "bold" and "italics" TextFormat properties have no effect on the rendered text

    Concise problem statement:

    If you compile with CC pro flash and use the method "setTextFormat' of a TextField, the 'fat' and 'italic' argument of TextFormat properties have no effect on the rendered text. If you compile with flash pro CS6, 'fat' and 'italic' properties work as expected.

    Apparently, the only way to make the text to display correctly with flash pro CC, is to change the name of the font (add the suffix "Bold", "Italic", or "Bold Italic".) This means code that dynamically changes the font styles only works in CS6 or CC, but not both. By example, if you use the "bold" text property makes daring in CS6 and regular CC, whereas if you change the name of the font to add the suffix "Bold", the text makes daring in CC and DOES NOT at all in CS6. It is therefore difficult for a team to CS6 in the CC of transition.

    Steps to reproduce the bug:

    1. create an xfl 2 TextFields on stage, as well with the font "Trebuchet MS" and "regular" style, a named boldTrueText that contains the string "" BOLD"= true", a named fontNameText that contains the string "fontName ="BOLD"Trebuchet MS". Create 2 more TextFields on the stage of Visual reference, both with a font "Trebuchet MS", one with the 'regular' style, one with ' bold '.

    2. Add the following code in the Actions Panel on frame 1:

    import flash.text.TextFormat;

    import flash.text.Font;

    var format: TextFormat = boldTrueText.getTextFormat ();

    format. Bold = true;

    boldTrueText.setTextFormat (format);

    format = fontNameText.getTextFormat ();

    format.font = "Trebuchet MS bold";

    fontNameText.setTextFormat (format);

    var fonts: Array = Font.enumerateFonts (), count: int = fonts.length;

    for (var i: int = 0; i < count; i ++) {}

    var make: police = fonts [i];

    trace ("fontName:" + font.fontName + ", fontStyle:" + font.fontStyle);

    }

    3. Save and compile with flash CS6 pro and flash pro CC.

    Results:

    With flash CS6 pro, "" BOLD"= true" makes "BOLD", and "fontName ="BOLD"Trebuchet MS" IS NOT RENDERED.

    With flash CS6 pro, what follows is drawn:

    fontName: Trebuchet MS, fontStyle: "BOLD"

    fontName: Trebuchet MS, fontStyle: regular

    With flash pro CC, '"BOLD" = true' makes regular, and "fontName ="BOLD"Trebuchet MS" makes "BOLD".

    With CC pro flash, what follows is drawn:

    fontName: Trebuchet MS, fontStyle: regular

    fontName: Trebuchet MS bold, fontStyle: "BOLD"

    Expected results:

    The same text is rendered in flash CS6 and CC pro. I don't know why this behavior has been changed in flash CC pro - it causes silent failures in the code that dynamically changes the font styles. I expected the CS6 flash pro behavior remain the same in the CC, as follows:

    With flash pro CC, "" BOLD"= true" makes "BOLD", and "fontName ="BOLD"Trebuchet MS" IS NOT RENDERED.

    With CC pro flash, what follows is drawn:

    fontName: Trebuchet MS, fontStyle: "BOLD"

    fontName: Trebuchet MS, fontStyle: regular

    If you do not break backward compatibility (to others), you can do both behaviors works in flash pro CC, as follows:

    With flash pro CC, "" BOLD"= true" makes "BOLD" (the police is always 'Trebuchet MS'), and "fontName ="BOLD"Trebuchet MS" also makes "BOLD".

    With CC pro flash, what follows is drawn:

    fontName: Trebuchet MS, fontStyle: "BOLD"

    fontName: Trebuchet MS, fontStyle: regular

    fontName: Trebuchet MS bold, fontStyle: "BOLD"

    I introduced this bug with the form of bug and also with adobe bugbase (in case it is not obsolete) - I'm just trying to maximize my chances of getting a fix.  Has anyone else encountered this bug?

    Thank you for reporting this issue. As a result of your efforts, it is reproducible and reported internally.

    Will update here once the fix is available.

    -Mabrouk

  • Flash Pro CS6 native iOS Extension problem

    I'm looking for flash CS6 pro new features.

    The most important of them being ANEs [native extensions].

    in flash builder 4.6, when you use a DONKEY for ios, it is sometimes necessary to put the ios5 SDK location]-platformsdk  in ADT].
    This is completely missing in Flash Pro CS6 IDE, any way around that?
    [for the info on including the ios5 sdk check:

    http://help.Adobe.com/en_US/Flex/mobileapps/WSe4e4b720da9dedb5-4aefe03513238d8a1b8-8000.ht ml ]

    Thank you.




    OK it's resolved thanks to Colin Holgate of http://forums.adobe.com/message/4380821#4380821
    Apparently, when after adding a DONKEY for a TUNE for iOS project, you get a new option in the settings of the Air for iOS, where you can add the location of the iOS SDK.

    It's only for Mac I think.

  • Problem with AdvancedDataGrid in Flex SDK 3.3

    Hello Forum,

    I downloaded and installed Flex SDK 3.3. Once I did my environment for the 3.3 SDK compiler complained that he cannot find the AdvancedDataGrid component in the path. After some research, I was able to solve this problem by downloading Flex 3.3 Data Visualization Components of http://www.adobe.com/products/flex/flexdownloads/. Then I had to unzip the file downloaded in the /sdk_3.3.0_install_dir/

    I don't think that I had to go through that in my previous installations - 3.2 and 3.1. No one knows the reason for this step both download and installation?

    Also, I would use a new class of vector in my future development, anyone know what version of the SDK it provides?

    Much appreciated,

    Mike

    Hi Mike, the two-step process is because the AdvancedDataGrid and graphic elements are not part of the Flex SDK, they are additional components that come along Flex Builder 3 Pro

  • I need help setting up adobe flash pro cs6 trial verson PROBLEM

    When I click on connection in adobe flash pro cs6, it says im not connected to the internet when I help am.plz!

    Check your hosts file.

    help for that and other adobe.com sure common connection problems read, http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • How to install Scout CC? I do not see in the list of applications! Should I install Flash Pro that I didn't have before?

    After selecting "try flash cc" and creative cloud application download, I have run it and stop the download of Flash Pro because I do not really need. But I don't see Scout in the application list. Should I install Flash Pro first? I want just to start using free application of Scout and not to buy or even try other soft!

    Click on the below link, Sign In and open Photoshop Elements download link.

    Do not close the page, just keep it open.

    https://www.Adobe.com/cfusion/TDRC/index.cfm?product=photoshop_elements

    Note: * If we do not keep the page of items in Photoshop, we will have access denied error message when file downloading install direct.

    Then click on link Scout CC.

  • Flash Pro CS6 with Air 14 SDK does not support iOS7 icons?

    I am trying to publish an application using the Air SDK 14.0.0.110 (and tried 14.0.0.137) and there is still no place to put the files of icons iOS 7, 120 x 120, 76 x 76 and 152 x 152, is this correct?

    Your only choice is to build from the command line, or replace with Flash Pro CC 2014.

    Read this long thread for how you publish from the command line without having to get the whole typed command perfectly (you can get the line from the Console):

    https://forums.Adobe.com/thread/1308215

  • How to upgrade to Flash Pro CC AIR SDK?

    The latest news I can find are for Flash Pro CS6:

    http://helpx.Adobe.com/x-productkb/multi/overlay-air-SDK-Flash-professional1.html

    It works in Flash Pro CC?

    This article seems OK for CS5.5. With CS6, I think she was already the AIR SDK option to manage in the Help menu. Whatever it is, with CC, you would use the Help menu option to add new software development kits.

  • Flex SDK 4.1 + 'Use the Compatibility Mode 3 Flex' = PROBLEMS

    7.14.10 / 06:10

    HERE'S THE QUESTION:

    When using the Flex SDK 4.1 and by checking the box 'Use Flex 3 Compatibility Mode', the Visual anomalies occur (regardless if the styles or skins is used). These include text in list ComboBox becomes invisible. It goes the same for the alert box, where no text is seen.

    I am including a screenshot showing the questions. The top image shows what happens when compatibility is checked - the ComboBox list text is invisible. The lower picture combo shows what happens when the box is not checked.

    Please note that when you use the old Flex 4.0 SDK these visual anomalies are not and everything works fine.

    proof.png

    @Jason Villmer,

    In my view, the problem you describe is http://bugs.adobe.com/jira/browse/SDK-26940.

    There is a workaround solution listed in the bug report that works (based on my tests), or you could probably put the leadership styles and layoutDirection worldwide using a block Style.

    Peter

  • My website link works in my SWF when I test in Flash Pro, but after that I have export and try out the program, it won't work.

    I made a banner in Flash Pro and adding a button. I went through the steps to make the button to take me to a specific web page and it works when I test it in Flash Pro. Once I export and try to click on it outside the program, my cursor turns into a hand click, but by clicking on the button does nothing. How can I fix?

    Thank you @kglad for your reply, I will consider. Tired of searching, I decided to download just for the Web (system used by my school) and voila... the buttons for brought great external links. =)

  • Support TLS 1.2 Air Desktop Version-Flex SDK 4.5.1

    Hi all

    I'm new to this forum. I'm working on the desktop air application. recently of Salesforce announced we'll disable the TLS 1.0 since their servers and they will support the TLS Protocol 1.1,1.2. Here is test url that we can use to test in the Office of the air: https://tls1test.salesforce.com/s/. I went through some of the messages in this forum and have not found similar post about this issue. I found one, but it did not help either: done FLEX and AIR support TLS 1.1 + encryption?  


    I wrote the code to verify that the url below. SecureSocket connection is successful. but UrlRequest is a failure, because it uses TLS 1.0 version to connect to the server, since Air app uses the TLS 1.0, the handshake protocol is a failure. I found this info in wireshark: TLSv1 Record Layer: alert (level: Fatal, Description: failure of the handshake)

    Screen Shot 2015-11-12 at 11.57.16 AM.png

    My goal is to spend my desktop client to support TLS 1.2 Protocol. I use the version of the Flex SDK 4.5.1 to build the application. Can you please help me understand this issue?

    1. Is there anyway to set the version of the Protocol TLS for UrlLoader and UrlRequest?
    2. I need a client certificate to authenticate with the server for TLS 1.2 Protocol?
    3. This will work if the upgrade from Flex and Air SDKS, I tried, it doesn't work, but do not know what I have tried is correct or not?

    Import flash.display.Sprite;

    Import flash.events. *;

    Import flash.net.URLLoader;

    Import flash.net.URLRequest;

    Import flash.net.URLRequestDefaults;

    Import flash.net.URLRequestHeader;

    Import flash.net.URLRequestMethod;

    import flash.net.URLVariables;

    private function {URLRequestHeaderExample()}

    var loader: URLLoader = new URLLoader();

    loader.dataFormat = pouvez;

    configureListeners (loader);

    SecureSocketExample();

    var header: URLRequestHeader = new URLRequestHeader ('Permission', ' sampleToken');

    var request: URLRequest = new URLRequest ("""https://tls1test.salesforce.com/services/oauth2/token"""); / /https://tls1test.salesforce.com/

    //request.data = new URLVariables ("name = John + Doe");

    Request.Method = URLRequestMethod.GET;

    URLRequestDefaults.idleTimeout = 1200000;

    request.requestHeaders.push (header);

    try {

    Loader.Load (request);

    } catch (error: Error) {}

    trace() "Unable to load the document asked." );

    }

    }

    private function configureListeners(dispatcher:IEventDispatcher):void {}

    dispatcher.addEventListener (Event.COMPLETE, completeHandler);

    dispatcher.addEventListener (Event.OPEN, openHandler);

    dispatcher.addEventListener (ProgressEvent.PROGRESS, progressHandler);

    dispatcher.addEventListener (HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);

    dispatcher.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

    dispatcher.addEventListener (HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);

    dispatcher.addEventListener (IOErrorEvent.IO_ERROR, ioErrorHandler);

    dispatcher.addEventListener (HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpRespoStatusHandler);

    }

    private function completeHandler(event:Event):void {}

    var loader: URLLoader = URLLoader (event.target);

    trace ("completeHandler:" + loader.data "');

    }

    private function openHandler(event:Event):void {}

    trace ("openHandler:" + event "");

    }

    private function progressHandler(event:ProgressEvent):void {}

    trace ("progressHandler loaded:" + event.bytesLoaded + "total:" + event.bytesTotal);

    }

    private function securityErrorHandler(event:SecurityErrorEvent):void {}

    trace()"securityErrorHandler:" ( + event); "."

    }

    private function httpStatusHandler(event:HTTPStatusEvent):void {}

    trace()"httpStatusHandler:" ( + event); "."

    }

    private function httpRespoStatusHandler(event:HTTPStatusEvent):void {}

    trace()"httpRespoStatusHandler:" ( + event); "."

    }

    private function ioErrorHandler(event:IOErrorEvent):void {}

    trace()"ioErrorHandler:" ( + event); "."

    }

    private var secureSocket:SecureSocket = new SecureSocket();

    private function SecureSocketExample()

    {

    secureSocket.addEventListener (Event.CONNECT, onConnect)

    secureSocket.addEventListener (IOErrorEvent.IO_ERROR, onError);

    try

    {

    secureSocket.connect ( "tls1test.salesforce.com", 443);

    }

    catch (error: error)

    {

    trace (Error.ToString);

    }

    }

    private function onConnect (event: Event):void

    {

    trace() "connected". );

    secureSocket.close ();

    }

    private function onError (error: IOErrorEvent):void

    {

    trace (error.text + "," + secureSocket.serverCertificateStatus);

    }

    []] >

    @kumarkasimala

    Our quality assurance team has been able to reproduce this problem.  We consider you cela a bug and will start working on fixing it for a future release.  Our internal bug for this number is 4095988 in case you need to reference it later.

    Thank you

    Chris

Maybe you are looking for

  • By using the beat detector in LPX?

    I was wondering if there was a way to detect a beat played by a real drummer, say, thanks to a microphone on the spot by entering the audio interface (?), in order to synchronize LPX to his pace all by playing live? -How to accomplish this, step by s

  • HP2133 Mini Notebook

    Is to possinle to connect a HP 2133 mini note to a LCD tv with hdmi connections?

  • Printer print

    My printer HP Laser Jet 1020 one stop print requests. The message that appears en red is that it is not connected. However, the printer is properly connected and test pages have been printed without problem. I have de-connected, re-connected, uninsta

  • Hello please help me I want to the closed mailbox

    Summary of the issueOther issues of Windows Live family safety What version of Windows Live Family Safety do you use? Other Choose your operating system version: Other Additional details How to do you service if allowed Eacha? I forgot my email and I

  • I can't receive email in Outlook Express or view the Inbox; can access the address book & all the other options.

    I can't view the Inbox or receive emails with Outlook Express; address book, sent & project options are ok. I ignored the request of compact messages.