How to resize an object and also to mitigate the effects (transparencySettings)?
I want to to scale an object through script but also effects nationwide, currently my resizing does not only. My effects are TransparencySetting: drop shadow, inner glow, outer glow.
For example using the following does not work:
pdf.resize(CoordinateSpaces.innerCoordinates, AnchorPoint.topLeftAnchor, ResizeMethods.multiplyingCurrentDimensionsBy, [pointSizeScale, pointSizeScale]);
I have to resize the effects that I have at hand for example:
thisObj.transparencySettings.dropShadowSettings.xOffset = dSXYOffset*pointSizeScale; thisObj.transparencySettings.dropShadowSettings.yOffset = dSXYOffset*pointSizeScale; thisObj.transparencySettings.dropShadowSettings.size = dsSize*pointSizeScale;
Thanks in advance!
I think that by using a transformation matrix will solve your problem (pdf.transform (.))
Tags: InDesign
Similar Questions
-
How to reduce an object and also the race together...?
Hello
The subject line was not easy to convey what is my problem.
Here goes.
When I have a line on something and I reduce the race remains the same, so it seems bigger.
Is there a way to prevent this?
So, when I reduce a vector image I did not find the object and manually set the race.
I hope this makes sense
Sorry, but im English is my mother tongue...
See you soon
-
How to resize an object and show on stage
Im trying to resize a simple object according to what dimensions I set, but it does not work.
so now the stageHeight and width is 600 x 600 and it still does not work.
And how do I resize the object immediately when the SFW load (so early, it will be 3 times bigger)
I have a MainClass with this code
public var rescaleRatio:Number = 1; public var _element1:CreateRow_Col public function MainClass_Test() { addEventListener(Event.ADDED, init); _element1 = new CreateRow_Col(rescaleRatio) addChild(_element1) } public function init(e:Event):void{ stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; stage.addEventListener(Event.RESIZE, setUpScreen); } public function setUpScreen(ev:Event):void{ stage.removeEventListener(Event.RESIZE, setUpScreen); if(stage.stageHeight > 500){ rescaleRatio = 3; }else rescaleRatio = 5; }
and the CreateRow_Col class has this
public class CreateRow_Col extends Sprite { public var theAppliedScale:Number; public var myObject:BG = new BG() public function CreateRow_Col(reScalling:Number) { theAppliedScale = reScalling; addEventListener(Event.ADDED_TO_STAGE, zzz); } private function zzz(e:Event):void { removeEventListener(Event.ADDED_TO_STAGE, zzz); myObject.scaleX = myObject.scaleY = theAppliedScale addChild(myObject) }
Copy the following code and paste it into your document class:
package {}
import flash.display.MovieClip;
import flash.events.Event;
SerializableAttribute public class MainClass_Test extends MovieClip {}
public var rescaleRatio:Number = 1;
public var _element1:CreateRow_Colpublic function MainClass_Test() {
addEventListener(Event.ADDED, init);
}public function init(e:Event):void{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, setUpScreen);
setUpScreen(null);
}public function setUpScreen(ev:Event):void{
if(stage.stageHeight > 500){
rescaleRatio = 3;
}else
rescaleRatio = 5;}
if(!_element1){ _element1 = new CreateRow_Col(rescaleRatio); addChild(_element1)} else {_element1.zzz(null); //<-make zzz() public in your other class.}
}
}
}
-
How do I add our workflow tools to Acrobat CC-we use Prinergy (Tools) and also to use the tools of Pitstop?
You'd be better off contacting Eastman Kodak and Enfocus, developers of Prinergy and Pitstop respectively for a version compatible with Acrobat DC of their products.
In the case of MacOS, Acrobat is now a 64-bit application and existing plug-ins for Acrobat 11 (a 32-bit application) by definition are no longer compatible. For Windows, for the moment, Acrobat is still a 32-bit application; but you should always check with the suppliers for their take on the compatibility.
-Dov
-
Opens a file someone else you want to resize an object, it is larger that the artboard, how can I get rid of the artboard
Marvin,
You can view > hide the work plan, but why not just put to adapt to what you want?
You can do this in the file > format Document, or with the tool of workplan according to version.
-
How to transform a layer object and a path at the same time?
Hi all
I know that I will start when you tell me the answer to this!
I would really like to know if there is a way I can manage to transform a layer object and a path at the same time... or if there is no work around to get there.
In a Word, for example I spend a VERY long time to create a drive complex around a very detailed object and then at the end note to what twisted and perspective, and would like to straighten.
Of course I could turn and correct the object and then carefully turn the path - but it will not correct and I have to spend a lot of time the path of adjustment and make SURE, it is perfect.
Are there not somehow, I was able to transform set?
Usually, of course, I do all the correction to straighten and correct the perspective in advance, but in some cases after I am done creating the path I then notice that image could have used other adjustments.
I appreciate all the advice you can get :)
Thank you kindly,
Christine
Transform the layer and then target the way and make "Edit > Transform path > Again. If you make several changes on the layer, and then each time that validate you and leave transformation mode, remember to do the ' transform path > Again "to keep the layer and the synchronized pathname.
-
Original title: I tried to apply the photo viewer to open a file and the photo viewer icon replaced each icon on my desktop. Now I can't open anything on my desktop. What is going on?
The name is below the icon, but the correct icon has been replaced by windows Photo Viewer icon. When I click to open it, it says: windows Photo Viewer cannot open this photo because Photo Viewer does not support this file format, or you do not have the latest updates... I don't know what I did!
Hi,
Thanks for posting your question in the Microsoft Community.
From your problem description, I understand that you are unable to access the photo viewer; and also cannot access the desktop icons because they are changed to the photo viewer icon. Please let me know if you do not experience this problem.
I understand the inconvenience caused to you. I'll help you solve the problem!
Before troubleshooting, I have little information on the issue.
1. did you of recent changes to the computer before this problem?
Try the methods suggested in the article below and check after each method:
Method 1: Icons change incorrectly in Windows: http://support.microsoft.com/kb/2396571
Registry warning: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the in the Microsoft Knowledge Base: 322756. How to back up and restore the registry in Windows: http://windows.microsoft.com/en-us/windows-vista/Back-up-the-registry
Method 2: Run scan files system (CFS) auditor, to repair missing or corrupted system files.
How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7: http://support.microsoft.com/kb/929833
If the problem persists, post your reply with the results and the questions asked above. We are happy to help you further in the advanced troubleshooting steps!
It will be useful.
-
Newbie question, how to resize a DataGrid to always adjust to the content?
Hello
I don't know this is a question asked time and again one time so please forgive me if I go over old ground.
I just discovered flex 4.5 on a week ago and I am absolutely amazed by the power it gives me and how it was easy to pick up... There is a problem, that I fight with however.
How to resize to mx or datagrid to adjust the content of the sparks?
I just used more traditional solutions (.net aspx) and I have the habit of (and quite like) the way that a datagrid or list control will resize itself automatically itself to adapt to ranks how it should display.
I've accepted the fact that I need to place scrollbars on the external container so that the user can scroll down to see the content (I would like to apply dynamic resizing finally), however no matter what I do the items in the DataGrid in my flex application never seem to adjust the content.
I looked around the internet and there seems to be a lot of people who say that it is possible, and a lot of the sample code provided for that matter, but many it seems relevant to flex 2/3 and doesn't seem to work in my situation.
Any advice would be greatly appreciated.
I found this in my search for another question. http://xposuredesign.NET/?p=68
-
How to cut a textframe and place it in the specific position in an another textframe?
I need to export to RTF. So I have to select the content of the textframe.
As you can see below,
first of all, I have to replace all the master page objects (like the task bar and the page number).
Second, then cut the two objects and paste them into the bodytext and set the anchor and position.
I have so many files to do from time to time.
So I write the code below (indesign cs 3 javescript, just trying to make a simple example):
var = app.documents jobbar [0] .pages [0] .textframe [0]
var pagnum = app.documents [0] .pages [0] .textframe [2]
var bodtex = app.documents [0] .pages [0] .textframe [1]
App.Cut (App.Select (jobbar))
bodtex.insertionPoints [0] .silence = app.paste)
App.Cut (App.Select (pagnum))
bodtex.insertionPoints [0] .silence = app.paste)
bodtex.textFrames [0].anchoredObjectSettings.anchoredPosition = AnchorPosition.ANCHORED
bodtex.textFrames [1].anchoredObjectSettings.anchoredPosition = AnchorPosition.ANCHORED
.....
It does not work.
I want to like this. The main problem is that I don't know how to put an object into the position of a textframe specfic.
Thanks in advance.
Ah, you want to create an anchored object (or an inserted object).
Refer to the instructions on the CS5 Scripting Guide p.89.
You will need to create a new image with bodtex.insertionPoints [0].textFrames.add () and then manipulate the properties. You may or may not have some success with the .properties property.
I can't see why you want to use the selection. It's always bad, but it can be easier.
app.select(jobbar); app.cut(); app.select(bodtex.insertionPoints[0]); app.paste();
But good scripts do not change the selection. Which should be reserved for interactive works.
-
I have the time to default iPhone 4 iOS 7.1.2 iPhone App not updated since the last 3 days and also checked all the settings for location and also set as new iPhone always present problem... Please try to fix... Thanx
Turn off your device and turn it on again. If this does not help, sign out of your account and reconnect.
In addition, you can try to reset your settings.
- Press and hold the sleep/wake button
- Press and hold the Home button
- Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.
Alternatively, you can go to settings - general - reset - Reset all settings
-
I can't sign into windows live messenger, I get the message that windows live messnger is unavailable currently try again later and also I get the error code 80048820, can someone help me solve this problem.
Hello jabeena, welcome.
This section would apply in fact to the Windows Live programs, but we'll see what we can do to help out you.
I recommend to try this first:
1. disable any antivirus software or security, you have running on your computer. Looking for software to disable that contains a firewall.
2. click on START
3. Type "cmd" (without the quotes). Right-click on the result at the top of the menu START and select 'run as administrator '.
4 type the following and press enterRegsvr32 softpub.dll wintrust.dll initpki.dll
netsh winsock reset
Thank you! Ryan Thieman
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
I don't have the basic games that windows comes with and also miss me the contacts and calendar. Please help someone. I had windows 7 through my school, which is outside the MSDN program.
Programs like Contacts and calendar are available in Windows Live Mail through Windows Live Essentials (http://download.live.com)
In regards to the games, I assume that you are running Windows 7 Professional.
Click Start, type: features on or off Windows activate
Develop games
Select the games you want. Andre Da Costa http://adacosta.spaces.live.com http://www.activewin.com -
How I have high-end clip .mov but without the effects of stairs?
How I have high-end clip .mov but without the effects of stairs? The clip is in a unique sequence film, set at 1920x1080p60. Is there a tutorial? I have had no luck searching for the answer. Thanks for any help.
Type: QuickTime Movie
File size: 25.4 MB
Image size: 320 x 240
Frame rate: 15.00
Audio Format: 7867 Hz - 8-bit - Mono
Project Audio Format: 8000 Hz - 32 bit floating point - Mono
Total duration: 00 01; 22; 03
Average: 316 KB/second
Pixel format: 1.0
Details of QuickTime:
Film contains 1 video tracks, tracks audio 1 and timecode 0 track (s).
Video:
There are 1232 executives for a period of 1/15th.
Video track 1:
The duration is 0, 01; 22; 06
Average Cadence is 15,01 fps
The video track 1 contains 1 or more video data types:
Video data block #1:
Image size = 320 x 240
Compressor = Photo - JPEG
Quality = Normal (3.00)
Audio:
Audio track 1 contains 1 or audio data types:
Block of audio data #1:
Format = 8-bit - Mono
Rate = 7867 Hz
Compressor = None
Premiere Pro CS5.5.2, Master Collection, S & T - Ed.
HP i7-970 3.2 GHz, 1.5 GB GTX580, 16 GB DDR3 1066 MHz.
I hate to be the bearer of bad news, but there is really no way to do what you want to do.
Here's why.
You currently have 320 pixels and you want to show the 1920 pixels. This means that the software must do six pixels of a pixel that you provide. He basically has to duplicate them. He can do a little better with a mix, possibly using the current engine CC in Photoshop to do the job instead of Premiere Pro.
Then, he must take 240 in 1080 and it's 4.5 pixels for everyone that provide you.
Then you ask to play each image four times from 15 to 60.
No offense, but you're asking to turn an ear of pigs in a silk purse.
-
How to resize a document and its content?
I'm having trouble, only part of this page, on my document and resizing of a single page.
First details: my page dimensions are 800 x 1200. On this black background, there is texture layer measurement 760 x 130 up (for the declaration of name/logo/misson of the site) and 760 x 990 below (for content and graphics of the site). There are 20 px border (between textured layer and background) on the top and sides and 10 px border at the bottom. The gap between the top and the main textured areas 50 px is for the navigation bar.
Now the problem: I want to resize a page at 800 x 1250 px. And to complicate things, I want to only push the lower part of these 50 px, so that the layer of texture which measures 760 x 1040 (I need to add something to the main content of the page, so I don't want to influence the size of bar of navigation or the name/logo of the site).
Instructions for adobe (http://help.adobe.com/en_US/Fireworks/10.0_Using/WSAE41683F-ED20-4488-9389-79DC28BD7CE0.ht ml) were not much help. I go to modify > canvas > size of the Image, change to 1250 pixels, Unsnap "constrain proportions" and click on "resample image" and "current page only." When I do this, enlarged both the black background and the layer textured to the size I want. But it also:
1 change the entire page - in other words, it pushes the navigation bar and the areas of logo as well as the main content section.
and, strangely,.
2 layer textured on my two dozens of other pages is growing, but not the black background. In other words, I change the background and the layer size on the page I want to edit, but I inadvertently as the textured layer (but not substantive) on all my other pages. (If the texture on all other pages now spills on black background).
So my question: How can I resize only the main content background and layer textured on one page? Is it still possible?
A big thank you to all those who can help. And my apologies for the long explanation. But I am new to the Web design and Adobe Fireworks, and I tried to be as clear as possible about the problem.
PS Si importantly, I'm using Fireworks CS4
OK if this rectangle is on the master page, but must be in a different location on some pages, you need to delete the master page, add it to a page in your design (on its own layer) and then share that layer to all pages except those who are different in the dimension.
Add the object to the longer page (not shared this time) and scale it as needed.
Sharing layers to pages is much more flexible than the application of objects to the master page.
HTH
Jim Babbage
-
How do you manage the layers and objects and to rear of the other
I do not understand how it is possible to have many objects on the stage and be able to handle the motion tweens with each of them, but ALSO to manage the objects are in front and behind them. I have a boot animation and there are many ongoing action, and there are times where I need my guys to be in front of the objects, and the time when they need to be behind.
I do not know how to handle things regarding the layers and the movements in a way so I can get the items in the order that I need them to be (as the element on which passes in front of the other).
Someone at - it advice or a way that I can manage my objects and queries and be able to classify them on the stage so that I can arrange things how I need them to be investment and who should be in front of the other objects?
Yes, if you want to animate 20 items, you must put each item in its own layer. There are a number of ways to make it a little less tedious. For example, if you place each element on the stage, in the same layer, and then name each instance, you can then select all the elements on the stage and then select the Edit menu and then the timeline and finally distribute to layers. This will place each item in a layer newly created at the same position on the stage and then name each layer to match the name of instance for this element.
To change the Z-order of any given scene element, you can use a number of different methods. One method is to use Actionscript as I mentioned in my last post. ActionScript is the best method if you need to be able to respond to user input and show the changes that cannot be built in animation since the beginning. If you're just showing an animation preset, you can use a number of methods different timeline based.
In your example, if you want to have a figure to move another object on the stage, you can do that by creating two layers of the same object. One on one with the figure between the two. So that you have the object to move around both in front and behind, the figure. When you want to display the number in front of the object, set the object in the layer that is on top is not not visible. Then you will see only the object that is at the origin and the figure in front of him. How you go about changing the visible property or the alpha property, of this object. You can use keyframes in the timeline panel or the simple ActionScript.
You want to find a small pool in the basics of Flash or take a book to guide you. There are a number of very good tutorials on the basic available free animation: http://www.gotoandlearn.com, or at a cost: http://www.lynda.com .
Maybe you are looking for
-
CD/DVD drive, it is not supported by Windows XP and Bios
I bought a new Mat * un Panasonic cd/dvd player.It only works on Windows 2000, it is not supported by Windows XP and Bios, so I can't start with.
-
HP Envy 5530: HP Envy 5530 can print but cannot scan or copy
Hello After that I moved into a new apartment my 5530 desire is not scanning or copying (but I can print wireless without problem). I have already tried: -install the updated drivers -perform the reset -activate the static IP address -newtork reset t
-
Like everyone else, I did have a Windows Update for a while (Nov.29). I don't have ANYTHING new to my computer (software spyware, firewalls, etc.), but the error message appeared in any case. I hope that typing 'netsh winhttp reset proxy' would solve
-
How to remove the virus from the image files to run
my computer has a virus in the execution of the image, how do I delete files?
-
Why my "library" of Windows 7 have a version of different file than my desktop folder?
I just got a new computer with windows 7. Yet to get used to 'libraries' and encounter something special. I thought that a 'library' simply compiled similar files in one place. However, this is what happens... I have a "record" titled "marketing