Flash pull in images from directory - image

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.

Related

Adobe Animate CC file not playing when uploaded to server

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.

listing existing images in ckeditor

I have a strange issue with CKeditor.
If I upload the images through the inbuild uploader function, the thumbnails are created and everything is working as intended.
However, If i use an existing image directory, CKeditor is not loading those images.. or if I upload manually through FTP, the images are not showing in CKeditor.
Is there a way to fix this issue? I have tried to google various solutions but currently I am unsure what I should search for.
will remote image location solve the issue or should I do any other configurations
By using a remote file location, u can map the shared files with remote location and it will solve the issue

How to load images (jpg) in QML generated at runtime

my question is quite simple.
I have a Qt application with a Gui developed with QML.
My back-end side generates and saves jpg images in a folder called /images .
I am able to send from C++ to QML the strings holding the name of the images that I want to show. Sadly my QML Image object doesn't display anything.
It seems that if an image can be displayed only if it has been previously declared in the qml.qrc file.
Sadly, again, qrc files do not support wildcards yet!
https://bugreports.qt.io/browse/QTBUG-1400
Is there a workaround?
The name of the images are not fixed, they are generated with certain runtime values i.e. timestamp.
Thank you
By default it will search the image source in the qrc file. To make it go to the actual file system, prepend a file:/// to the path.

Extract images from .swf viewer?

I'm wondering how it possible to extract images from .swf viewer?
Note that .swf file have not images itself.
For example I'm trying extract images from AVON catalogue from this link - http://avon.com.ua/PRSuite/eBrochure.page?index=1&cmpgnYrNr=201404&pageNo=0
Any ideas?
Best way is to put the .swf file in a decompiler for image extraction. Decompilers are smart enough to extract images for you and arrange them.
JPEXS Free Flash Decompiler is a more popular one
http://www.free-decompiler.com/flash/
You can extract other useful content from it as well.
Just download the .swf file from the website
A while back (like around 1999) I wrote a set of tools for Flash animations.
One of the tools is swf_dump which can be used to extract objects (i.e. write the objects in a form of script that sswf can nearly recompile...)
The tool also allows for extracting images that are inline (not downloaded dynamically by the flash animation, if so, anyway, you could as well download those images manually, you'd need the URL, though.)
The command line you can use is:
swf_dump -d my-animation.swf
Then your current folder will be littered with all the images that were found in the flash file. It extracts JPEGs and PNGs. The source can be compressed (SWF or CWF are supported.)
Now, you're on your own to compile that thing... The project is here and is in great need of updating (but Flash is kind of going out too...)
https://sourceforge.net/projects/sswf/

Image of the object within .STL File

Please take a look on the website http://quotes.rapidprototype.com.au/upload/ and upload STL File and press "Start Upload" button. You shall see the image of the object within the stl file as (.png) image. I want the same functionality(The image of the of the object within the stl file, rest of the work i can do). I want to get the image in .png or .jpr or .gif format as a 2D image. I want that the user can see the image of the object within the stl file that he/she uploads. I am using PHP.
Please assist me how can I achieve this using PHP. I shall be very thank full to you.
You could use ParaView www.paraview.org in the backend. This is free and reads stl as well as having the ability to save images. There is a python interface, so you can program it to do various things (starting by tracing your actions in the GUI). You can also give it options from the command line. ParaView has a web component, but it would probably be easier just to have PHP do a system call and look for the resulting image.
Test that it works on the command line before wrapping it in PHP

Resources