Recompile components as SWF?

Hi all!

I want to start by saying that I'm pretty novice on Flash CC.

In fact, I just want to add a picture in a SWF file. So I decompiled the file to open it in Flash CC. In doing so, I get so a number of files and folders, including the SWF file that I wanted to change, which is now in FLA format. An image to help you to:

<br/><a href="http://oi62.tinypic.com/zwyqmp.jpg" target="_blank">View Raw Image</a>

So that's what I get after the decompiled file. The one that I to add the image is selected the file.



Now the problem is it when I put the image I would like the FLA file and then, I publish it, the file does not work at all as should be. I guess the problem is that ActionScript files and records, are not in my change FLA file at the time of publication.

What I do just do it to recompile all the files and folders in a new SWF files containing my change? There is a way to do it?

Thank you very much to all those who try Help me!

-J.Wellkins

After decompilation open the fla, change nothing and publish a swf file.  If this swf does not work the same as the original swf (which you decompiled), the decompiler has not precisely this swf decompile.

Tags: Adobe Animate

Similar Questions

  • Program (AS3) components of swf are not displayed in the browser

    Hi friends,

    I'm new to Flash and tools, but I searched the Internet, I tried different suggestions to integrate flash before asking the question here. The question is time swf in Flash Player, but when I view the HTML (generated by Flash Professional CC to embed a swf) in a Flash browser only the components that I've drawn on the screen in step. Any customization made to flash using AS3 components are lost. Other components such as seek bar coded in AS3 don't diplay and any of the features coded AS3 game/work using either. For example, by clicking on the 'play' button does nothing (I tried on 3-4 browsers - this is not specific to a browser). AS3 is inframe coded; There is no class outside the swf file (I know that's not good, but at the moment, that's how it is).

    I did this swf using Flash Professional CC where I also generate the html code to integrate the generated flash. I tried various incorporate methods that they had the same question. I have the feeling that AS3 all related stuff do not work when used in a browser for some reason any as they work when used in the drive. I have an old version of my swf plays well here (Flash CS4?): http://shruti.hejje.com I also checked all the settings for weeks. I have the feeling that I missed something basic to enter for this disorder.

    I'm not allowed to post the code here because of copyright issues then display the swf file that is here: http://sourceforge.NET/projects/shrutipettige/files/Windows/ShrutiSAv1.2.zip (I have a newer version, but who has the same problem). This problem prevents me from doing a new version of the app available online for users. I really appreciate any suggestion of help that you can provide to solve this. I will credit properly those who help me to solve this problem on the website where I want to make it available.

    Concerning

    Rami

    I see (seems to be) a custom combobox, elements, graphics, controls audio and video and this error:

    SecurityError: Error #2149: security sandbox violation: http://hejje.com/shruti/Shruti.swf cannot make fscommand calls to http://www.shruti.hejje.com/shruti.html (allowScriptAccess is sameDomain).

    to FSCommand$ / _fscommand)

    Global / flash.system::fscommand()

    at Shruti_fla::MainTimeline/frame1()

    That is to say, change the value of your allowScriptAcces.

  • Resizing of components | IMG | SWF for different screen resolutions

    It is a question of several party and could be the best answer by directing them to some good tutorials/documentation on the topics, but I will use a specific instance.  Go here: site for this example.  The three areas that I edit are (the building, pole and neon sign) logo, photo stamps, and trailer animation (history).  If you change the screen resolution to 800 x 600 to 1280 x 1024, you will see the provision corresponds to the right of the screen at least in my opinion, with the exception of these three areas mentioned above.  So what I mean, is there a way to 'scaleContent' synonym = "true" for mx:Image (s) inside panels for custom components, img (by themselves), SWFs, etc.?  For example how can I do custom component neon adapt better when it is displayed on a screen of 1280 x 1024.  Here's the code.

    Index.MXML

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"    
        creationComplete="init()"
        xmlns:comp="components.*"
        layout="absolute"
        verticalScrollPolicy="off"
        horizontalScrollPolicy="off"
         backgroundColor="#464d57">
     
     <mx:Script>
      <![CDATA[
       import mx.rpc.events.*;
       import mx.collections.*;
       
       import mx.resources.*;
       
       [Bindable]
       public var pic:ArrayCollection;
       
       private function init():void{
        picDataIn.send();
       }
       
       private function picHandler(event:ResultEvent):void{
        pic = event.result.pics.image;
        trace(pic);
       }
      ]]>
     </mx:Script>
     
     <mx:constraintColumns>
      <mx:ConstraintColumn id="col1" width="25%"/>
      <mx:ConstraintColumn id="col2" width="25%"/>
      <mx:ConstraintColumn id="col3" width="25%"/>
      <mx:ConstraintColumn id="col4" width="25%"/>
     </mx:constraintColumns>
        
     <mx:constraintRows>
      <mx:ConstraintRow id="row1" height="25%"/>
      <mx:ConstraintRow id="row2" height="50%"/>
      <mx:ConstraintRow id="row3" height="25%"/>
      
      </mx:constraintRows>
     
     <mx:HTTPService id="picDataIn"
         url="assets/data/books.xml"
         result="picHandler(event)"/>
     
     <mx:Image source="assets/view/Interface.png"
        top="row2:0"
        scaleContent="true"/>
     
     <comp:Neon  autoLayout="true" />
     
     <mx:LinkBar dataProvider="bookPages"    
        fontSize="24"
        horizontalGap="50"
        bottom="row1:-5"
        right="col4:0"
        disabledColor= "0xaf2d2d"/>
     
     <mx:ViewStack id="bookPages"
         top="row2:0" bottom="row3:0"
         left="col1:0" right="col4:0"
         resizeToContent="true">
      
      <comp:Home id="home"
         label="Home"/>      
      
      <comp:Pics id="pics"
         label="Pics"     
         width="100%" height="100%"
         picData="{pic}"/>
      
      <comp:History id="history"
          label="History"/>
          
      <comp:Contact id="contact"
          label="Contact"
          width="100%" height="100%"/>
          
     </mx:ViewStack>
    </mx:Application>
    
    


    model: neon (Neon.mxml)

    <? XML version = "1.0" encoding = "utf-8"? >
    "< mx:Canvas xmlns:mx ="http://www.adobe.com/2006/mxml">".
    < mx:SWFLoader id = "Loader".
    source="@embed(source='assets/view/Neon2.SWF')" / > "
    < / mx:Canvas >

    The neon.fla dimensions are 800 x 150, which goes hand in hand with my uncertainties.  Is there a preferred method for setting up of your images?  Would be implementation of several SWF files to load in the meantime on the user's screen resolution is the best way, and all the issues between the two?  Thank you very much for your time, understand that it is not easy to answer questions.

    SWFLoader has a scaleContent property.

    If a component is too big for its location, you must decide whether he should be allowed to shrink.  You can allow the narrowing by defining minWidth/minHeight.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • run the shared library

    Hello.

    I use the same library 'food' (which contains apple.swf, orange.swf etc.) for ten different games.

    I don't check the box of shared library of the run time of the export.

    The ten games import food.swf to use its assets.

    I thought that the download of food.swf once then it has been cached, so it would be always local IE: why would it be beneficial to have used the run-time shared library.

    See you soon

    Are you talking about RSL symbol in the Flash IDE?

    If yes - symbol RSL have nothing to do with the RSL application. Symbol RSL is creation environment RSL - they asasets shared between the FLAs - sovereign wealth funds.

    RSL from the point of view of sovereign wealth funds is different story.

    Say, you have the food class. You also have Classes Orange, Apple, nuts that extend the food class. And each of these sublcasses have their own orange.swf, the apple.swf, the walnut.swf SWF.

    You can compile these expanses swf on a regular basis, when they do not share their class super foods. In this case, a copy of food class will be in all the three sovereigns. Thus, all three are also much heavier as flood class is.

    But if you use RSL - you compile food in any of them. You compile food into main SWF that loads of these three rulers extended so that these sovereign wealth funds use one copy that is in the main SWF. The three subclasses are lighter because they have no class of food in sovereign wealth funds.

    In other words, orange, Apple and nuts SWFs are useless on their own unless they are loaded into the main application.

    RSL is not only on the loading of the efficiencies, but also on the deployment and maintainability.

    Suppose you discover a bug in the class of food or make changes that are not related to these three subclasses. If you do not use RSL - you'll need to recompile all three. With RSL, you just need to recompile only main swf.

  • Sharing graphics between several sovereign wealth funds (runtime sharing)

    I put in a quiz. I have a main .swf making requests to a server to get questions. The server then responds with a string of text is parsed, and the container issue is drawn on the screen. For example, the server may respond to the question "is the sky blue?" response = true '.

    My application would then create a box containing the question and two buttons labelled 'true' and 'false '. Each of these elements are drawn using various images of nine-patch that I include in the .swf file.

    My problem is the following. I want to include custom question formats. Instead of simple text, I want to add a question like 'click the blue square on this photo '. I plan do a bunch of these issues in Flash and export a .swf files. The server could then send one of these .swfs as well as issues of simple text.

    Some of these separate issues will contain elements (for example, buttons or text boxes) that I like to shoot in the same style as the questions that are created from scratch in the main application.

    I don't know what is the best way to achieve this. If I include the nine-patch images in each of the separate .swfs so surely I'll run into problems if I ever want to change the images. I have to recompile all the .swfs. I also want the user to be able to change the themes. It is easy to achieve if I swap on nine-patch images in the main application, but will be annoying otherwise.

    create one or more fla files that contain your (in) active symbol of shared.  in the library of the FLA, for each asset that needs to be shared: right click > click Properties > select export for runtime sharing and assign a class and a url.  (at least, to use a subdirectory of your main project directory because you cannot leave this field blank.)

    in all the SWF files that you want to use these common goods, create symbols (graphics are not relevant because they will be replaced by assets created in the fla above) > each symbol library you want to replace a right click > click Properties > check import for TIME sharing, assign a class name corresponding meanings that should replace this symbol and the use of the url the same subdirectory as above with the name SWF:

    in my swf file that contains the orange oval, all instances on the boards will be replaced by the green square.  at a later time if I wanted to use red squares, I would just change the symbol with the symbole1 class in my swf exporter to a red square.

  • How to get the coordinates and the size of the swf to scale components

    I use the Web (I put it to the size of the entire screen) to frame a swfloader that loads a swf file with the width and height set to 100%. This swf has a movieclip. How can I get the exact coordinates of his position and its size after the scaling in Flex?

    In Flash CS4, the movielip a x = 40, y = 700. In Flex, the swf file is set to 100% scale, but when I get the x value of this movieclip, it is always 40. I try to get the scale of the x axis ratio using scaleX of swf. But his 1, pretty weird.

    How can I get the correct coordinates of the movieclip?

    The coordinates are usually compared to something.  X is relative to the parent.

    LocalToGlobal and globalToLocal convert coordinated areas.

    You can go to transform.pixelBounds and

    transform.concatenatedMatrix.

  • SWF playing in the HTML but embedded video is not

    I have several short clips (.flv format) that I need to include in the SWF files that I can put in HTML pages.  For unrelated reasons, I first used Flash 8 and will run on our server to test with no problems.  I thought I was free on this House project!  But when I copied the contents of our QA server for test users, videos stopped playing.  Or to be more precise, the SWF played very well - original content (photos and audio embedded .wav) started playing, but when the timeline reaches the keyframe flvplayback, nothing is played.  At the end of these swf files are final photos and another audio file embedded .wav who played very well if you waited until the SWF hit these keyframes.

    So, I tried the following:

    1. create the SWF directly on the server QA, thinking that maybe I forgot something.  Same result.

    2. create the SWF using Flash Pro... mixed results

    • Creating fine. I go to control - test animation - in the browser and the video plays perfectly.  Note, that it plays by using the URL of the drive mapped instead of a web address.
    • Change the URL of the drive mapped to the URL of the html test content is created shows the same results as Flash 8 in this environment - the video itself plays (I have the display of text that changes at the appropriate intervals chronology) but the video itself does not play.
    • Import the video into html files from Dreamweaver CS6 I need finally to do, did not help either - same result - swf seems to play, but not video.

    I just can't understand why the first videos, created using Flash 8 and on the test server, no longer work when they are copied to the QA server.  There are script files that maybe I'm missing?  Videos are NOT embedded in the SWF file due to problems of synchronization with the video and audio components, but rather I was selection to disseminate their.  They are located in the same folder as the SWF itself.  Is there a setting from one system to the other needs to be changed?  Or something that I need to adjust to get the web URL to play against the address of the file?

    I use either 11 and what solution I come with MUST use either as this must play on specific systems and I can not change the browser (company policy).

    If you import it, you then enter the directory path at the beginning.

  • Embedded the swf using the external video (FLVPlayback) error #2035 / #2044

    I struggled with this a lot recently, and I don't even know if it's at all possible.

    I am currently working on a project where I am incorporating a .swf inside another .swf.

    The built-in .swf file however also uses the external videos FLVPlayback to load component, this is where the problem starts.

    When you publish the .fla project I get the 2035 # IOErrorEvent when tracing the problem I get the #2044, it is to be expected however.

    The embedded swf is always looking for external videos, but since the new ROOT is the swf file, in which it is integrated, it will not find these videos.

    I need to know if there is a way I can specify or link these external videos required by the embedded swf file FLVPlayback component.

    I really can't be bothered again all the video content and their incorporation in the timeline.

    Thank you.

    The code inside the SWF will trigger these errors will occur if you don't have the source for sovereign wealth funds to stop it.

    If you do then you can just access SWF files loaded the mother/stub swf you have and check anything with a name or instance on the display list with the code, as all of the FLVPlayback components. You can then tell them the correct path.

    Otherwise, it would take something like a rewrite mod apache to redirect paths incorrect film to the correct path.

  • CS6 - fonts embedded in external swf loaded--lack of characters

    I created a SWF with some embedded fonts, and nothing else. I put all the fonts to export for Actionscript. When I load the external police, I call Font.registerFont () on each of the classes of this SWF fonts. The fonts work, but several characters are missing from the police.

    However, if I incorporate the same fonts in the main swf file that has the textfields instead of their loading from an external swf, all characters appear as expected.

    The alternative is for me to integrate several fonts in several other SWFs to be redundant.

    This seems to be a serious bug in Flash. I like it if it's not, and I'm doing something wrong. Adobe, are you listening?

    That's why I approach to code for 98% of all projects. My TextFields are that all formatted using the TextFormat class. I embed or load a SWC with the fonts in the main project and whatever other charges have use fonts that I loaded only once in the main application.

    Consider that there are also Runtime shared as an option for you. This is where you mark all your fonts in a Font.FLA export as shared runtime. Then just create the same fonts in your other parts of the user interface, but to import from the file shared time. Then you can work on the separate user interface components while still seeing the correct font.

    System code page simply means that if I'm on an English Windows copy then which will be the language that Flash considers most important. If I try to embed Arial and then programmatically create and populate a TextField with Chinese, it won't work, nothing will be displayed. Even though I explicitly tell Flash to include Chinese glyphs (which certainly exist in Arial). Because I can not specify the unicode range I need and force it as Flash Builder, Flash "magically internally" decide everything I need is English (latin) glyphs and wouldn't integrate the Chinese glyphs. This magical behavior was always a pain.

  • Embedded SWF giving rise to strange behaviors of state change

    Hello

    I use flex sdk 4.6 and writing an AIR 3 application to use the desktop.

    In my application I am incorporating a swf application in one of my views with SWFLoader, this swf created in Flash and is not a Flex application. The application load and runs fine, but when I'm going to declare in the parent application (for example, application.currentState = "State1") I have the following error

    TypeError: Error #1034: Type coercion failed: cannot convert function in mx.styles.CSSStyleDeclaration.

    at mx.styles::StyleProtoChain$/matchStyleDeclarations() [E:\dev\4.y\frameworks\projects\frame work\src\mx\styles\StyleProtoChain.as:920]

    at mx.styles::StyleProtoChain$/getClassStyleDeclarations() [E:\dev\4.y\frameworks\projects\fr amework\src\mx\styles\StyleProtoChain.as:114]

    at mx.core::UIComponent/getClassStyleDeclarations() [E:\dev\4.y\frameworks\projects\framework \src\mx\core\UIComponent.as:10947]

    at mx.styles::StyleProtoChain$/getMatchingStyleDeclarations() [E:\dev\4.y\frameworks\projects \framework\src\mx\styles\StyleProtoChain.as:823]

    at mx.styles::StyleProtoChain$/initProtoChain() [E:\dev\4.y\frameworks\projects\framework\src \mx\styles\StyleProtoChain.as:244]

    to mx.core::UIComponent / http://www.Adobe.com/2006/Flex/MX/internal:initProtoChain ([E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:10926])

    at mx.core::UIComponent/regenerateStyleCache() [E:\dev\4.y\frameworks\projects\framework\src\ mx\core\UIComponent.as:10989]

    to spark.components::Group/regenerateStyleCache() [E:\dev\4.y\frameworks\projects\spark\src\s park\components\Group.as:1238]

    to mx.core::UIComponent / http://www.Adobe.com/2006/Flex/MX/internal:addingChild ([E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7465])

    at mx.core::UIComponent/addChildAt() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7195]

    to spark.components::Group/addDisplayObjectToDisplayList() [E:\dev\4.y\frameworks\projects\sp ark\src\spark\components\Group.as:2037]

    to spark.components::Group / http://www.Adobe.com/2006/Flex/MX/internal:elementAdded ([E:\dev\4.y\frameworks\projects\spark\src\spark\components\Group.as:1628])

    to spark.components::Group/addElementAt() [E:\dev\4.y\frameworks\projects\spark\src\spark\com ponents\Group.as:1387]

    to spark.components::SkinnableContainer/addElementAt() [E:\dev\4.y\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:775]

    in mx.states::AddItems/addItemsToContentHolder() [E:\dev\4.y\frameworks\projects\framework\sr c\mx\states\AddItems.as:782]

    in mx.states::AddItems/apply() [E:\dev\4.y\frameworks\projects\framework\src\mx\states\AddIte ms.as:563]

    at mx.core::UIComponent/applyState() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:10741]

    at mx.core::UIComponent/commitCurrentState() [E:\dev\4.y\frameworks\projects\framework\src\mx \core\UIComponent.as:10487]

    at mx.core::UIComponent/setCurrentState() [E:\dev\4.y\frameworks\projects\framework\src\mx\co re\UIComponent.as:10323]

    to mx.core::UIComponent / set currentState() [E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:6425]

    at edu.stthomas.development.controllers::TriviaController/exit() [C:\Users\john0991\Desktop\D evelopment\DevelopmentWall\src\edu\stthomas\development\controllers\TriviaController.as:61]

    If I load the swf States and external switch, then I have no problem. I spent hours in the debugger trying to track down what happens, and I can say that the commitState function will eventually call regenerateStyleCache on something that is not ready for it? Sometimes subject to a review at the matchStyleDeclarations is an Image or something else that i'm going to State. But even once, when I load the swf file, it never happens. I am at my wits end and I hope that a friendly stranger can give me an idea

    OK, I discovered the problem.

    The embedded swf I have loading contained some actionscript to the effect of

    Array.prototype._myFunction = {function (arg)}

    do things

    }

    They were change the prototype of table, and (understandably) muffled Flex on something (but curiously only when state changed :/))

    After removing and rewriting functions, I can succesfully embed the swf file in my flex application

    See you soon,.

    Rory

  • SWF files will not play in the 11.1.102.55 version

    System: Windows Vista Home Premium, 32-bit operating system

    Computer: Toshiba Satellite A205 laptop

    Browser: Firefox 9.0.1 and IE Explorer 8.0.6001.19170

    I use swf files to show the views in 360 degrees of my products.  All swf files worked very well until version 11.1.102.55 is out.  Now just a white spot is shown where the image is supposed to be.  Here is an example: http://www.downunderweb.com/store/MI_SAD235.html

    I tried to view my site on multiple computers and browsers with the same results - nothing shows up in 11.1.102.55, but swf files work fine on older versions of flash.  I spoke with other web owners who have the same problem.  The new version of flash not backward compatible with some SWF files?

    Thank you, ralphk.  I don't use windows 64 bit so it wouldn't be a problem.  I recompiled now all my images with the latest version of Object2vr swf and files now display correctly in all browsers.

  • Addition of the SWF to an xml file

    Hey guys, have a bit of a problem.  Basically, I now have a third gallery that is different from the 2, I've worked on that.  I found an ideal component to use for this gallery.  All the thumbnails have been perfectly implemented using xml.  However, some of the thumbnails will load a swf and no images.  Currently, I have a xml as follows

    <images>
        <image path="Work/work1/images/01.jpg"/>
        <image path="Work/work1/images/02.jpg"/>
        <image path="Work/work1/images/03.jpg"/>
        <image path="Work/work1/images/04.jpg"/>
        <image path="Work/work1/images/05.jpg"/>
        <image path="Work/work1/images/06.jpg"/>
        <image path="Work/work1/images/07.jpg"/>
        <image path="Work/work1/images/08.swf"/>
        <image path="Work/work1/images/09.swf"/>
        <image path="Work/work1/images/10.swf"/>
    </images>
    

    Large images of loading is just a matter of practice

    function clickHandler1(event:ThumbnailEvent){
        mySlideshow.loadImage(event.item.id);
    }
    

    I don't know how components are set up, but I searched for the loadImage function and can't find it anywhere.  So what I thought I would do, is trying to add the swf file is myself.  I removed the swf to xml links, and doing this in my function

    function clickHandler2(event:ThumbnailEvent){
        var counter:Number = event.item.id + 4;
        if(counter  == 7){
            myLoader1.load(new URLRequest("Work/work1/images/08.swf"));
            mySlideshow.addChild(myLoader1);
            trace("true1");
        }
        if(counter  == 8){
            myLoader2.load(new URLRequest("Work/work1/images/09.swf"));
            mySlideshow.addChild(myLoader2);
            trace("true2");
        }
        
        if (counter  == 9) {
            myLoader3.load(new URLRequest("Work/work1/images/10.swf"));
            mySlideshow.addChild(myLoader3);
            trace("true3");
        }
        else{
            mySlideshow.loadImage(event.item.id + 4);
        }
    }
    

    So what I mean essentially, is, if not click on thumbnail 7, 8 or 9, load their video load the image for the item clicked.  Now certain works, but the first issue I encountered is that if I click on a thumbnail, and then another (miniature 7, 8 or 9), it would load a video on top of the other and play at the same time.  Yes, before boarding, I removedChild of mySlideshow where appropriate.  This solves the problem to view the SWF on top of the other, but the video in the swf file that has been deleted would still play, as I hear it

    So I don't know if first of all, I approach it the right way and how to stop the swf on the other hand, removed from the game.

    No matter what advice appreciated as always


    Nick

    Update for the function:

    function removeLoaders(loaders:Array):void {
         for(var i:int = 0; i < loaders.length; i++) {
              var loader:Loader = loaders[i] as Loader;
              if(!mySlideshow.contains(loader)) continue;
    
              loader.unloadAndStop(true);
              mySlideshow.removeChild(loader);
         }
    }
    
  • How to incorporate and display a SWF in a Flex application.

    Hi all

    I'm trying to embed a swf animation in a flex 4.5 application and display it, but it does not work!

    I get error after error.  When I try to use addElement(), I get the following error:

    1067: coercion of a value of type mx.core:MovieClipLoaderAsset to an unrelated type mx.core:IVisualElement.

    If I use addChild(), then he throws another error when running.

    Here is my code:

    [Embed(source="assets/con_mov.swf")]
    private var connectMov:Class;
    private var conMov:MovieClipLoaderAsset = new connectMov();
    

    Here's the code I'm trying to use it to displey:

    borderContainer.addElement(conMov);
    

    I tried just to add to the application using this.addChild (connectMov), but I get an error during execution.  It's ridiculous!  Bringing a swf created in Flash into Flex and displaying should not require so much effort - IMHO.  There is a lot of documentation on how to embed a swf in Flex, but almost nothing about how to post!

    It's just a simple animation placeholder so I need access to all the functions on the inside, I want to integrate rather than using swfLoader.

    Thanks for any help or advice you can give!

    Matt

    Hello Matt,

    Yes you are right, it is not necessary to set the source of the image that we add a movieclip with swf. It was a mistake in my

    code, because I have tried it with too many crazy ways.

    Now the SWFLoader, ABT

    This technique works well with the SWFs that adds a graphical application or animations, but are not intended to have a large amount of interaction with the user. If you import SWF files that require a large amount of user interaction, you must build them as custom components. (Adobe Docs)

    Thank you and best regards,

    ---------------------------------------------------------------------- ----------------------------

    Kanchan Ladwani | [email protected] | www.infocepts.com

    ---------------------------------------------------------------------- ----------------------------

  • Using a font swf file embedded in mxml

    Hello

    We need to load fonts when running because of the needs of localization. I work in an AS3 project in Flex by embedding fonts in a class and then load this swf into another class and saving the police.

    What I need now is to be able to use this class of fonts in the MXML components like a spark label. I can't make it work well. I tried to reference the SWF in a style sheet, then do a style class in CSS using this font like this:

    / * Embed.css * /.

    {@font-face}

    src: url ("_Arial.swf");

    fontFamily: "_Arial";

    }

    .genericTextArial

    {

    do-family: "_Arial";

    fontSize: 40;

    Color: #000000;

    }

    Then in the MXML I have this:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >

    < fx:Style source = "Embed.css" / >

    < s:Label text = "This should display my text incorporated." width = "100%" styleName = "genericTextArial" / >

    < / s:Application >

    However, I can't seem to make. I also tried the method of incorporation of the police in a text field in Flash Professional and loading in this swf file and it does not work either. Am I a parameter missing or just goes to this topic in the wrong way?

    Try to compile the CSS into a SWF and loading via StyleManager.

  • Flash ok but Player 9 installed 10.3 active for standalone swf files

    It is a rather interesting scenerio. I am running Vista 32 Bit (upgrade to Windows 7 soon) using IE9 and I try to view the .swf files that require Flash Player 10. No problem, I uninstalled all components of Flash Player using the Flash Player uninstall program. I rebooted, reinstalled Flash Player and confirmed all was working well. Modules are enabled, and all the controls reveal that I have installed 10.3. The problem that I am facing is when I try to run a separate .swf, the player file that appears says "Flash Player 9. The .swf file will not play as stand-alone, but it will play in my browser. How can I get Flash play 10 to be my default player? DRM for your help.

    As I posted earlier, the download is the standalone player, not an installation program.

    Everywhere where, that you downloaded, it will be there.

Maybe you are looking for