Cannot convert the SWF into a MovieClip

I have a problem when I have a project as3 loading in an AS3 SWF that contains an another AS3 SWF containing a videoplayer, and I am getting error of failure of type coercian as above.

TypeError: Error #1034: Type coercion failed: cannot convert work_client_overlay@39e9e0b1 to flash.display.MovieClip.
to WorkClient / externalLoadComplete)
function / http://adobe.com/AS3/2006/builtin::apply()
to MethodInfo-(37)

usually, when I load in a SWF file I put something like

mc:MovieClip - new MovieClip() var;
MC = MovieClip (ev.currentTarget.content) //where ev.currentTarget is a charger

Then, I find that I can trigger functions in the SWF file that is loaded using the
MC. SomeFunction();

but this does not work in this case and the only reason I see is that there is a videoplayer loaded inside the SWf I am loading in...

Any help would be greatly appreciated.

Greg

I solved it. The main class of my loaded SWF needed to extend the MovieClip and it prolonged only Sprite.

Tags: Adobe Animate

Similar Questions

  • Cannot convert the pdf drawings in word format available

    I use adobe 8.1 and can't convert the file into a searchable documents in Word.  I'm following the guidelines for the OCR character recognition, but without success.  Any suggestions or a newer versio of acrobat or prhaps another application.

    Try ClearScan option. The search option is the choice. You may need to use the latter since the fonts for ClearScan in some versions are created on the fly and are not system fonts.

  • How to print after the Error Msg: cannot convert the postscript file

    "Maverick", we installed our MacBook Pro and our printer is a HP 8600.  We have failed to get our Adobe Acrobat Professional 8 to print our PDF files.  Instead, we got the error msg: impression: cannot convert the postscript file.  We have used this application for years without any problem.  How do we solve this problem so that our request will BE "convert postscript file" or do we not have to spend several hundred dollars to upgrade?

    I think that we have solved the problem.  Instead of looking for the solution via Adobe, we went to our info from the printer online, which was the HP OfficeJet 8600.  We found the printer drivers special for our system of operating newly installed Maverick for our MacBook Pro.  After having downloaded and installed the new drivers by fashion, we tested print a pdf document, and it was printed without any problems.

  • DW cannot convert the < object > tag created with swfObject 2

    I have a Flash video on an "integrated" static html page using the swfObject method 2. When I open the page in DW CS3 I get this error message:

    "This page contains < object > tags that may not work properly in the most recent versions of Internet Explorer. DM cannot convert the < object > tag. »

    Page plays the video the two local system on the server.

    this test page is here: http://www.rjdutton.com/about_movSWF2.html

    Relevant source code is:

    --> < object classid =... etc and

    --> < object type =

    Since this is the only code on the test page that refers to an object tag.

    The on-board Flash I have on the website (home page and the who we are page) now are incorporated using < embed > via Flash CS3 (AC_Run active content), but this method does not validate. the swfObject method 2 valid.

    I'm working on a Mac. Could someone check the page on the victory of the IE and see if the video is running?

    Can I ignore the message 'error' of Dreamweaver?

    Thanks - Susan

    I think that you will have no problem ignoring the message.

    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Adobe Certified Expert - Dreamweaver CS3
    Adobe Certified Expert - ColdFusion 8
    Fordwebs, LLC
    http://www.fordwebs.com
    http://www.cfnoob.com

  • Embedding a SWF Movieclip gives the error: "cannot convert box_swf to flash.display.MovieClip.

    Hello, I am getting a weird error on a very simple code.

    I have a swf containing a clip with the Linkage name "Box". The movieclip has an animation of 30 images, still Flash Builder keeps mistake saying: this isn't a clip!

    SerializableAttribute public class Main extends Sprite

    {

    [Embed (source = "... / assets/box.swf", symbol = "Box")] public static A_Box: Class const;

    public void Main()

    {

    var box: MovieClip = new A_Box();

    }

    }

    #1034: constraint type failed: cannot convert box_swf$161b93e3bc30cfa0cb18e1d734943c6f-1063626660@53720a1 to flash.display.MovieClip.

    If I try to bring it as a leprechaun, it works very well (var box: Sprite = new A_Box();), but then it does not animate, because it is considered as a sprite.

    I looked around 20 examples online, the code is very simple and I can't seem to find anything wrong with my code. I also rechecked 300

    time and the Movieclip is correctly set up inside the Swf. (name of the link, several frames, export for actionscript Framework 1, etc.)

    Then... Why does is not the only work of Sprite and MovieClip?

    I'm doing something wrong or is this maybe a problem of FlashBuilder/Air13.0?

    Thank you!

    I opened my project again today to see if it suddenly works perfectly... Something must have been in cache because I got hurt with her for six hours yesterday, and now without changing it works immediately the bat.

    I find that there are problems cache as such in FB. Sometimes the changes I have made do not appear in the project at all (including the removal of the top classes) until I restart FB. Really wish that Adobe get their act together and release a patch to fix some of the bugs all.

  • How to restart the SWF into Movie Clip (loaded via .loadmovie)

    Hello

    I have a flash document that calls a .swf file in a clip via the .loadmovie command.  The .swf plays throughout in the clip, but it has problems with the button 'replay' at the end. He's not letting go taken of all shares of the first piece and doesn't charge properly.  The .swf completely restarts itself, he uses this code to replay:

    {We (Release)}

    _root.gotoAndPlay (1);

    }

    but once the .swf is loaded in the main flash file, the "replay" button no longer works.

    Can someone offer you actionscript that I can apply the button at the end of the .swf that will allow him to play again when it is loaded into the movieclip in the main FLA file please?

    Thank you very much in advance,

    Ginger

    Put it in the first image of your main timeline, so it runs before all references to _root are executed.

  • Convert the .swf

    I'm trying to convert .swf to .mp4 - I know that sounds stupid - but I don't know how to do this.

    D

    You do not have the native video in MPEG, MOV or AVI?

    Online video converter

    SWF is not a video file.  It is a shockwave file.

    Nancy O.

  • Cannot convert the value &amp; quot; down &amp; quot; a Boolean value

    I am trying to establish why this example gives me an error, it is intended to demonstrate the ability to return one data type other than a Boolean value to a UDF but doesn´t seems to work. Why is this? I'm using cfmx7 who shouldn´t of importance that the UDF are cf5 + thank you for any response

    Hydrowizard wrote:
    > Thanks for the reply Phil, sorry I forgot to put the error message is
    > "unable to convert the"inferior"to a Boolean value. The return is partly false in
    > the code I got rid of him now, I thought that it was always
    > Thank you for this comment.
    >

    Have your resolved your error?

    If not, or for others in your so first paragraph:

    You not compare function for anything so try to SEE
    convert the returned value "below" in this case true or false.
    that is a Boolean and failing value. If she tells you that it cannot
    convert "down" to a Boolean.

    Now, it would give him no problem.

    But then I don't know what is really stable.

  • "" Cannot convert the DVD content to. WMV error file Format "need media encode.

    Original title: encode media need

    I have windows 7, I am trying to copy DVDs to WMV format. I get instructions to install media encoder. My computer will play wmv already if do not know why I get this message. Thank you.

    The f

    Hi Jeffst,

    1 are directly convert DVD files?
    2. are you trying to copy the content of the DVD first and try to convert the files?

    You can use a conversion tool to convert your files to another. WMV format. The link below is a program free Converter Windows Media Encoder 9. There are other programs of type converter out there, so if the Encoder 9 is not exactly what you are looking for, you have that option.

    http://www.Microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx

    Reference:

    How to index a file video .wmv with Windows Media Encoder
    http://www.Microsoft.com/windows/windowsmedia/KnowledgeCenter/mediaadvice/0065.mspx#EAF

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot convert the accepted invitation

    We have a user who sent us in the invite to his Illustrator CC license. She has installed software, 35 days ago. Today, she receives a message that his trial has expired. On the administrative console, it seems that she never accepted the invitation. I cancelled the invitation and sent the invite, accessed his computer remotely, and click on the button of invitation accept myself. It allows me to connect as, she says, but there is no license associated with its identification code Adobe she has only 1 Adobe ID.

    Please check these:'

    I'm unable to accept an invitation from the creative team Cloud.

    Creative cloud for teams Invitation has not received

    He is mentioned in cannot accept the invitation of the CC team , you need to contact the support team too, CC help | Creative cloud for teams

    Concerning

    Stéphane

  • How to convert the lines into columns dynamically

    HII
    I have a 'report_line' with the following data table

    location_code line_code value
    LOC1 L1 12
    loc2 L1 13
    LOC1 L2 15
    loc2 L3 11
    LOC3 L1 9

    Now I want the o/p by converting the line_codes in clumns as below

    L1 L2 L3
    LOC1 12 15
    13 11 loc2
    LOC3 9

    How can I do this dynamically. Line codes are not constatnt, they can change for each scenario.

    Thank you
    Sandeep

    I want just a sql for this query and no. columns ' maximum of are 6.

    In this case you can do.

    --sample data
    with t
    as
    (
    select 'loc1' location_code, 'L1' line_code, 12 value from dual union all
    select 'loc2', 'L1', 13 from dual union all
    select 'loc1', 'L2', 15 from dual union all
    select 'loc2', 'L3', 11 from dual union all
    select 'loc3', 'L1', 9 from dual
    )
    --end of sample data
    select location_code,
           max(decode(line_code, 'L1', value, null)) L1,
           max(decode(line_code, 'L2', value, null)) L2,
           max(decode(line_code, 'L3', value, null)) L3,
           max(decode(line_code, 'L4', value, null)) L4,
           max(decode(line_code, 'L5', value, null)) L5,
           max(decode(line_code, 'L6', value, null)) L6
      from t
     group by location_code
    

    Here I used the WITH clause as an example of table. You can replace the "t" table name in the select statement with your actual table and remove the WITH clause.

  • error 'Cannot convert the type value' regarding

    Here's the scenario:

    There are partial data in the ATG user related tables.

    1. I mean like the tester deleted the record for one of the user in the dps_contact_info table.

    2 Tester invalidates the cache in the profile repository

    3. try to connect with the same username and password.

    4 get the error in the newspapers ' Can' secret value for type "and also because the exception message 'cannot change existing identifiers. This error message is seen for the first time when the user after deleting the record connections. When we logout and login back again once there mistakes.

    5. but the record gets inserted into the dps-contact_info table after connecting successfully.

    Here is my definition of the user for the custom address table

    < name point-descriptor = "defaultContactInfo" >

    < table name = "upt_user_dflt_adr" type = "primary" id-column-names = "user_id, type_cd, opco_id" >

    < property name = name of column "address" = 'adr_id' element type = 'contactInfo' category = 'general' cascade = "insert, update, delete" / >

    < property name = "user" column-name = data type 'user_id' = 'chain' category = 'general' / >

    < property name = column name data type 'type' = 'type_cd"="enumerated"category ="general"default ="HOME">

    < attribute name = "useCodeForValue" value = "true" / >

    < option value = "HOME" code = "0" / >

    < option value = "BILLING" code = "1" / >

    < option value = "DELIVERY" code = "2" / >

    < / property >

    < property name = "opco" column-name = data type 'opco_id' = 'listed' category 'general' = >

    < attribute name = "useCodeForValue" value = "true" / >

    < option value = "STSH" code = "0" / >

    < option value = "ELSA" code = "1" / >

    < option value = "GNTC" code = "2" / >

    < option value = "MRTN" code = "3" / >

    < option value = "MRTR" code = "4" / >

    < / property >

    < /table >

    < / descriptor point >

    I am not able to solve this problem. Please let me know what needs to be done to avoid this error ' can' secret value for type. Thanks for your help.

    Finally, with some out of debugging the code in the box, I found the real problem.

    Here the solution useCodeForValue is set to false and it solves the problem of conversion for me.

  • Cannot convert the old Board?

    I have a Panel in Configurator 2.0, I created and I am trying to convert it to a compatible version of CS6, and it gives me an error saying cannot write. What can I do to convert my Panel?

    You can resolve this issue by following these steps:

    1. open your panel with Configurator 2.0

    2. remove the button 'Dust and scratches' in the category 'filters '.

    3 Save and close

    4. open the Panel with Configurator 3 to convert Panel CS6

    6. drag and drop the command "dust & Scratches' (hand-> filter-> noise-> dust & scratches) to place where it is removed in step 2

    Because this command id contains "&" and the sequence escape '&' is used internally for the conversion. We'll fix this bug in the next version. These commands will also suffer from this problem:

    Edition-Preferences-TransparencyandGamut

    Edition-Preferences-UnitsandRulers

    Edition-Preferences-Guides, grid, SlicesandCount

    Image-adjustments-BlackandWhite

    Layer-LayerStyle-BevelandEmboss

    Layer-NewAdjustmentLayer-BlackandWhite

    Filter-noise-DustandScratches

    Filter-sketch-Craieetfusain

    Window-space to work-KeyboardShortcutsandMenus

  • Convert the .swf in .mov

    Hello! I have a client who gave me some Captivate files. I produce a video for this customer and need to convert files in .mov format for import into Final Cut. I downloaded the trial version of Captivate and CS5 production, besides. Any help on a free software or a function inherent to the Adobe software would be greatly appreciated!

    Hello!

    If you publish the captivate in F4V format files using the option of media left in the window post, you can convert a FLV in Adobe Media Encoder.

    Once the FLV format, you can use a freeware such as FLV Converter software to encode them in MOV format.

    I hope that solves the problem!

  • Why converts the images into a text file?

    I found that when I opened some art work that I have done in Illustrator CS4 work seems itself have converted into text files.

    Could someone tell me why this is happening. I seem to have lost the work which took many hours. I'm puzzled.

    Grateful for any advice.

    Kind regards.

    What gives you the impression that they are text files? The original format of the files was Postscript, a text format, but who died with AI9. Here is the PDF format.

Maybe you are looking for