Adobe Animate CC file not playing when uploaded to server - html5-canvas

I have some basic animate CC files that work when tested locally using a browser or preview in Dreamweaver; but when uploaded to my server does not play.
The files are all adapted from the same "template" which was the first animation I created which does work when uploaded. The output files are HTML5 canvas.
Not sure why the other files will not play. Any help would be greatly appreciated!
This is the URL to the working files and then below the problem one:
http://www.robertfitzroyacademy.com/rfa-w.html (portal URL- I am testing reception and year 1)
http://www.robertfitzroyacademy.com/rfaworld-reception.html (working animation)
http://www.robertfitzroyacademy.com/rfaworld-year1.html (problem animation)
I also have a dropbox with the files in: https://www.dropbox.com/s/6gq5v6m696jgtzx/HTML5%20animation%20issue.zip?dl=0
Many thanks in advance for any help you can give.
Hanniel

I worked out the answer, I hadn't uploaded all the linked image files. Even though I had no new images as such, each time I generated a new fla file from the original it created a new image file linked to the new file.
Once I uploaded all the associated files the animation started playing.

Related

How to make a "lock" on image that when downloaded will corrupt it?

With intellectual property becoming a harder and harder area to protect with copyright, one particular area I have been thinking a lot about is images like .jps and .png
I was wondering if there is any way to make a mini "bomb" per se that when an image is uploaded to a website, nothing happens, it's perfectly fine and stays there but when downloaded by someone other than the original uploader, the .jpg or .png corrupts itself and cannot be viewed.
I have tried to research the topic but all I am able to find is how to's on how to fix corrupted images or files.
TL;DR
When an image file is downloaded from the host website the image corrupts itself from being viewed.

Flask-WTF FileField Uploaded file disappears after a couple days and doesn't show up in the folder

So I'm just using the FileField to add files to the server and it worked the time I tested it on Heroku (by worked I mean the image was rendering properly, granted I should be using some more proper ways to render images), but after a couple days I checked again and the image is no longer rendering properly. I checked my uploads folder and the image is not there any longer (one of the old images were).
I ran the test again and the image is showing but the picture file is not in the uploads folder (despite the image showing). I checked on my local machine with the same code and the image uploaded showed up in the uploads folder.
I have no clue what's going on... It would be great if someone could shed some insights!
Thanks!
The "problem" (it is in fact by design) is with Heroku. Every time your application restarts (when a new change is pushed to your Heroku application or when it restarts after inactivity) your app is recreated and all stored data is gone. Most people use an external service for persistent files/data such as Amazon S3.

Multiple Corrupted Instagram Images from multiple users from API

We have encountered multiple corrupted Instagram Standard Images (612px).
This happens the last 3-4 days. And across multiple Instagram users.
Strangely this issue is only evident when the images are opened using Adobe Photoshop.
When viewed using Mac's finder or Preview this image corrupt problem is not visible.
It affects about 50% of our customers. And mostly about 10-20% of their choosen images. And some can affect around 50-100% of their images.
Example of corrupted images:
http://distilleryimage10.s3.amazonaws.com/5875aa2eb24411e3bfe2124c49cf34ce_8.jpg
http://distilleryimage0.s3.amazonaws.com/3b3452a8b24411e3b352126f9f588c64_8.jpg
Again, this issue is only evident when the photos are being prepared to print.
Or when it is opened using Adobe Photoshop/Acrobat/Illustrator/Indesign.
Please help.
Thanks
Jeff
I managed to solve my issue with the same description. What I first did was download the images to my webserver exactly to what is was online, so I didn't change anything of the file contents, just get en then put in the file.
How I solved my problem? I use PHP to generate the image now after I donwloaded it the same way. This is the simplified version of my script:
<?php
// Create an image instance
$im = imagecreatefromjpeg('instagram_image.jpeg');
// Disable interlacing
imageinterlace($im, false); // did not use this but will do the same
// Save the image
imagejpeg($im, 'instagram_image.jpeg');
imagedestroy($im);
?>
When I started using this simple create and save script it all worked again. It looks like it does nothing but it did a lot for me! Hope it helps someone saving a lot of time, took me 1,5 day to figure out the exact problem.

Why pdftk produced pdf files will not render in Firefox?

I have a site - www.jcrocetta.com.
On this site I have 2 pdf files. One file has blurred data and the other is clear, both files were created with pdftk.
In order to blur out some personal data in the pdf I used Inkscape. But Inkscape only opens/edits one PDF page at a time. After I made my edits in Inkscape I saved the files as .pdf formatted files. At that point I had three separate pdf files, pages 1 through 3. I then used pdftk to concatenate the 3 files into one.
The final pdftk-produced files are on www.jcrocetta.com. Just click the public information button.
In Chrome viewing inline works fine.
Downloading the file from Firefox works fine too.
But viewing inline on Firefox it renders blank pages. How can I fix this?
Also, I know that pdf files not produced with pdftk will render correctly on both Chrome and Firefox.
Thanks for your help.
FireFox has a lovely new feature: It now uses the PDF.js library to render PDF files, instead of calling out to an Adobe Reader plugin, or forcing you to save the file to disk. Unfortunately, it seem that PDF.js isn't quite perfect yet. A quick search shows that other people have the same issue, but the only "solution" I've seen offered boils down to "file a bug report at https://github.com/mozilla/pdf.js/issues or https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=PDF+Viewer".
Also: Do the three individual PDF files render in FireFox, before you use pdftk to concatenate them?

Flash pull in images from directory

I'm trying to create a flash image slider however I need the images to be pulled into the flash file from a directory and then to transition fade through to the next ones.
Has anyone got any ideas of where to start on this or any links that could help?
Much Appreciated.
Pull in images from a local or server directory? For a server directory you would use the Flash Loader class Loader
If you are using Adobe AIR then you can load local files using FileReference.
For fading, I use Tweenlite and tween the alpha value of the from image and the to image to make one fade out and the other fade in.
Flash can't read the content of the folder.
You either have to specify the file name(s) manualy either use a server-side script to create a list of the files in the folder - it may be passed to Flash as a XML, text file or just a query string, up to you.

Resources