GetURL(javascript) not working in flash player 9
This action works well in flash player 8 but it doesnt in
flash player 9 can someone please help me, its very urgent.
getURL(javascript:openNewWindow('
http://www.macromedia.com','thewin',
'height=400,width=400,toolbar=no,scrollbars=yes'));
DazFaz wrote:
> if looks as though you have missed off the speach marks
from within the call:
>
> getURL("javascript:openNewWindow('
http://www.macromedia.com','thewin','height=40
> 0,width=400,toolbar=no,scrollbars=yes')");
One more note tho, it's good to void the request after you
make the window call.
getURL
("javascript:n_name=window.open('PAGE.htm','thewin','width=400,height=400,scrollbars=yes' );void(0);");
*** VOID
Void returns nothing.
Have you ever seen pop up windows that say [object] in them?
well that's because the function that made those windows had
a return
value that was an 'object'...
Void is use to take the result that some function returns and
discard it.
Some people do window.open(...);void(0); or
void(window.open(..)); - does not
really matter tho .....but it's good practice to use it .
Also, no need to set NO parameters. By default all are set to
NO, you only
define the one you need to be set to YES.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
GETURL is not working in flash player 9.0.124.0.
Dear Friends,
My swf and my html are in different domain so i got a issue
in GETURL function , It is not working in flash player 9.0.124.0.
in IE browser so that i add one parameter like allowScriptAccess
=always then its working fine.but my question is what will happed
if they will introduce any new flash version in future please tell
me what is the permanent solution for this issue.
ThanksThere is no way to know what will change in the future. This
is the solution that works now. It will probably remain in place
for the reasonable future. -
Title
NetStream.send not working in Flash Player 11.2 Beta with Cirrus, Please confirm if it is a bug or feature
Description
Problem Description:
NetStream.send can not send data to peerstreams when using with cirrus. Conflict with documents.
Sorry for tag the build as 11.0.1.3 while the bug is actually on 11.2 beta since the bug report system didn't have 11.2 beta yet.
If you are not responsible for 11.2 beta bug fix, please help a hand to handle this bug to 11.2 team.
This bug is "killing" to your application, so we really appreciate your help. Thanks.
==Publisher==
nc.connect("rtmfp://");
var ns:NetStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
ns.publish("sendtest");
...//after connection success.
ns.send("clientfunction", "ok"); // this line cannot reach subscribers. even if subscribers have client object correctly.
==Subscriber==
nc.connect("rtmfp://");
var ns:NetStream = new NetStream(nc, cirrusid);
var client:Object = new Object();
client.clientfunction = clientfunction; // target function
ns.client = client;
ns.play("sendtest");
Steps to Reproduce:
1. compile the code in the attachment to SendTestExample.swf (not be able to paste it here)
2. run it under flash player 11.2.202.19 beta
3. run it under flash player 11
Actual Result:
HeartBeat is:
Start HeartBeat:
send hello
send hello
send hello
which means NetStream.send was not able to call "clientfunction" as expected.
Expected Result:
Start HeartBeat:
send hello
in client function: hello
send hello
in client function: hello
send hello
in client function: hello
which can call into the clientfunction as flash player 11 did.
Any Workarounds:
I can not find it out since it's an api level bug. But this can be very important for lots of applications which rely on send to do rpc.
Test Configuration
IE8, Firefox under Windows 7
Also have problem under Windows XP (but not well tested on this platform)
App Language(s)
ALL
OS Language(s)
ALL
Platform(s)
Windows 7
Browser(s)
Internet Explorer 8.0
==Attachment==
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.NetStatusEvent;
import flash.events.TimerEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.text.TextField;
import flash.utils.Timer;
import flash.utils.setTimeout;
public class SendTestExample extends Sprite
public static var statusArea:TextField;
var ncServer:NetConnection = new NetConnection();
var nsServer:NetStream;
var ncClient:NetConnection = new NetConnection();
var nsClient:NetStream;
var timer:Timer = new Timer(1000);
public function SendTestExample() {
ncServer.addEventListener("netStatus", onNCStatusServer);
ncServer.connect("rtmfp://p2p.rtmfp.net","99f72ccbed0948d7589dc38a-3ce1b2616680");
statusArea = new TextField();
status("status");
statusArea.x = 0;
statusArea.y = 0;
statusArea.border = true;
statusArea.width = 200;
statusArea.height = 350;
addChild(statusArea);
function onNCStatusServer(event:NetStatusEvent):void {
status("Step 1:");
status("server: " + event.info.code);
status("id: " + ncServer.nearID);
switch (event.info.code) {
case "NetConnection.Connect.Success":
nsServer = new NetStream(ncServer, NetStream.DIRECT_CONNECTIONS);
nsServer.addEventListener(NetStatusEvent.NET_STATUS, onNSStatusServer);
nsServer.publish("sendtest");
ncServer.removeEventListener(NetStatusEvent.NET_STATUS, onNCStatusServer);
ncClient.connect("rtmfp://p2p.rtmfp.net","99f72ccbed0948d7589dc38a-3ce1b2616680");
ncClient.addEventListener("netStatus", onNCStatusClient);
case "NetStream.Publish.BadName":
//status("Please check the name of the publishing stream" );
break;
function onNCStatusClient(event:NetStatusEvent):void {
status("Step 2:");
status("client: " + event.info.code);
status("id: " + ncClient.nearID);
switch (event.info.code) {
case "NetConnection.Connect.Success":
nsClient = new NetStream(ncClient, ncServer.nearID);
var c:Object = new Object();
c["clientfunction"] = clientfunction;
nsClient.client = c;
nsClient.play("sendtest");
ncClient.removeEventListener(NetStatusEvent.NET_STATUS, onNCStatusClient);
//setTimeout(sendHello, 5000);
case "NetStream.Publish.BadName":
//status("Please check the name of the publishing stream" );
break;
protected function onNSStatusServer(event:NetStatusEvent):void {
status("nsserver: " + event.info.code);
if (event.info.code == "NetStream.Play.Start") {
status("Start HeartBeat:");
this.timer.addEventListener(TimerEvent.TIMER, function (e:Event):void {
sendHello();
this.timer.start();
protected function sendHello():void {
status("send hello");
nsServer.send("clientfunction", "hello");
protected function status(msg:String):void
statusArea.appendText(msg + "\n");
trace("ScriptDebug: " + msg);
protected function clientfunction(event:Object):void {
status("in client function: " + event);Thanks for reporting. I can reproduce the bug in house. We will investigate.
Calise -
I am getting frustrated with Apple not working with Flash Player on some of my favorite web sites! Is there another alternative to watching these site options on my I-pad?
Flash is not, and probably never will be, supported on the iPad : http://www.apple.com/hotnews/thoughts-on-flash/ . Plus it would be up to Adobe to make a version of their flash player that works on iOS devices - something which they have never managed to do and which they have now given up on trying to do.
Browser apps such as Skyfire, iSwifter and Puffin 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store, so your could try checking there for your sites (and there is the built-in YouTube app). -
Captivate 4 AS2 Text Entry Box not working with Flash Player 11
I am having issues with text entry boxes not working at all in flash 11. I am using Captivate 4 and exporting an AS2 swf. When you get to the slide you can type but you cannot see anything nor does the button or keystroke to move on. Also there is no cursor. Any ideas?
You said it is not working with Flash 11, so does that mean you tested with previous version and that worked?
While publishing choose Flash player as 9 and publish that, verify if that plays in a compatible web browser.
AS 2 is a legacy scripting, it has been said not too be supported with even Flash Player 10 --
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
I believe if you switch back to version 9 while publish your project, it should work.
Thanks,
Anjaneai -
GetURL --javascript stops working under Flash 8
I have ran into a strange problem that I hope is simple to
diagnose. I have done many projects where the Flash object calls a
Javascript in the parent web page using a simple getURL method,
like this:
getURL("javascript:resizeSWF("+40+")");
That has worked fine for years. But I have noted when
publishing these projects as Flash 8, that call no longer reaches
the Javascript function (the Javascript does not execute).
Publishing as ver 7 or earlier is fine. Am I missing something
obvious here, or is there a new security restriction in Flash 8
that prevents directly communicating with Javascript functions?
ThanksHitParader wrote:
> I have ran into a strange problem that I hope is simple
to diagnose. I have
> done many projects where the Flash object calls a
Javascript in the parent web
> page using a simple getURL method, like this:
>
> getURL("javascript:resizeSWF("+40+")");
>
> That has worked fine for years. But I have noted when
publishing these
> projects as Flash 8, that call no longer reaches the
Javascript function (the
> Javascript does not execute). Publishing as ver 7 or
earlier is fine. Am I
> missing something obvious here, or is there a new
security restriction in Flash
> 8 that prevents directly communicating with Javascript
functions? Thanks
You need to test it online. Change in flash player as well as
IE and FF security
no longer allow Flash - JS - HTML on desktop. You need to
upload it to server and
test in real time. Should work just fine.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Right click context menu is not working in flash player 10 and above
In right click custom context menu i have create like "A" if i click "A" i have attached one movie clip in that movie clip right click, i have custom context menu like "Remove A" this is working fine in flash player 9 and below. But flash player 10 and above fisrt "A" is working fine but in that movieclip clip right click "Remove A" is not working Please guide me regarding this issue.
Thanks in Advance
Surendran SThe problem is that Google has an onmousedown attribute added to the links that modify a link if you click or right-click a result link to make the link point to a safe browsing check on the Google server.<br />
You can see that if you hover a link and you will notice that after you have (right) click a link the the URL changes to www.google.com/url?xxxxx.
You can use this bookmarklet to remove the onmousedown attributes.
<pre><nowiki>javascript:(function(){var e=document.querySelectorAll('*[id="search"] a[onmousedown]'),E,i;for(i=0;E=e[i];i++){E.removeAttribute('onmousedown')}})()</nowiki></pre> -
GetURL + Javascript not working
Hello,
I am stumped. I am trying to create a popup window from a
button - this should be simple but i'm having difficulty.
I can get a new window to launch using the getURL function:
on(release){
getURL("
http://www.bbc.co.uk")
As I want to make this a popup I wish to adjust the window
size, and remove the toolbars etc.
I therefore am incorporating some JavaScript to take care of
this:
on (release) {
getURL ("javascript:NewWindow=window.open('
http://www.bbc.co.uk','newWin','width=400,height=300,left=0,top=0,toolbar=No,location=No,s crollbars=No,status=No,resizable=No,fullscreen=No');
NewWindow.focus(); void(0);");
When I try and launch this the window opens and closes in a
split second - I cannot get the popup to remain visible. I notice
that this method has works for many people across the web.
Is this perhaps a security issue with using Javascript? And
therefore the browser auto closes.
Any ideas / help will be much appreciated.I know there is a bug out regarding getURL with javascript
for the most current flash player. This doesn't sound like what you
are experiencing, but perhaps it will give you a starting place
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403072&sliceId=2 -
Quicktime plugin for screen capture does not work in flash player 11.2
Hello,
I have created a quicktime plugin (it is .component file) for screen sharing purpose.
I have used quicktime framework for that. plugin is detected in flash player.
This plugin is working perfectly for flash player 11 and below.But,
It does not working in latest flash player 11.2.
I have seen following error on console -
Google Chrome Helper EH[240:e92b] *** QTCaptureSession warning:
Session received the following error while decompressing video:
Error Domain=NSOSStatusErrorDomain Code=-8974
"The operation couldn’t be completed. (OSStatus error -8974.)".
Make sure that the formats of all video outputs are properly configured
Note - Compression format used in plugin is kBMPCodecType.
Please, help me.The issue ended up being the change in resolution to my external monitor. Flash was unable to detect the proper coordinates of the color I was trying to select because I was running my monitor in HD mode rather than selecting an actual resolution from my monitor preferences. Changing the settings to an acutal resolution, instead of generic "HD mode" fixed the issue.
-
RSL Caching not working in Flash Player
We have built a Flex application compiled into an swf file that uses RSL linkage for the different framework libraries it needs. This has been done to reduce the size of the swf file. We are using the URL of the signed version of the library while building the application. The online documentation suggests that the signed SWZ files are cached by the flash player, so that they are not downloaded every time they are required. The swf file is embedded in a PDF file. Our observation is that when we run the Flex application by opening the PDF file in Adobe reader, the RSLs are not getting cached in the Flash player. If we disable the network connection on the computer that opens the PDF file, the Flex application dosen't load. Is this the expected behavior? Or are we missing something? Although if we open this this FLEX application in browser, it works fine.
Is there a way in which we can maintain RSL caching in flash player, so that the PDF can be opened in the offline mode as well.
We welcome your suggestions on this.Hi Alex,
Thanks for your response. Our application uses framework RSL at:
http://fpdownload.adobe.com/pub/swz/flex/4.6.0.23201/framework_4.6.0.23201.swz
We discovered today that the problem occurs when we open the PDF in Adobe reader 11 in offline mode. When we opened this PDF in Adobe Reader 10, it works in offline mode as well. I believe there are some differences in the way Flash integrates with Adobe Reader 11: that it uses the system Flash player instead of an embedded one. Not sure if this is the cause of the issue, and if so how to resolve. Any help would be much appreciated.
Thanks -
Download not working on flash player for mini mac
I downloaded the new update for my flash player and was unable to get any videos on my comcast.net. went online and tried to fix problem and redownload and now my computer will not do any Adobe programs at all. Have downloaded the flash player again and it still will not work and the adobe read is also gone apparently.
Moving this discussion to the Installing Flash Player forum.
-
Screensaver not working since Flash Player 11 update.
Hi,
I'm using windows 7 and have my sceeen to dim after 1 minute of not being used and screensaver to come on after 20 minutes but if I have a tab open in IE9 which contains a youtube video that's not playing the screen won't dim and the screensaver won't start either. If I close the youtube tab it works fine. I'm using the latest version of flash player. Can anyone help with this? Many thanks in advance@LotharOfTheHillPeople - What page is causing problems with your webcam? If you go into Flash Player settings, do you see your webcam listed?
Can you try this page: http://www.testmycam.com/ -
Flash plugin created not working in flash player 10.1 (release - not beta)
Hello, i wrote a plugin using flash (you can click on the preview button to see it):
http://activeden.net/item/shiny-plugin/94112
It worked perfectly on all the previous flash player versions and in the new flash player 10.1 you can see the effect.
Actionscript wise - it draws lines at various angles and then apply gradient glow on them.
If you re-install the previous version the plugin works again. any clue why is it happing? Thanks.
=====================
System: Windows 7-64Bit
Flash player: 10.1
CPU: Intel Core 2 Quad 2.4MHz,3GB RAM
GPU: Nvidia 8800 GTS
=====================Thanks for the quick response! here is the file list (all file versions are 10.1.53.64):
C:\Windows\SysWOW64\Macromed\Flash:
Flash10h.ocx
FlashAuthor.cfg
FlashInstall.log
flashplayer.xpt
FlashUtil10h_ActiveX.dll
FlashUtil10h_ActiveX.exe
install.log
NPSWF32.dll
NPSWF32_FlashUtil.exe
uninstall_plugin.exe
C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerTrust:
Adobe Search For Help.cfg
AdobeFireworksCS5.cfg
AdobeXMPFileInfo.cfg
AdobeXMPFileInfoCS5.cfg
kuler.cfg
ServiceManager.cfg
I also made sure all the addson are enabled. Still doesn't work.
disabled hardware acceleration.Still doesn't work.
the last resort is will try to update the GPU driver - as ʇɐb ɹəuəllıʍ said.
I will keep you posted either way. thanks -
Stompclient is not working for Flash Player 9 (Flash Player 9,0,124,0)
We are facing issue in STOMP client because of newly
implemented restriction on flash player.(
http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_update.html).
Because of this, Our STOMP client is not able to get messages
from activemq.
We have tried to add socket meta files as discussed in others
article but we were not able to get solutions.
We have done below stuffs.
1) Added LoadPolicy code in stompclient for getting
policyfile from server running on 80 port.
2) Also set xmlSocket as load policy to get connection from
stompclient to Activemq.
1) PolicyFile.xml(loading this also in STOMPClient.swf)
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"/xml/dtds/cross-domain-policy.dtd">
<!-- Policy file for xmlsocket://socks.example.com -->
<cross-domain-policy>
<!-- This is a master-policy file -->
<site-control
permitted-cross-domain-policies="master-only"/>
<!-- Instead of setting to-ports="*",
administrators can use ranges and commas -->
<!-- This will allow access to ports 123, 456, 457, and
458 -->
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>
2) Flash players logs(using debug version of Flash player)
Error: Request for resource at xmlsocket://192.168.1.12:61613
by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
is denied due to lack of policy file permissions.
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/ladyguinn.swf
OK: Searching for <allow-access-from> in policy files
to authorize data loading from resource at
xmlsocket://192.168.1.12:61613 by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted:
http://192.168.1.12/crossdomain.xml
Warning: Timeout on xmlsocket://192.168.1.12:61613 (at 3
seconds) while waiting for socket policy file. This should not
cause any problems, but see
http://www.adobe.com/go/strict_policy_files
for an explanation.
Error: Request for resource at xmlsocket://192.168.1.12:61613
by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
is denied due to lack of policy file permissions.
OK: Root-level SWF loaded:
http://mail.google.com/a/sigmainfo.net/im/sound.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/ladyguinn.swf
OK: Root-level SWF loaded:
http://mail.google.com/a/sigmainfo.net/im/sound.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files
to authorize data loading from resource at
xmlsocket://192.168.1.12:61613 by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted:
http://192.168.1.12/crossdomain.xml
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files
to authorize data loading from resource at
xmlsocket://192.168.1.12:61613 by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted:
http://192.168.1.12/crossdomain.xml
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://127.0.0.1/blackwells/bid/bill.swf
OK: Searching for <allow-access-from> in policy files
to authorize data loading from resource at
xmlsocket://192.168.1.12:61613 by requestor from
http://127.0.0.1/blackwells/bid/stompclient.swf
OK: Policy file accepted:
http://192.168.1.12/crossdomain.xml
Warning: Ignoring <site-control> tag in policy file
from
http://192.168.1.12:843/policyfile.xml.
This tag is only allowed in master policy files.
Warning: Domain 192.168.1.12 does not specify a meta-policy.
Applying default meta-policy 'all'. This configuration is
deprecated. See
http://www.adobe.com/go/strict_policy_files
to fix this problem.
3) Setting below load policy files in stompclient.mxml
flash.system.Security.loadPolicyFile("
http://" + server + "/crossdomain.xml");
//flash.system.Security.loadPolicyFile("
http://" + server + "/policyfile.xml");
flash.system.Security.loadPolicyFile("xmlsocket://" + server
+ ":"+port);
4) we have also changed crossdomain.xml (this is using Schema
instead of DTD as <site-control > is not there in DTD)
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="
http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*" />
<site-control
permitted-cross-domain-policies="master-only"/>
</cross-domain-policy>
I have also did following,
1) Started activemq on remote machine.
2) Started jetty on 843 port in the same machine were
activemq is running.
3) i put the crossdomain.xml as listed above.
4) i didnt specified explicity loadPolicyFile().
Following are the contents of profiling logs:
OK: Root-level SWF loaded:
http://192.168.1.12/blackwells/bid/stompclient.swf
OK: Root-level SWF loaded:
http://192.168.1.12/blackwells/bid/ladyguinn.swf
OK: Searching for <allow-access-from> in policy files
to authorize data loading from resource at
xmlsocket://192.168.1.47:61613 by requestor from
http://192.168.1.12/blackwells/bid/stompclient.swf
Warning: [strict] Ignoring policy file at
xmlsocket://192.168.1.47:843 due to incorrect syntax. See
http://www.adobe.com/go/strict_policy_files
to fix this problem.
Warning: Timeout on xmlsocket://192.168.1.47:61613 (at 3
seconds) while waiting for socket policy file. This should not
cause any problems, but see
http://www.adobe.com/go/strict_policy_files
for an explanation.
Error: Request for resource at xmlsocket://192.168.1.47:61613
by requestor from
http://192.168.1.12/blackwells/bid/stompclient.swf
is denied due to lack of policy file permissions.
Thanx in advanceSee this cool mp3 xml player with visualization, playlist and
skins. Fully customisable. Vector.
http://flashden.net/item/mp3-xml-strongplayerstrong-with-visualization-and-skins-vectorise d/11851 -
Retina Display Support not working with Flash Player run applets
When running flash player run websites (e.g. games or Youtube) the flash player applet fails to render for the Retina Display in the new Firefox 18 (although websites render for the retina display).
Flash player renders everything including flash applets for the retina display in other browsers (Safari, Chrome)Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
Once you're there, the site will check if all your plugins have the latest versions.
If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.
Maybe you are looking for
-
Can't open Firefox or IE in other user accounts.
I am using, from the dock, Safari, Firefox 1.5 and IE 5.2.3 without any problems. However I have two other user accounts (family) who can use Safari but cannot open Firefox or IE-all they get is the bouncing icon in the dock (no message windows). The
-
My Pages Do Not Render after auto updating to 7.0
After my Browser was today updated to Firefox 7.0 on some of my pages elements are replaced with ... (elipses) and the z-index of items is all messed up. I tried the same site in 3.6.2 and 6.0 and it is working fine. As soon so the machine updates to
-
DVI question - not recognizing monitor
I just bought a new lG L203WT monitor and I get nothing when I hook it up to my MPB. When I hook it up the following way it works fine: Apple DVI to VGA adaptor -- provided VGA to DVI cable -- DVI in on monitor -- RGB input selection on monitor. Its
-
SAPPHIRE / ASUG (Orlando) questions / tips
Would anyone share their tips and tricks for the SAPPHIRE / ASUG conference attendees? Based on my TechEd and Florida experience, I'll start: - Wear comfortable shoes (this is the most important one!) - Plan your agenda ahead of time and make sure to
-
Problem resizing imported jpg images in flash cs4
when i import a jpg file in flash and then resize this with the transform tool to for example 50% of the original size then im not getting the same result as resizing it in photoshop. if i first resize it in photoshop and import the image is smooth a