Doubleclicking SWF file leads to its contents expansion? - size

I am working on flash project. When i directly play my swf file by double clicking it, its contents i.e fla symbols and graphics used expands (size increases) abnormally, but when I generate swf with fla, I am getting normal result.
I am confused, Please help me to get over.
Thanks in advance.

It's probably just a matter of stage.scaleMode, try changing the stage to the correct width/height and set the scaleMode to noScale. Should do the trick.
Here you can read about it: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScaleMode.html

Related

Font Not Displaying Properly in PDF

I am trying to save a pdf from illustrator and I have never had this issue, the font looks fine in illustrator, but when I save the pdf and open the pdf in a pdf viewer the "i" character now has a box beneath the text but the dot of the i stays there.
When viewed in illustrator:
When viewed in a PDF viewer:
I know that when the square shows up it means the font you are trying to use isn't there however the other characters appear fine, it just seems to be the I which is odd. The font passed verification (for reference it is Playfair Display
Does anyone know how to fix this or why this could be occurring? Am I exporting wrong(I've never had this issue before with exporting)?
Thanks in advance!
Update: I solved my question while writing it. The font that was installed was a variable font type (I downloaded it from Google), for some reason it doesn't seem to want to play nicely in a pdf (maybe I'm saving it incorrectly?). I deleted the variable font and installed the static versions of the font and now the issue has gone away.
I don't know too much about variable fonts but it seems like they are maybe a bit finicky?
Hope this can help others!

create white margin around pdf document without shrinking

I've got the following problem:
I want to print a PDF file as a booklet, using Adobe Acrobat Reader (in a copy shop, they got no better printing software). Unfortunately, Adobe shrinks my file down to the printable area. Instead I want to have it printet 50%(cause it'a a booklet, every page shrinked down by half) the original size, without shrinking any further, the margins simply cut off (just the egde of some pics etc, not important, the size matters)
My idea was, to use a software to create a white margin around every page, covering the stuff in the not-printable-area. Then adobe would not shrink anything down.
Does anyone know a tool for my problem? I couldnt find one. (running on either Windows or Ubuntu)
I would prefer a command line tool, cause I got a bunch of files to print.
Or is there a way to tell adobe Reader to not shrink anything (I know it works with normal printing, just couldnt figure it out with booklet printing)
Or are there any other ideas out there?
thanks in advance
Nevermind, i found a solution:
I created a PDF template with a white margin, transparent in the middle.
Using 'pdftk' I can easily set my original file als background of my template.
Done.

Lytebox close/next/previous buttons not displaying

I just downloaded lytebox. Everything seems to be working, except one feature. The close/next/previous buttons are not displaying. They still work, just I can't see them. I have moved the images folder to the same directory as my lytebox.css and lytebox.js, moved them to another directory, moved the images into the same dir as .css/.js, but nothing seems to get them displayed properly. I haven't edited any code. Are there any common reasons why they won't display properly? I have looked in the lytebox faq, but the suggestion there did not help. I can display the code if needed, it's just superlong so I don't want to take up too much space.
The path of all images should be located in lytebox.css. Search the code for the image names and you will see them. Then relocate the images or edit the css-file.
I had the same problem and sorted it by doing this
url('../images/close_black.png')

Can we resize a QR-Code?

Does anyone know if we can resize a QR-Code easily by using a proper vector program OR, is the size information contained on that code, hence, we will not be able to resize without changing the code ?
Thanks in advance.
You can resize as much as you want. The information is encoded in the pattern of the data, not in the size of the dots themselves. As long as a scanner can resolve properly between light/dark, the QR code should be readable at any size.
Update 2016: If someone happens to need to upscale a QR code image in some sort of browser/webview - you might get away with a simple CSS property:
img {
image-rendering: pixelated;
}
This way the upscaled image stays sharp.
See a comparison here: http://codepen.io/erkkit/pen/GodxGX
For high resolution (vector image) QR code for printing/publishing:
Get your free QR code
Right-click-and-save OR PrintScreen the QR code
Open/insert it in Photoshop, crop the QR code, and save as *.psd file (default Photoshop format)
Open that *.psd file with Adobe Illustrator – and you get the vector QR code. DONE! :)
Don't just re-size it that will make the edges blurry. You want it to have hard edges like MS-paint or the pencil brush in Photoshop. Open the file in Photoshop and go to IMAGE - RE-SIZE IMAGE and make sure Nearest Neighbor is selecting from the bottom drop down menu before you click OK
You CAN'T, not with the free QR generators. Unless you do some Adobe Illustrator tweaks with Live Trace/Paint afterwards. The abundant free QR generators are a joke when it comes to publishing the QR code you need. Resizing an originally low resolution image (the previous comment) for publishing/printing purposes is the most rediculous statement I've seen in a while. The guy doesn't know what he is talking about.

Is there a way to crop an swf file?

I was wondering if it is possible to crop an swf file through a program that doesn't convert the swf to anything.
I've seen a few programs like this online, but none of them actually work. Has anyone has success with this?
Thanks,
John
Do you need to alter its dimensions or its length? If it's the dimensions you want to change then it could be as easy as changing the width and height parameters of your embed code, or loading the swf into another one and displaying it behind a mask that shows only the parts you want to show. No change necessary inside the actual swf.
But maybe you meant something else? The width and height of an swf are coded inside it and could be changed with some editor, like a hex editor. But then you would have to know where the bytes are that you need to change.