New CC Flash & HTML canvas errors

Hi, I just upgraded to Flash CC but I have questions that I think are simple new user errors. My problem is when I create a new canvas HTLM5 and copy images in the library. 1 a background image and a tree. Both were originally png cut and pasted through Fireworks.

So I put the background on the new document and publish everything works fine a static image is displayed

Then I put the (static) tree on the bottom in a new layer or on the same layer can publish and white canvas is displayed.

When I publish, I get the following warning is displayed on the output tab

WARNINGS:

* 2 Bitmaps packed with success in 1 spritesheet (s).

Safari reports TypeError: undefined is not an object (evaluation of "this.spriteSheet.getNumFrames")

IE 11 reports

HTML1300: Navigation has occurred.

test.html

HTML1202: file://mac/Home/Desktop/untitled%20folder%205/test.html is running in compatibility mode, because "Display intranet sites in compatibility view" is checked.

test.html

DOM7011: the code on this page off backward and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337

test.html

[object Error]

{

Description: "object does not support property or method 'defineProperties ', '.

message: "object does not support property or method 'defineProperties ', '.

name: 'Type ',.

Number :-2146827850

}

[object Error]

{

Description: "object does not support property or method 'defineProperties ', '.

message: "object does not support property or method 'defineProperties ', '.

name: 'Type ',.

Number :-2146827850

}

SCRIPT445: Object doesn't support this action

Untitled - 3.js (20.1)

SCRIPT445: Object doesn't support this action

test.html (21.2)

The only post I found indicated that running the files locally on the desktop computer rather the a web server may cause this error.

I use an iMac with safari and IE11 (running in Parallels)

No indication on my simple mistake would be appreciated

When you have made a test movie, did the images appear ok? It is normal when you use spritesheets so it fails if you try to open the HTML document locally. If you've seen ok with a test film images, so it should all work when the files are on a server.

You can go into the publication settings and disable the spritesheet option. Then, the HTML code should work as a local test.

Tags: Adobe Animate

Similar Questions

  • Peripheral input MIDI CC Flash / Html Canvas

    Hello world

    First of all, if this isn't the right place for my question, would you please tell me where I can ask questions about CC Flash / actionscript 3.

    I'm building a game (with CC Flash / Html Canvas / AS3, on a Mac) for players to help them play it by ear. The app plays a few notes (.wav or Mp3 files) and the user has to play on a piano.
    Here is an example of level 3. (Sorry it's a french version for the moment).

    For now, it works fine with the included virtual piano but as I want to add the ability to play more than one note at a time (ex: agreements), I want users to use their keyboard as input device.
    The only information I found on the Internet about the midi input/output are too old, and I have not found anything on the use of this feature with Flash.

    So, how to set a midi piano keyboard as input device and collect the notes?

    Can I use the W3org WebMidiApi? If yes how?

    Thanks for any help or idea.

    F.

    It works!

    I tried with ExternalInterface, but I was getting a lot of errors.
    Looking forward for an example using this method, I found another solution simpler. So simple I don't know why I didn't try it before.

    I just need to add 2 lines on my html page:

    event.data = playednote [1] / / this is the value of the note played on the keyboard this line replaces the alert.

    document.myFunction (playednote); MyFunc is a function in Flash/AS

    Your last tip about unchecking the output HTML is very useful! I have a lot of time.

    Thanks for your help, now I can continue. I am happy

    Here's the script in my html page:

  • Problem with button Flash HTML Canvas document click on opening multiple browser windows

    Here is the code I use. When I click on the buttons, they open a new browser window.

    If I go back to the new buttons and click on them, they open two browser windows.

    If I repeat the process again a click will open three windows, etc. etc.

    It does in 6.1.6 Safari and in Firefox 35.0.1 but it functions correctly - just open a browser by clicking window, in Google Chrome.

    What I'm doing wrong or is it a problem with the browsers themselves?

    / * Click here to go to the Web Page

    Click on the specified symbol instance loads the URL in a new browser window.

    Directions for use:

    1. replace http://www.adobe.com with the desired URL.

    Keep the quotation marks ("").

    */

    this.learnMore2.addEventListener ("click", fl_ClickToGoToWebPage_6);

    function fl_ClickToGoToWebPage_6() {}

    window.open ("http://www.google.com", "_blank");

    }

    / * Click here to go to the Web Page

    Click on the specified symbol instance loads the URL in a new browser window.

    Directions for use:

    1. replace http://www.adobe.com with the desired URL.

    Keep the quotation marks ("").

    */

    this.bookingRequest2.addEventListener ("click", fl_ClickToGoToWebPage_7);

    function fl_ClickToGoToWebPage_7() {}

    window.open ("http://www.apple.com", "_blank");

    }

    Gotcha now.

    I found this thread, can be to the address you are looking for.

    Flash html5 canvas opens several tabs when the animation loop

  • Flash Pro CS5: Why I don't see 'Copy to HTML canvas' command?

    Suite: http://CS5.org/?p=3 & cpage = 1

    Could you please tell me why I can't see menu 'Copy on canvas HTML' on Flash Professional CS5?

    Where can I get information on "renderFXG.js" and there is any Web site used this?

    Hello

    The demo of MAX was a foretaste of a proof of concept.  The command 'Copy HTML canvas' and renderFXG.js do not ship in Flash and Dreamweaver CS 5.

    However, HTML5 is definitely an area that we focus on the future.  Please describe the workflow HTML5 that you want to use.  HTML5 what types of content do you use with Flash and Dreamweaver.

    Thank you

    Amel

  • Random MovieClips does not work in HTML canvas

    This code works for as3, but why it works not for HTML canvas?

    Can someone help me?

    var MovieArray:Array = new Array(btr,btg,bty);

    for (var i: int = 0;  I < MovieArray.length;.  i++){

    var RandomNumber:Number = Math.floor (Math.random () * MovieArray.length)

    var MoviePosX:Number = MovieArray [NombrAl] .x;

    var MoviePosY:Number = MovieArray [NombrAl] there;

    MovieArray [NombrAl] .x is MovieArray [i] .x;.

    MovieArray there [NombrAl] = there MovieArray [i];

    MovieArray [i] .x = MoviePosX

    MovieArray [i] = MoviePosY there

    }

    There are still a few errors in your code. Use it instead:

    var MovieArray is [this.btr, this.btg, this.bty];.

    for (var I = 0; i)< moviearray.length;="" i++)="">

    var NombrAl = Math.floor (Math.random () * MovieArray.length)

    var MoviePosX = MovieArray [NombrAl] .x;

    var MoviePosY = MovieArray [NombrAl] there;

    MovieArray [NombrAl] .x is MovieArray [i] .x;.

    MovieArray there [NombrAl] = there MovieArray [i];

    MovieArray [i] .x = MoviePosX;

    MovieArray [i] there = MoviePosY;

    }

    In general, during the transition from AS3 to JS, you must make the following changes mainly:

    1. all instance names must be referenced as 'this principaltype.instance-name '.

    2. all the ': type' prescribers should be deleted.

  • Center of html in the browser (html canvas). Help, please.

    Hi guys.

    I'm really stuck here and I hope someone can help. I looked online and found some answers but I'm not good enough with the code to be able to figure out how to change this option for centering in the browser window. This code - published from flash with html canvas cc - looks different to other peoples code. Could someone please indicate where I need to add the ' align: Center ' or 100% or whatever is needed. Thanks to you all!

    <! DOCTYPE html >

    < html >

    < head >

    < meta charset = "UTF-8" >

    animation of curve < title > change flash < / title >

    " < script src =" http://code.createjs.com/Easeljs-0.8.1.min.js "> < / script > .

    " < script src =" http://code.createjs.com/tweenjs-0.6.1.min.js "> < / script > .

    " < script src =" http://code.createjs.com/MovieClip-0.8.1.min.js "> < / script > .

    " < script src =" http://code.createjs.com/preloadjs-0.6.1.min.js "> < / script > .

    < script src = "edit the curve animation flash.js" > < / script >

    < script >

    var canvas, stage, exportRoot;

    function init() {}

    canvas = document.getElementById ("canvas");

    images = images | {};

    var loader = new createjs. LoadQueue (false);

    loader.addEventListener ("fileload", handleFileLoad);

    loader.addEventListener ("complete", handleComplete);

    loader.loadManifest (lib.properties.manifest);

    }

    function handleFileLoad (evt) {}

    If (evt.item.type == 'image') {[evt.item.id] = evt.result ;} images

    }

    function handleComplete (evt) {}

    exportRoot = new lib.changecurveanimationflash ();

    Stadium is new createjs. Internship (Canvas);

    stage.addChild (exportRoot);

    internship. Update();

    stage.enableMouseOver ();

    createjs. Ticker.setfps(25) (lib.properties.fps);

    createjs. Ticker.addEventListener ("tick", stage);

    }

    < /script >

    < / head >

    < onload = "init (); the body"style =" background-color: #D4D4D4 ">

    < canvas id = "canvas" width = "1024" height = "768" style = "background-color: #FFFFFF" > < / canvas >

    < / body >

    < / html >

    Change this

    to do this:

    Add the following CSS code to yourtag.  You can put under your

  • Try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission.

    Adobe Flash Player 11 & IE

    I am running Windows XP SP3 32 bit. IE8 and 2 user accounts with permissions of system administrator. Flash Player 10 has worked well. Delete us all the temporary files, internet history & cache. I have uninstalled all previous versions & tried to install the lateset version. When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission. Now he tells me that it cannot be saved. When it works it will download on 1 user account but the 2nd a/c cannot access applications require a PS to run. older versions cannot be re installed. Tried all the suggestions in the forum. Have tried a few weeks to understand it, but I'm stuck now. Help, please.

    Hi, Robert,.

    Try uninstalling Flash Player using the uninstaller here.  Sometimes, there remains remnants of previous installations.

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Restart the computer

    Reinstall the software after you have cleaned the file cache as described below

    http://www.Adobe.com/FlashPlatform/?promoid=ITXQR

    Open the command prompt window

    Type the following commands by pressing enter after each one

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 8

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 255

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 32

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 16

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 2

    Rundll32.exe inetcpl.cpl, ClearMyTracksByProcess 1

    When you are finished with the above commands, type Exit and press ENTER to close the command prompt window.  Reinstall Adobe Flash Player.

  • When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission.

    Adobe Flash Player

    Hello
    I am running Windows XP SP3 32 bit. IE8 and 2 user accounts with permissions of system administrator. Flash Player 10 has worked well. Delete us all the temporary files, internet history & cache. I have uninstalled all previous versions & tried to install the lateset version. When you try to download Flash Player 11 error msg vary between 'General error' or ' cannot be updated (filename) ' or we do not have the necessary permission. Now he tells me that it cannot be saved. When it works it will download on 1 user account but the 2nd a/c cannot access applications require a PS to run. older versions cannot be re installed. Tried all the suggestions in the forum. Have tried a few weeks to understand it, but I'm stuck now. Help, please.

    Hello

    ·         You use the user as administrator account account on?

    Follow these methods and check if help to:

    Method 1:

    Try to set the user account, follow the form of measures troubleshooting section and check if it helps.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Method 2:

    Follow the form of measures troubleshooting article and check if that helps.

    Installation problems | Flash Player | Windows

    http://kb2.Adobe.com/CPS/191/tn_19166.html

    Also check with the help of Flash Professional Center

    http://www.Adobe.com/support/Flash/

  • Try to install Photoshop on a new computer and receive an error message

    I try to install photoshop cs2 on my new mac and get the error message "Can't open the app monitorAndSublaunch because that PowerPC applications are no longer supported"?

    You need to update, Yes, but you have several options:

    1. New version of Photoshop CS6 (the most expensive option). CS2 is too old to qualify for the upgrade price.
    2. Buy Photoshop Elements 12
      http://www.Adobe.com/products/Photoshop-elements.html
    3. Join the Cloud and pay monthly fees for Photoshop CC + everything else
    4. Join the Photoshop photography program for $9.99 / month and get PS CC + LR + extras
      https://creative.Adobe.com/plans/offer/Photoshop+Lightroom?SDID=KIHZP
  • Flash HTML CC of the trial project

    Hi all

    Hoping it's something simple I did not bad!

    I downloaded the demo version of Flash CC and sought to create a HTML project but I don't seem to have the opportunity. I have only options for AIR or ActionScript projects.

    Can anyone help with what Miss me?

    Thank you

    Chris

    You can check the Flash version in the About dialog box. You should have #13.1.0.217 or #13.1.0.226 to see HTML canvas of document type.

    Please update Cretaive cloud application or help-> Update menu. You can also download the update of stanadlone of: http://www.adobe.com/support/flash/downloads.html#flashCC

    -Reynaud

  • Brand new to Flash and get into trouble

    I work through a tutorial that I found to do a flash MP3 player.  I have problems with the volume controls.

    Line 20 is the problem, and the compiler gives undefined ownership 1120 error for s_Transform.  I'm pretty sure it's a very simple question, but I'm new to Flash in general.  I'd appreciate any help!  Thank you!

    Here is the code:

    import flash.events.MouseEvent;
    import flash.media.Sound;
    import flash.net.URLRequest;
    import flash.media.SoundChannel;
    import flash.media.SoundTransform;
    import fl.events.SliderEvent;
    
         var myMusic: Sound = new Sound();
         var soundFile: URLRequest = new URLRequest("1.mp3");
         var channel: SoundChannel = new SoundChannel();
         var s_Transform: SoundTransform = new SoundTransform();
    
    btn_play.addEventListener(MouseEvent.CLICK, playMusic);
    btn_stop.addEventListener(MouseEvent.CLICK, stopMusic);
    sld_volume.addEventListener(SliderEvent.CHANGE, changeVolume);
    
    
    function changeVolume(evt:SliderEvent):void
    {
         s_Tranform.volume = sld_volume.value;
    **this is line #20, the problem line**     channel.soundTransform = s_Transform;
    }
    
    function stopMusic(evt:MouseEvent):void
    {
         channel.stop();
    }
    
    function playMusic(evt:MouseEvent):void
    {
         myMusic.load(soundFile);
         channel = myMusic.play();
    }

    Problem, it is a typo.  Check your spelling on this line and the line of input.

  • Interact with flash html documents

    Hello

    I am a newbie in actionscript. I created a map of the world in flash. The map's regions (Europe, North America, Latin America, etc.). The areas on the map are defined as buttons.

    The final flash map will be incorporated in a document html (map.html). The idea is that, when you click the 'Europe' button on the flash animation for example, this will open an html document called Monitoring/regional_monitoring/Europe.html and it will show below the flashcard (inside map.html).

    Le "Monitoring/regional_monitoring/Europe.html"for example contains a list of countries. "

    In this mission, I have 2 problems:

    1.       What script that I need to attach to each button of the region on the flash card so it will call the right HTML in the div on the map.html?

    2.       This script should I put in the html document?

    Any help will be much appreciated. Thank you

    M Arie.

    affect your button instance (in the properties panel after you select your button) a name and use that name in the Panel shares:

    yourbutton.addEventListener (MouseEvent.CLICK, f);

    function f(e:MouseEvent):void {}

    navigateToURL (new URLRequest ("map.html"), "youriframe")

    }

  • Trying to submit a new podcast, I get the error "unable to analyze your diet." What does that mean?

    Trying to submit a new podcast, I get the error "unable to analyze your diet." What does that mean?

    There is nothing else with the error (I see references to problems with the exact lines of the RSS, but I don't get everything).  RSS feed works fine in a different podcast player.

    Here's the .xml file:

    http://www.iTunes.com/DTDs/Podcast-1.0.DTD"version ="2.0">

    Podcast of Mo

    http://psychicreform.com/mosports/

    http://psychicreform.com/mosports/mosports.xml"rel ="self"type =" application/rss + xml"/ >

    en - us

    ℗ & © 2016 MB Podcast

    Sport sports sportsman with the sportster sport doctor David Overbey

    Dr. David Overbey and Alan Miller

    Sports news weekly and reviews by a true fanatic with a souvenir terrifying sports Trivia.  Recorded without notes or internet for Dr Overey.  Seriously, no notes.

    This podcast addresses all kinds of sports, but especially of college sports with a focus on the United Kingdom and uofl's of baseball and basketball, Arizona Cardinals football and baseball for the St. Louis Cardinals.  Did I mention Mr. Overbey do not use notes or have a computer to access the internet?

    Podcast with Dr. David Overbey MB

    [email protected]

    http://psychicreform.com/mosports/160212-mosports_dave_itunes.jpg"/ >

    Yes

    MO Episode 6

    Podcast of Mo

    Podcast of MB 6 2/8/2016

    Dave fights on the screwing of the superbowl so exactly opposite prediction, more info on the uofl's basketball situation and tries to project a future for UK it is possible but unlikely.

    http://psychicreform.com/mosports/160208-006-MoSports.MP3' length = "4540370" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160208-006-MoSports.MP3

    Saturday, January 9, 2016 17:00:01 CEST

    01:07:10

    Super Bowl, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 5

    Podcast of Mo

    Podcast of MB 5 5 2, 2016

    Dave establishes a uofl's rant for ages, UK is just not very good this year, and he predicted that the Panthers will win by 14.

    http://psychicreform.com/mosports/160205-005-MoSports.MP3' length = "32525946" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160205-005-MoSports.MP3

    Saturday, February 6, 2016 17:00:01 CEST

    00:34:45

    Super Bowl, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 4

    Podcast of Mo

    Podcast of MB 4 1/12 / 2016

    Dave speaks of the NFL and NCAA playoffs.

    http://psychicreform.com/mosports/160112-004-MoSports.MP3' length = "57652357" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160112-004-MoSports.MP3

    Wednesday, January 13, 2016 17:00:01 CEST

    01:05:39

    NFL, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 3

    Podcast of Mo

    Podcast of MB 3 1/4/2016

    Dave expects the United Kingdom including future lsu and alabama at clemson in hand picking the past.

    http://psychicreform.com/mosports/160104-003-MoSports.MP3' length = "46250012" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160104-003-MoSports.MP3

    Sunday, January 10, 2016 17:00:01 CEST

    01:01:15

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 2

    Podcast of Mo

    Mo 2 Podcast 12/30/2015

    Dave has predicted the future in hand picking the past.

    http://psychicreform.com/mosports/151230-002-MOSports.MP3' length = "62485146" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/151230-002-MOSports.MP3

    Sunday, January 10, 2016 17:00:01 CEST

    01:22:17

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 1

    Podcast of Mo

    Mo 1 Podcast 12/25/2015 the Inaugural episode

    Dave and Alan are joined by the brother of Alan David talk UK v. uofl's and a few other sports.

    http://psychicreform.com/mosports/151225-001-MOSports.MP3' length = "35638537" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/151225-001-MOSports.MP3

    Wednesday, December 30, 2015 17:00:01 CEST

    00:40:45

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    Please always post the URL of your feed, not its content. I'm assuming that your workflow is the one mentioned in the tag "atom: link".

    http://psychicreform.com/mosports/mosports.XML

    Feed validators are complaining that this line contains a prefix of "independent". I think it's probably because in the second line, "rss.xlmns" it does not mention "atom", only "itunes" - the URL in this line indicates the feed reader RSS how to interpret the tags for this application. Without link for 'atom', the tag is meaningless to readers, and it is marked as an XML error, which is enough to cause the feed unreadable. There is no need to have this line (Atom is a very old RSS reader which I doubt anyone uses now) and you'd better remove that line altogether, either that or somehow insert the URL of the atom, which seems to be "xmlns:atom ="http://www.w3.org/2005/Atom"" so that the second line would read as follows: "

    http://www.iTunes.com/DTDs/Podcast-1.0.DTD"xmlns:atom ="http://www.w3.org/2005/Atom"version ="2.0">"

    You will need to take one or the other or the feed will continue to be unreadable.

  • my windows server keeps flashing upward with errors with security

    my windows server keeps flashing upward with errors with security

    I suggest that you reinstall the operating system as there is a Setup error.

  • Whenever I try to find new updates for my computer error 80248009 appears under Windows Updates. I have not installed new updates on my computer in a month because of this problem. How should I do so that I can update my computer?

    Whenever I try to find new updates for my computer error 80248009 appears under Windows Updates. I have not installed new updates on my computer in a month because of this problem. How should I do so that I can update my computer?

    Error when you try to use Microsoft Update or Windows Update Web sites to install updates: "0 x 80248009":
    http://support.Microsoft.com/kb/956700

    Quote your full version of Windows (for example, WinXP SP3;) Windows XP 64 - bit SP2; Vista SP1; Vista 64 - bit SP2; Win7; Win7 64 bit) when you post in a forum or a newsgroup. Please do it in your next reply. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

Maybe you are looking for