Drawing object looses roundness when enlarged.
Hi all,
in my movie I have a round drawing object, which i wish to view enlarged (about 2000% of original size) . while editing it looks fine and round but after publishing all theroundness is lost and instead i get visible angles.
i attach 2 images to visualize, one from the editing stage and the other after publishing.
is there any way i can get around that strange effect? i created the image from some text i "broke apart" to a drawing object.
thanks.
Hey.
thank for your help again.
i am not using Bitmap text actually and my JPEG publish quality is set to BEST.
actually, this even becomes more weird!!
I tried copying just that specific draw element into a fresh flash movie. a new file.
I enlarged the draw element and published the movie- it came out very round and smooth.
then, I converted the draw element to a movieclip and applied a simple tween animation to "blow it up" (like i need to have in my original project).
Published again and there you go! rigidness is back!
so i guess its either converting to movie clip or the tween animation that does it. but why?
i havent got a clue anymore...
Similar Messages
-
HI everybody i want to ask if you come me in help, i want to draw paths but when i use stroke options with pen or brush settings i loose quality when i zoom in , can someone help me with pen settings???
The work path is a vector object, and infinitely scalable, but when you stroke it, Photoshop lays pixels on a layer that follow the path. These pixels are raster based and can not be scaled without loosing quality. You do have options. If you want to make the raster layer bigger, transform the work path and stroke it again. Or work at a higher resolution in the first place.
Incidentally, you can't stroke a Path with the Pen, because it is a Vector based tool, and stroking is a raster based function. -
Revision: 4746
Author: [email protected]
Date: 2009-01-29 15:36:59 -0800 (Thu, 29 Jan 2009)
Log Message:
User-submitted patch for SDK-16147 - HaloBorder does not take border widths into account when drawing background with rounded corners.
Bugs: SDK-16147 (bug), SDK-16963 (patch)
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-16147
http://bugs.adobe.com/jira/browse/SDK-16147
http://bugs.adobe.com/jira/browse/SDK-16963
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as -
Resizing drawing objects defies pixel snapping
This happens mostly with drawing objects, and to a lesser degree with shapes. When resizing drawing objects in Flash CS6 with pixel snapping turned on, one would expect the dimensions of the shape to snap to even pixel numbers. For the most part it does, but too frequently the position and size values begin to drift into fractions of pixels.
If you create a rectangle as a drawing object, no stroke, it will snap to pixels properly. Drag it around and it always lands on whole pixel values. Now try resizing it using the free transform tool, or even by clicking and dragging the position and size values in the properties panel. Width and height values will mostly stick to whole pixels, but too often it will slip into fractions of pixels, bizarrely offsetting the x and y values as well. If you resize a drawing object and this error occurs, it does not help to try and move it to snap it back onto whole pixels, because it will snap to whatever fraction of a pixel it's currently stuck in, thereby forcing the user to manually edit the object's x and y coordinates.
This is a problem in my workflow as I'm constantly having to keep an eye on the properties panel and manually editing the numbers when shapes stray into 2.85 pixels or some such when I want it at 3. I find myself frequently just entering the numbers I want, which defeats the purpose of pixel snapping in the first place.This happens mostly with drawing objects, and to a lesser degree with shapes. When resizing drawing objects in Flash CS6 with pixel snapping turned on, one would expect the dimensions of the shape to snap to even pixel numbers. For the most part it does, but too frequently the position and size values begin to drift into fractions of pixels.
If you create a rectangle as a drawing object, no stroke, it will snap to pixels properly. Drag it around and it always lands on whole pixel values. Now try resizing it using the free transform tool, or even by clicking and dragging the position and size values in the properties panel. Width and height values will mostly stick to whole pixels, but too often it will slip into fractions of pixels, bizarrely offsetting the x and y values as well. If you resize a drawing object and this error occurs, it does not help to try and move it to snap it back onto whole pixels, because it will snap to whatever fraction of a pixel it's currently stuck in, thereby forcing the user to manually edit the object's x and y coordinates.
This is a problem in my workflow as I'm constantly having to keep an eye on the properties panel and manually editing the numbers when shapes stray into 2.85 pixels or some such when I want it at 3. I find myself frequently just entering the numbers I want, which defeats the purpose of pixel snapping in the first place. -
ActionListener&MouseListener add to Drawing Object in JApplet
hi,guys
When I am doing my JApplet, I wanna add the ActionListener and MouseListener to the Drawing Object...
Like this:
Graphics2D g11 = (Graphics2D)g;
g11.setColor(Color.orange);
g11.fillOval(10,300, 100, 40);
g11.setColor(Color.darkGray);
g11.drawString(""+firstpro,30,325); //first protein object
g11 is the object, and now I wanna add both ActionListener and MouseListener on it.. that means if I click g11 area in my JApplet, it will do certain actions like open another URL page, and send a String from applet to that page also...
Does is possible to achieve?? If it does, how do I add the source code??
Hope you guys could kindly help me with some sample code...Thanks a lot!!
SDI don't believe the Graphics derived objects have any support for the Component derived stuff. But you can certainly add these listeners to whichever Component contains your graphics. If you want them to respond only if they are over a drawn part of the component, thats up to you application code as its the only thing that knows where the drawing ends.
-
How to tween drawing object?
I've received a number of graphics from an Illustrator user - they imported as symbols containing drawing objects. When I opened one of these symbols and tried to tween (fade out) the drawing object, I don't have the Alpha option. I don't use Illustrator myself and I had to install CS4 so I'm not used to that either. I've searched for ages but can't find any info on handling Illustrator graphics.
Any hints appreciated.
MarionYou can only use timeline motion tweens with symbols, so if you are trying to tween raw graphics, that will not work. You will have to tween it as either a graphic symbol or movieclip symbol or button symbol. If you are trying to tween using actionscript, then it needs to be a named symbol, which rules out graphic symbols.
-
PL/SQL: ORA-22806: not an object or REF when Using Record in Package
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
I have declared a record type in my package
create or replace
PACKAGE MYPKG AS
TYPE MYREC IS RECORD (VAL1 varchar2(20), val2 date);
PROCEDURE display_error (pSQLERRM number);
PROCEDURE P_LOAD_DATA (pStartDate Date, pEndDate Date);
FUNCTION F_EPI(refno1 in NUMBER, refno2 in NUMBER) return MYREC;
END MYPKG;
--In My Package Body
FUNCTION F_EPI(refno1 in NUMBER, refno2 in NUMBER) return MYREC is
F_param MYREC;
BEGIN
select myvarchar2, mydate into MYREC from MYTable
where myrefno1 = refno1
and myrefno2 = refno2
Exception
when others then
display_error(SQLERRM);
RETURN F_param;
END F_EPI ;
PROCEDURE P_LOAD_DATA (pStartDate Date, pEndDate Date) IS
insert into atable(myvarchar, mydate)
select F_EPI(refno1,refno2).val1,F_EPI(refno1,refno2).val2 from tab2;
END P_LOAD_DATA;
I get errors
Error(187,7): PL/SQL: SQL Statement ignored
Error(225,7): PLS-00382: expression is of wrong type
Error(225,7): PL/SQL: ORA-22806: not an object or REF
When I compile the package.
When I try to call the function from SQL I get an Invalid datatype error.Hi,
Before posting any query/plsql blocks, please ensure that you have written it clean and complete with less syntax errors. ( at least general syntax errors, you can avoid). Then somebody can have an interest to check your logical error.
About your posting, refer below solution step-by-step. It may help you, about what you are looking for? By the way, you must be knowing, what you are going to to do with. I haven't concentrated about your requirement; as it was not missing in your posting.
drop table test;
create table test(myvarchar varchar2(20), mydate date);
create or replace
package mypkg as
type myrec is record (val1 varchar2(20), val2 date);
--procedure display_error (psqlerrm in number); -- if you are passing sqlerrm, then parameter needs to be string type
procedure display_error (psqlerrm in varchar2);
procedure p_load_data (pstartdate in date, penddate in date);
function f_epi(refno1 in number, refno2 in number) return myrec;
end mypkg;
Package created.
--in my package body
create or replace
package body mypkg as -- added
procedure display_error (psqlerrm in varchar2) -- if you are declared a proc/func in spec, it needs to define in pkg body
is
begin
null; -- you should know, what to do here
dbms_output.put_line('Err -'||sqlerrm);
end display_error;
function f_epi(refno1 in number,refno2 in number)
return myrec
is
f_param myrec;
begin
-- select myvarchar2, mydate into MYREC from mytable
-- where myrefno1 = refno1
-- and myrefno2 = refno2;
select ename, hiredate into f_param from emp -- added demo logic by using emp
where empno = refno1
and mgr = refno2;
return f_param; -- added
exception
when others then
raise; -- if you are using OTHERS then, just raise it
display_error(sqlerrm);
--return f_param; -- what is this?
end f_epi;
procedure p_load_data (pstartdate in date, penddate in date) -- you must be knowing the use of 2 params ???
is
v_rec myrec; -- added
begin -- Added
--insert into atable(myvarchar, mydate)
-- select f_epi(refno1,refno2).val1,f_epi(refno1,refno2).val1 from tab2;
-- demo logic added with static params to call f_epi
v_rec:= f_epi(7499,7698);
insert into test values v_rec;
--null;
end p_load_data;
end mypkg;
Package body created.
SQL> exec mypkg.p_load_data(null,null);
PL/SQL procedure successfully completed.
SQL> select * from test;
MYVARCHAR MYDATE
ALLEN 20-FEB-81
Thanks! -
Object Referenced Error When calling the Windows Form during Runtime
Hi,
I am getting Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
ERROR Message
Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Edited by: Albert Tio on Feb 16, 2011 9:55 AMHere is the code.
Option Strict Off
Option Explicit On
Friend Class GetEvents
Public WithEvents SBO_Application As SAPbouiCOM.Application
Public SboGuiApi As SAPbouiCOM.SboGuiApi
Public oForm As SAPbouiCOM.Form
Public oDBDataSource As SAPbouiCOM.DBDataSource
Public oCompany As SAPbobsCOM.Company
Public RS As SAPbobsCOM.Recordset
Public oPrev_Bank As String, oPrev_AcctType As String
Public oLoadXml As Loadxml
Public Sub SetApplication()
'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
' by following the steps specified above, the following
' statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
' connect to a running SBO Application
SboGuiApi.Connect(sConnectionString)
' get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
End Sub
Public Sub SetCompany()
Dim ret As Long
Dim MsgStr As String
Dim Cookie As String
Dim ConnStr As String
Try
oCompany = New SAPbobsCOM.Company
Cookie = oCompany.GetContextCookie
ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
'//before setting the SBO login context make sure the company is not connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
ret = oCompany.SetSboLoginContext(ConnStr)
If Not ret = 0 Then
Exit Sub
End If
ret = oCompany.Connect
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
MsgStr = ""
If Not ret = 0 Then
oCompany.GetLastError(ret, MsgStr)
SBO_Application.MessageBox(MsgStr)
Else
End If
End Sub
Public Sub New()
MyBase.New()
' set SBO_Application with an initialized application object
SetApplication()
SetCompany()
AddMenuItems()
End Sub
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
Try
If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
'SBO_Application.MessageBox("My sub menu item was clicked")
'// Create a form to be launched in response to a click on the
'// new sub menu item
myThread.SetApartmentState(System.Threading.ApartmentState.STA)
myThread.Start()
'Loadxml.ShowDialog()
End If
Catch ex As Exception
SBO_Application.MessageBox("1." & ex.Message)
End Try
'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My GoTo Menu was clicked")
'End If
'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
' SBO_Application.MessageBox("My Second GoTo Menu was clicked")
'End If
End Sub
Private Sub LoadXmlMainThread()
'Dim lLoadxml As New Loadxml
Try
oLoadXml = New Loadxml
oLoadXml.WindowState = FormWindowState.Maximized
oLoadXml.ShowInTaskbar = True
oLoadXml.TopMost = True
oLoadXml.Activate()
Application.Run(oLoadXml)
Catch ex As Exception
SBO_Application.MessageBox("2." & ex.Message)
End Try
End Sub
Private Sub AddMenuItems()
'// Let's add a separator, a pop-up menu item and a string menu item
Dim oMenus As SAPbouiCOM.Menus
Dim oMenuItem As SAPbouiCOM.MenuItem
Dim i As Integer '// to be used as counter
Dim lAddAfter As Integer
Dim sXML As String
'// Get the menus collection from the application
oMenus = SBO_Application.Menus
'Save an XML file containing the menus...
'sXML = SBO_Application.Menus.GetAsXML
'Dim xmlD As System.Xml.XmlDocument
'xmlD = New System.Xml.XmlDocument
'xmlD.LoadXml(sXML)
'xmlD.Save("c:
mnu.xml")
Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
Dim sPath As String
sPath = Application.StartupPath
'sPath = sPath.Remove(sPath.Length - 3, 3)
If sPath.EndsWith("\") = False Then
sPath = sPath & "\"
End If
'// find the place in wich you want to add your menu item
'// in this example I chose to add my menu item under
'// SAP Business One.
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
oCreationPackage.UniqueID = "MyMenu01"
oCreationPackage.String = "Unbridle Menu"
oCreationPackage.Enabled = True
oCreationPackage.Image = sPath & "unbridle.bmp"
oCreationPackage.Position = 15
oMenus = oMenuItem.SubMenus
Try ' If the manu already exists this code will fail
oMenus.AddEx(oCreationPackage)
'// Get the menu collection of the newly added pop-up item
oMenuItem = SBO_Application.Menus.Item("MyMenu01")
oMenus = oMenuItem.SubMenus
'// Create s sub menu
oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
oCreationPackage.UniqueID = "MySubMenu"
oCreationPackage.String = "Unbridle Monitoring"
oMenus.AddEx(oCreationPackage)
Catch er As Exception ' Menu already exists
'SBO_Application.MessageBox("Menu Already Exists")
End Try
End Sub
End Class
Public Class Loadxml
'Inherits System.Windows.Forms.Form
Public sBPpath As String
Public sGLpath As String
Public sBillpath As String
Public bRun As Boolean
Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
Me.NotifyIcon1.Visible = False
End Sub
End Class -
Copy Multi-Layered Drawing-Object and keep the same Layers
Good evening
We often have to clone a Drawing-Object and the clone should use the same Layers. We expected that we can just select the Objects on the related Layers, Drag and keep a key (e.g. Ctrl) and Drop the copy
An example:
The original Object has an rectangle and a text on two layers:
Layer 1: Rectangle (Original)
Layer 2: Text (Original)
After cloning, we should have:
Layer 1: Rectangle (Original) Rectangle (Copy)
Layer 2: Text (Original) Text (Copy)
Thanks a lot for all ideas in advance,
kind regards,
ThomasThank you for your fast answer!, unfortunately it does not work as expected: after the Copy-Operation I always have more Layers than before. To use my example again:
The original Object has an rectangle and a text on two layers:
Layer 1: Rectangle (Original)
Layer 2: Text (Original)
Then I select the Rectangle and the Text an copy these Objects.
I always get:
Layer 1: Rectangle (Original)
Layer 2: Text (Original)
Layer 3: Rectangle (Copy)
Layer 4: Text (Copy)
What I expect after copy is:
Layer 1: Rectangle (Original) Rectangle (Copy)
Layer 2: Text (Original) Text (Copy)
Kind regards,
Thomas -
I have similar problem, but mine doesn't sound like a loose screw, more like the battery or vibration component is loose. When I shake the phone left to right abit I can feel that it's around the top area. Very annoying, besides that it works fine. Gonna go to apple tomorrow maybe to ask.
jsavage9621,
It pains me to hear about your experience with the Home Phone Connect. This device usually works seamlessly and is a great alternative to a landline phone. It sounds like we've done our fair share of work on your account here. I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you. I look forward to speaking with you.
TrevorC_VZW
Follow us on Twitter @VZWSupport -
Error: Object Required apperas when accessing Content Admin Portal Content
After installing Ep 7.0 sp16 Portal and logging in as Administrator we get
Error: Object Required apperas when accessing Content Admin >Portal Content
The same error appears when trying to access System Admin > permissions.
Anything to do with catolog search is throwing Error: Object Required popup.
Appreciate feedback in resolving this.
Rajesh.R.I have just started to get this error as well... On my computer I get the "Error: Object Required" when accessing the Portal Content page but if I log in on someone elses computer using the same browser, OS, etc The error does not appear and I am able to browse the Portal Content.
Any more insight on the resolution to this issue would be appreciated. -
Flickering when enlarging Facebook Pictures - MBP Retina
Hi everyone!
There is often a flickering when enlarging pictures on Facebook with Safari. It's incredibly annoying. How can i fix? I was in an apple store and i saw that all MBP with Retina have exact the same Problem.
PRAM reset, Reset of OS X not solved the Problem.
Here's some information on my MacBook:
- OS X Mavericks 10.9.2
- Safari 7.0.2
-MacBook Pro Retina (Late 2013) 15 Inch
- 2,0 ghz i7, 8 GB Ram
Thank you in advance for your help!Can someone help me?
-
I am using the latest iTunes on my laptop without iCloud. I would like to use a different computer on my network at home but I'm afraid I will loose evrything when I install iTunes
Drrhythm2 wrote:
What's the best solution for this? I
Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer. -
Broken cursor when enlarging brushes in Photoshop CS4...
http://img209.imageshack.us/img209/4281/76281276aq6.gif
I'm expriencing a broken cursor when enlarging brushes in Photoshop CS4 [see pic]. The cursor is OK at small sizes, but start to get but off after enlarging past a medium size. Can this bug be fixed?
WinXP, 3GB RAM, NVIDIA 6800 GT video card>This fixed the problem.
actually that masks the problem. the fix is still an updated video driver. if the latest one for your card doesn't work, keep using that setting for now, but write to the card manufacturer and report the bug. -
Adobe Photoshop airbrush icon turns from a circle to an arc when enlarged past a certain size
Adobe Photoshop airbrush icon turns from a circle to an arc when enlarged past a certain size & this makes accuracy progressively more difficult. Upgraded from v11.01 to 11.02 but no change. Running Win XP OS on an HP Elitebook 8730W F.0F with built-in Nvidia Quadro FX 2700M graphics.
Thanks Lister_UK, updated all 3 PCs with version 195.62 & problem fixed.
Maybe you are looking for
-
I keep on getting some popup messages saying that there is some illegal operation with Javascript.
-
Being new to iMac and connecting four external drives I need to know how to mount and dismount them
-
Hi experts! Does anyone can help me explaining to me why a Business Partner Master Data of a Customer is showing a negative Orders Balance without a drill down link?. We have Sap Business One 2007A SP00 PL45. I don´t know the reason for this negative
-
Startup Disk has illegal character
Hi There ~ I have an iMac running OS X, version 10.9.5 and my startup disk is named: / This character is preventing me from opening certain types of files that are attached to email. Even when I save them, I can not open them. What should the prope
-
Collecting too many objects for info-object catalog.
We are on BI 7.0 and I'm collecting info-object catalog for 0FIAR_CHA01 & 0FIAR_KYF01. Grouping is set to Only necessary objects. Collection Mode is set to Collect Automatically Info area & info-object folders are collected. There is a Package name s