Touch screen and cd-rom with Multidmedia Zinc

One recent project that I produce is a touch screen software, obviusly I made it with Zinc.

So I’d like to share my experience with my blog readers.

First of all, I must say that Zinc has a too bad documentation, a lots of examples don’t work and there are some big bugs.

ZINC and FTP CONNECTION
In my last project I add a routine to download new files from touch screens.
Zinc FTP API works only in Windows, but for this project, all touch screens had OS Win, so no problem.
In this case, I found 3 problems, first of all I can’t download all files togheter because Zinc had some issues to do this operation, so when I download a file, when onComplete event triggered I launch another one.
Probably Zinc didn’t copy all bytes from FTP server to client and it crashed.
So I put a setTimeOut function to call a new file after 1 second and it works!
Finally, using close method of FTP class, FTP session is still opened…so I delete FTP istance and it works! So crazy!

ZINC and Flex
Recently I produce 3 projects with Flex and Zinc…I found a lots of interesting issues.
When you work with Zinc in Flex, you must add SWC library to use Zinc API, so you bring it from 2 folders(one .swc in for Flash and one for Flex, but you could use both in Flex) and there is different way to implements same API with .swc for Flash or for Flex, so take a look of which .swc you could use to work.
Another problem that I found is when you create a transparent application and you have mx:TextInput, if you have focus in textinput component and you try to use keyboard arrows to move cursor, you’ll receive an unknown error!
In Multidmedia forum Peter suggests to me to use callLater function, but it doesn’t work.

So those are some problems that I would share with you, I hope that they are useful for everyone.

Published by

luca mezzalira

Being associated with the industry since 2004, I have lent my expertise predominantly in the solution architecture field. I have gained accolades for revolutionising the scalability of frontend architectures with micro-frontends, from increasing the efficiency of workflows, to delivering quality in products. My colleagues know me as an excellent communicator who believes in using an interactive approach for understanding and solving problems of varied scopes. I helped DAZN becoming a global streaming platform in just 5 years, now as Principal Architect at AWS, I'm helping our customers in the media and entertainment space to deliver cost-effective and scalable cloud solutions. Moreover, I'm sharing with the community the best practices to develop cloud-native architectures solving technical and organizational challenges. My core industry knowledge has been instrumental in resolving complex architectural and integration challenges. Working within the scopes of a plethora of technical roles such as tech lead, solutions architect and CTO, I have developed a precise understanding of various technicalities which has helped me in maximizing value of my company and products in my current leadership roles.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s