Using TextFlowUtil in Flash CS4

Hello,
How do I go about using TextFlowUtil in CS4?  What project settings do I need to update.  I have tried a variety of source and library paths to no avail. 
What I am trying to accomplish is importing saved markup into a Flash CS4 app that was exported from a Flex app via TextFlowUtil.
I have the TextLayout component installed in Flash CS4 and it works fine.  I just can't seem to get TextFlowUtil working.
thanks,
jr

Hello Alan,
I've been away from this project for a little while.  Unfortunately I am encountering a new issue.
When using :
var textFlow:TextFlow = TextConverter.importToFlow(menuXML, TextConverter.TEXT_LAYOUT_FORMAT);
I get the following error:
1046: Type was not found or was not a compile-time constant: ImportExportConfiguration.
I have the following Actionscript script settings:
Library Path
$(AppConfig)/ActionScript 3.0/libs
/Applications/Adobe Flash Builder Beta 2/sdks/4.0.013875/frameworks/libs
/Applications/Adobe Flash Builder Beta 2/sdks/4.0.013875/frameworks/libs/textLayout.swc
Am I missing one?  Are they out of order?
Let me know pls.
cheers,
jr

Similar Messages

  • How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?

    I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
    I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
    Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
    Thanks in advance for your help!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • How can I use Flash_Slideshow.SWF in my Flash CS4 document?

    Hi,
    I have downloaded a nice Flash Slide show file (.SWF) and would like to use in my Flash CS4 document without any modification (as it is). How can I use it? There is no .Fla file this Slide Show. It just works using xml file.
    Please do help.

    Hi,
    You need to load a .swf file in your flash document using the loader class. I'm assuming you are using the AS3. Please click on the below link which helps you to use the loader class.
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html
    Thanks

  • Can this be used by Flash cs4?

    Hi All
         I have learning AS3 just a short time,and there is a task need me to do spelling check in a textArea.
         I'm so glad that i find this,but I can not use it well.I try it in Flex builer3 and it worked well,but i don't know how to use it by flash cs4.
         My programm is built by flash cs4,and I cannot change it to Flex now.
         I put the swc file into compoent menu and new a file as sample code,but it cannot work.
         I want to know whether this can be used by flash cs4 and how?
         Thanks very much and forgive my poor English

    hi there,
    bruce from adobe just posted a comment over at our blog (apdevblog.com) saying that someone here at the adobe forums is looking for a spellchecker that also works with textfields in flash ...
    we released the second version of the Apdev Spellchecker yesterday - check it out: http://apdevblog.com/actionscript-spellchecker-for-flash-textfields-with-source-code-and-e xample
    It's built on top of the Squiggly classes but can be used with every dynamic textfield in flash/actionscript.
    Take a look at the example: http://apdevblog.com/examples/apdev_spellchecker/
    and you can download the apdev spellchecker class here: http://apdevblog.com/examples/apdev_spellchecker/src/ApdevSpellChecker.as
    maybe this is what you were looking for ..!?
    cheers,
    phil

  • Flash CS4 and database use (MySQL, ACCESS, etc.)

    Hi,
        can somebody please tell me where to find tutorials on how tp use databases with Flash CS4 ?
    I have created a form, an email page and a username/password protected pages, but I cannot find any tutorials that would help me how to connect to a database.
    Thanks in advance for your help !
    GGour

    Hi Kglad,
                  thanks for the info....
    Do you know of any tutorials about this subject ?
    I am new to action scripting and learned Flash by studying tutorials at Lynda.com.
    I was just wondering if there was a title touching that subject, from Lynda or any other provider.
    How did you learned how to use databases in conjunction with flash ?
    Thanks again for your help !
    GGour

  • Adding pfb/pfm files to be usable in Adobe Flash CS4 on Mac

    I just purchased a template online that is in flash format and most of the fonts are in ttf format and so they showing up correctly and I am able to use them in Flash CS4 but one of the fonts has two files for it... a pfb and pfm file.  These won't import to Font Book like the ttf files did.  Is there an option to use this font without having to pay to download it in ttf format or pay for an expensive file converter program?
    Thanks for your help ahead of time.

    Hi,
    Are you debugging AS 2 or AS 3 files?  Note that the Flash IDE uses the StandAlone Player for debugging AS 3 files.  Also, what issues are you encountering in the player used for Test Movie that is fixed in the browser/standalone players?
    Thanks,
    Nivesh

  • Problems using third party Flash plug-ins for Captivate 4 content

    I'm using a few Flash CS4 plug-ins (Control VR, 3D Carousel XML) that work perfectly well in Flash.
    However, when importing the animations into Captivate 4, numerous cryptic errors occur which seem to be related to the XML file.
    Do I need to do anything different when importing Flash animations that include XML data? The XML files are all in the same folder as the Flash movies and the Captivate file, but it still doesn't work.
    Any help appreciated!

    Hi Kevin,
    Because this is a commercial plug-in and therefore I cannot test it without purchasing the component. I would recommend that you report this issue to the Adobe Captivate team and send them the both the source CP file and the component. Although I have had some success in getting XML code recognized by CP there could be many reasons why the XML code from this component is not being intrepreted.
    Adobe Captivate Feature Request/Bug Report Form 
    Best - Mark
    Visit the macrofireball blog

  • How can I use LCCS with ActionScript 3 and Flash CS4?

    Hi,
    Using Stratus I was able to create an an application using Action Script 3 and Flash CS4.  The sample code on the Adobe site was quite straight forward and easy to understand.  I now want to switch over to  LCCS but can't find anything any where on how to use Action Script 3 and Flash CS4 with LCCS.  Do I need to know Flex to be able to use LCCS?  Everything was quite simple and easy to understand with Stratus and makes complete sense.  But LCCS is really confusing.  Is there any sample code on how to establish a connection in Action Script 3 and then stream from a webcam to a client.  There is nothing in the  LCCS SDK that covers Flash and Action Script 3.  Please help!  I found the link below on some forum but it takes me nowhere.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=75 9&threadid=1407833&enterthread=y

    Thanks Arun!
    Date: Thu, 29 Apr 2010 11:44:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: How can I use LCCS with ActionScript 3 and Flash CS4?
    Hi,
    Welcome to the LCCS world.
    Please refer to the SDK's sampleApps folder. There would be an app called FlashUserList. The app demonstrates how LCCS can be used with Flash CS4. Its a  pretty basic app, but should help you moving.
    We are trying to improve our efforts to help developers in understanding our samples. Please do let us know if we can add something that would help others.
    Thanks
    Arun
    >

  • (Help) Using Input text in Flash CS4 AS3

    I am trying to take a user's input (His Name) and then greet the user on the next frame using the name he previously entered. I googled for 2days and was unable to find a way to do this on flash CS4 AS3, i guess because im very new to flash (only 2-3weeks )
    Any help would be greatly appreciated, and i am sorry if this was already answered in the forums.
    thanks for reading.

    If your interested... here's some general "rules of the road" that are basically courtesies...
    Don't post the same question in different forums (crossposting).  Folks that help don't like that because they can waste their time providing the same response someone else already offered elsewhere, or their helpful info gets no attention because the OP (original poster) got wrapped up in the discussion elsewhere and never went back to the other forums.  I saw one time where the OP suffered from doing this... the first person to respond in one forum said what they wanted couldn't be done, while my response in another forum showed them how to do it... but they accepted that it couldn't be done and never returned.
    Don't post in someone else's posting unless the exact same situation applies to you and it is a current posting.  It is a bit rude to step into someone else's posting just to get attention, which some people do... some with totally unrelated problems.  Or if your problem is even slightly different, it can end up confusing matters for all involved... trying to juggle helping two people where different solutions are needed.
    If you get one problem resolved and have another you want help with that does not involve the first, start a new posting.  People search these forums so it helps to have topics match the postings, which will not apply if mutliple topics get resolved under one title.  I recently saw one person tell someone to start a new posting even though they were following up to clarify something of the solution they received... that's wrong and is more likely someone with a case of points greed... as useless as points are, it happens.

  • How to load ai file in flash CS4 using code(Like loading swf or images )

    Hi,
    I have to load AI file in flash CS4 and provide the interaction with user.
    Can any body help?
    Thanks

    Hi.
    No you cannot  import Eps, wmf, emf,  ai, cdr files in swf dynamically using Action Script 3.

  • Does using the Embed in Flash CS4 load all Embed content first?

    I'm using the Embed in a Flash CS4 AS3 game.  the code looks like this:
    [Embed(source="stuff.swf", symbol="a_mc")]
    This is great, cause I can load large sounds and swf files at runtime and not have to sit there and wait for the swf to compile while developing and testing.  But I've noticed that my swf loads all these embed files on the first frame, and loads them first so the user doesn't see my preloader until almost everything is loaded. 
    I have to have all my assets, including the preloader, in one swf.  Most game sites want everything in one swf. 
    Is there a way to force the embedded content to load in a later frame?
    Thanks!

    PS
    It doesn't even load the stage color, the swf sit there all white until all the embedded content is loaded, then it shows the stage color.  This is not desirable behavior.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • How to use embedded font (CFF) for Flash CS4?

    Hi,
    I am trying to embed "Arial Unicode MS" for use by TLF in my Flash CS4 project. As I googled around, I am using the "Flex SWC" approach, only not having any luck. Here is what I got:
    //Code in Flex ActionScript project:
    package
        public class FontEmbeds
            [Embed(source='C:/Windows/Fonts/ARIALUNI.TTF',
                    fontFamily='ArialUnicodeMS',
                    embedAsCFF='true'
            public const Font1:Class;
    When I am trying to instantiate this class, I have AS code in my Flash main timeline:
    var font:Font = new FontEmbeds_Font1();
    Flash compiler says: "1067: Implicit coercion of a value of type FontEmbeds_Font1 to an unrelated type flash.text:Font."
    Ok. Now after I changed it to:
    var font:FontEmbeds_Font1 = new FontEmbeds_Font1();
    Flash gives 3 errors:
    "VerifyError: Error #1014: Class mx.core::FontAsset could not be found.
    ReferenceError: Error #1065: Variable TextLayout is not defined.
    ReferenceError: Error #1065: Variable MainTimeline is not defined."
    I am assuming I have to create a Font1 object in order to use the embedded font. Is this assumption correct? As I've tried to use the "fontFamily" directly but Flash didn't seem to find the font at all:
    charFormat.fontFamily = "ArialUnicodeMS";
    Thanks.

    Hi Eric,
    Thanks for the info.
    I've tried to use the "fontFamily" directly but Flash didn't seem to  find the font at all:
    charFormat.fontFamily = "ArialUnicodeMS";
    In one fla where I used pure TFL, nothing gets rendered at all in the container Sprite. Flash doesn't throw any errors either. In another fla where I used a ComboBox, etc. along with TFL, it throws an error says it can't compile since "there is no ActionScript found" and I got a screen where all the Flash components were  flickering. After several attempts, Flash crashed.
    Also as a side note, the swc gets generated by Flash Builder Beta 2, at first it was 18mb and the second time I complied it become 9mb and stayed 9mb afterwards. Not sure if that's a concern.
    Geng

  • How to make like Spry Products demo using Flash CS4 / xml?

    hello there!
    i wonder is it possible to make something similar to Spry Products Demo using Flash CS4 for front end and xml for back end data. take a look at this draft image. If it can be done, can someone guide me please. I am super new to AS2/3 - Please. Thanks for your help.

    hello there!
    i wonder is it possible to make something similar to Spry Products Demo using Flash CS4 for front end and xml for back end data. take a look at this draft image. If it can be done, can someone guide me please. I am super new to AS2/3 - Please. Thanks for your help.

  • How do I fix a font compatibilty issue from Mac to Windows, using Adobe Flash CS4?

    Hi,
    I need to edit a Flash movie that somebody else developed in Adobe Flash CS3 on a Mac. I'm using Adobe Flash CS4 on Windows (Vista). However, the font that shows up on my computer is much bigger than on the .SWF that he produced.
    He used a custom font, which I had to add to my system Fonts folder. Because Adobe Flash detected the right fonts on my computer, it didn't map them to substitute fonts. I verified that Flash is indeed using the same font files that he used.
    I believe the fonts are being rendered differently because I'm using Windows.
    How do I fix this?

    hi all - I have a similar problem with flash - basically the plugin crashes pretty much every time I am not looking at it directly (playing online games in tabs for example)
    I have tried disabling the "memory-safe-away-time-out thingee" in config:about - to no avail. I have also tried disabling all other plugins (not that I actually have many - Java, VLC, quicktime, some windows stuff), have set themes to default, have made sure all plugins are latest version.
    currently running the 4.0.b2 Firefox version cause of the plug in crashes in the 3.6.8 version - same problem though.
    and where it gets really strange is that a friendly help person on the adobe site suggested I upgrade my firefox to version 3.8 (while I was on the 3.6.8 version) and that would fix it. which I thought was.. interesting as 3.6.8 is the latest version as Firefox upgrade check insisted.
    by now i have invested at least 4 days trying to fix this issue and I gotta say... I am tempted to actually try other browsers, though firefox is my default browser since years.

Maybe you are looking for

  • How to default inv mtl accnt based on the item categories for all trxns

    Hi all, There is a requirement for defaulting inventory material account based on the item categories accounts defined in the category accounts window. instead of defaulting from the inventory organization parameters. I researched on that and found t

  • Is there anyone with a 1st generation IPad and IOS 5.1 that's NOT having tons of problems?

    The whole world is always in such a big hurry to buy the next generation of anything - seems this has caused Apple to just not bother with their early customers. So many updates to so many apps to work with all the new stuff - not much works at all f

  • Acrobat X Pro - Word 2010 to pdf files

    I just bought AcrobatX to create high quality pdf files from Word2010 files in WIndows 7. Unfortunately when I do create them from inside Word using the Acrobat tab, the program crashes! However, if I print the same files using  the  Adobe printer, t

  • Remove "Personalize Link" from context menu of iViews.

    HI, We have to disable / hide the "Personalize Link" from context menu of all  iViews in the portal. we do not want to go to Properties of individual iViews and change that. Is their any global setting for that? _vishal

  • Selection screen output

    Hi All,    rewarded surely    I have a selectin with 2 radio buttons like below. and if a radio button is selected all parameters beneath other radio button should be inactive. O rd1     p1     p2 O rd2     p3     p4 if rd1 is selected, p3 and p4 shu