Tuesday, March 30, 2010

Photoshop says download movies

I am interested in movies with Photoshop. $50.00 yearly and can't download movies and would love to see a larger version of the slide show html that can be placed on web pages and sites. Flickr has something free and $25.00 a year if you want movies and Pro. Come on Adobe lets get with the program. Every slide show even advertises free Photoshop and I pay and can't get a version that will play movies or sound? I'm 54 years old and unemployed you have people out there stealing free keys and I just can't what get what I need? I have paid Adobe for every product I own. I'm to old to learn and pay for training. I have a son that can do about anything but I'm doing the best I can with CS4, Flash, CT, DW and FC. Jetasia

http://appliancepartsseabreeze.com/Appliancepartsseabreeze/TMP4y0c4p8crk.html

Photoshop says download movies

jetasia, I don't really understand your question.?Can you please tell me what it is you are trying to do?

Regards, Guy

Photoshop says download movies

Guy, That's strange you don't seem to understand. It works now after months of trying and suddenly you must have turned it own. Sorry about the complaint. I have been into this CS4 so many hours trying to keep up with all the younger generation, I almost gave up. You knew something I didn't and now it works. I have been really tired learning on my own. Thanks, John T

SEA BREEZE ?SEA BREEZE TIP's

YING ANGEL's DREAMS

photoshopCS4とデュアルモニタ...

  教えて頂きたいのですが・・・。

 初めにこちらの環境は、macG5のos10.4.11でCRTモニターを使っています。

 photoshopCS4はデュアルモニターでは使用出来ないと聞いた事があり、

   購入を見送っております。

 Adobeに確認したことろ、「動作検証をしていないので何とも言えません」と言われました。

 

 また、CS4からメニューバーに準じて画像が開くとの事ですが、

 CS2みたいにサブモニターにアクション等を表示させて、

 メインモニターに画像のみ表示させたいのですが、

 CS4でも、その様な事は可能でしょうか??

 

 メニューバーとの切り離し・・・?が出来ればと考えております。

どなたか、教えて頂けないでしょうかー??

お願いいたします。

photoshopCS4とデュアルモニタ...

こういう事ですか? 問題無く出来ますよ。

Where is the Scene indicator above the...

Greeting Flash Users,

The Scene ''bar'' (don't know official name), which is supposed to be directly above the Stage, does not appear on my version of CS4 Pro.?It's visible on the computers at school, but it doesn't appear on my screen on my Mac.?How do I make it appear??A search in the preferences yielded nothing.?No tabs or little things to click around the stage area, either.

This is not to be confused with the Scene palette from the top pulldown menu.?NOT windows %26gt; other panels %26gt; scene.

Thanks a million!

Where is the Scene indicator above the...

Can you take a screenshot?

Where is the Scene indicator above the...

How do I take a screenshot?

Here is my screen shot - literally.?I took it with my camera and added the comment in Ps.

Hope this helps.

That's called the ''edit bar''. You can get it back with Window %26gt; Toolbars %26gt; Edit Bar.

Thanks, jdehaan.?You solved the mystery. You're my hero!

have Windows XP and Adobe 9 Reader and...

I have Windows XP and Adobe 9 Reader and need to send a series of large documents to clients as a matter of urgency When I convert 10 pages a MS-Word file to Pdf this results in file of 6.7 MB which can't be emailed.?Do I combine them and then copy to JPEG 2000 or do I have to save each page separately which is very time consuming Please advise me how to reduce the size and send 10 pages plus quickly by Adobe without the huge hassles I am enduring

have Windows XP and Adobe 9 Reader and...

What kind of software do you use for the conversion to pdf? Adobe Reader can't create pdf files.

Get position

Hi!

I'm trying to search a spesific word in a PDF, and then return the coordinate position of that word. My application is written in C#, and I have never included Acrobat in my apps before, so I'm new to all this.

The reason why i want to extract the position is that i want to insert at picture at this spesific location. (The location of this word will be random)

Any hints to get me started would be appreciated.

-Aage

Get position

Well, you should download the Acrobat SDK for all the documentation and sample code.

HOWEVER, while searching and finding the word coordinates are pretty easy (and there is a sample). When you insert the image won't it cover up all the text around it?

  • facebook.com
  • Total failure on FMS port connectivity...

    Why does the FMS port connectivity test consistently report that every single port (RTMP and HTTP tunnelling) test failed? (The page even notes that all users should pass it!) I've updated the Flash Player, I've opened ports 80, 443 and 1935, and yet it still keeps failing. I'm using Vista Home Basic's firewall, but shouldn't allowing the ports in the Exeptions tab of the settings work?

    I've tried googling for solutions, but to no avail. All I get is advice to open the ports (which I have, I've even tried switching them from TCP to UDP in a desperate attempt -- it did absolutely nothing) and update my Flash players (which I'd done before running the damn test).

    My main browser is Firefox 3.0.10 (and yes, I've checked to see if I have multiple Flash installations in add-ons -- I don't), but the tests also fail in IE.

    I'd be really grateful for any and all advice and help.

    Message was edited by: Lyssa32%26#13;
    I should add that I have admin privileges on the computer. (And I'm on mobile broadband, not ADSL -- though that shouldn't affect the test outcome at all.)

    Total failure on FMS port connectivity...

    If you're using the port test at

    http://kb2.adobe.com/cps/164/tn_16466.html

    it's not your machine or configuration. It's been failing for everyone for the past couple of days. Perhaps they changed the server side app without updatng the client.

    Try the port testers on Flashcomguru... they're working

    http://flashcomguru.com/apps/port_test/index.cfm

    Total failure on FMS port connectivity...

    Thanks for the post.?A big help.?Anyone from Adobe fixing the normal test?

    The FlashGuru test site worked for me too.

    Since it is now end of October, it appears that Adobe is not working to fix the problem on their site.

    At minimum, they shoud take the page down, or set it as ''Under Construction''.

    Thanks for providing that link.

    Codec Missing or Unavailable...

    Hi,

    was wondering if anyone has any input on this issue I am having.

    I transfered 1080 25p footage (1440x1080) that was captured on FCP from a Sony Z7 off HDV tape onto my pen drive then onto my Mac and am trying to import it into Premiere Pro CS4. Upon importing I receive the error 'Codec Missing or Unavailable.'

    I know that the footage has not been compressed while being captured in FCP.

    I am using the original uncompressed files form FCP's scratch disk, all of which are .MOV.

    Incase there was a codec hidden amongst it I have used both MediaInfo and Video Spec to give me feedback, both of which report the hdv7 codec.

    Some mention has been made of hdv7 being part of PC encoding of HD video or Canon but the footage has been captured on FCP and worked on the Mac which it was captured on.

    Any ideas?

    Is hdv7 something FCP encodes HDV to?

    No google search can find information on hdv7.

    etc etc etc...

    Codec Missing or Unavailable...

    Doesn't FCP use ProRes as an intermediate codec?

    Codec Missing or Unavailable...

    Yes FCP does use ProRes. ProRes does not seem to be the problem. I have ProRes support on my Mac as it is available.

    The message seems clear. ProRes is obviously not recognized in PR.

    If you stick to a PC you would not have those problems and save lots of $$$.

    I think the best solution is to just recapture using Premiere.

    Until recently, QT's ProRez was not available for the PC. IIRC, there is now a version that does work on the PC. There are a few threads on this forum on version #'s, etc. I'd research this. As I have not needed this, I cannot comment directly. I ask for, and receive .MOV's with the Animation CODEC, and have had no issues. If my recollection is wrong, then I would definitely take Jim's advice.

    Good luck,

    Hunt

    The OP isn't on a PC, Bill.?He just wants to capture in FCP and edit in Premiere.?I recommend everything be done in the same program.

    Jim,

    Got you. It was a Mac w/ FCP to a Mac w/ PrPro. The references to PC's later on threw me. With a Mac, then the ProRez should be a snap on the Mac.

    Still, doing the edit in FCP would certainly make a lot of sense.

    Good luck,

    Hunt

    Haha, I must sound like I am being purposefully difficult. I have acquired footage I shot from the director to put in my d.o.p showreel.

    So they captured on FCP, I use Premiere Pro.

    I am a recent convert to Macs. In comparison PCs look so damn ugly.

    So it seems Premiere Pro can't handle ProRes? Has this ever been talked of before? By Adobe even?

    I am a recent convert to Macs. In comparison PCs look so damn ugly.

    I thought it went without mention that Mac is superior performance wise to PC?

    PCs are only good for Windows Vista, porn and online gambling.

    I thought it went without mention that Mac is superior performance wise to PC?

    Let's stop the Mac/PC debate right now.?Focus on getting the OP's issue solved.?Assume that switching platforms isn't an option, and assume that even if it was, it's not necessary in this case.

    -Jeff

    BTW - Apple's FCP imports AVCHD video and automatically converts it to the Apple Intermediate Codec, or AIC.?You have to export it to get into a QuickTime format using ProRes 422.?Premiere Pro does not support AIC.

    -Jeff

    Then, as Jim suggested, recapture without FCP/Prores is the only sensible solution or just use FCP from start to end.

    It seems that it might have been Colin Broughman, who pointed out the Apple ProRez on the PC. The threads are not THAT old, say a full month, or so. I do not recall all of the details, but there did not seem to be an issue with the use of that CODEC in PrPro (and this was on a PC, IIRC).

    Good luck, and please report what you find out - my memory is not much better than my reading comprehension...

    Hunt

    Try this:

    http://discussions.apple.com/thread.jspa?threadID=1591736%26amp;tstart=30

    I did not try to sort out whether it will help you, but found it trying get more information on the ''hdv7'' that is reported consistently by codec analyzers, but not found in trying to identify it as a FourCC registered type.

    Get position

    Hi!

    I'm trying to search a spesific word in a PDF, and then return the coordinate position of that word. My application is written in C#, and I have never included Acrobat Scripting in my apps before, so I'm new to all this.

    The reason why i want to extract the position is that i want to insert at picture at this spesific location. (The location of this word will be random)

    Any hints to get me started would be appreciated.

    -Aage

    Get position

    For info about C# you should ask in the Acrobat SDK forum.

    However, you should know that this can be achieved with a straight script. No need for an external application.

    Get position

    Ok, I will post at the SDK forum. The reason why I want to wrap this into my C# app is because it should be an option among several features in my app.

    InDesign export Text Layout Framework...

    hi there

    as described in title, i'm having troubles exporting an InDesign comp in a decent way

    my quesitons are:

    1 - It exists a DTD for Text Layout Framework Markup Language ?

    2 - Is there an export module that make me able to do it automatically? because tagging all the elements is a pain, and there is just a little documentation about the markup language

    If not, are there any plans to do it?

    I personally think that an export module will be very helpful and will score another goal on products' integration

    Thanx for your time

    InDesign export Text Layout Framework...

    Regarding a DTD see this post http://forums.adobe.com/message/2221283#2221283

    I can't comment on any plans for ID to export TLF markup.?Definitely a good idea.

    Thanks,

    Richard

    Sharpening Raw files: what am I doing...

    My problem is getting my shots (Nikon D80 %26amp; Nikon Lenses + Tripod) through the Alamy quality control barrier!?I have had three rejections so far.?I am following the workflow suggested in Martin Evening's book on CS4 which suggests that CS4 camera Raw is the place to sharpen images.

    On close inspection I have identified the following:?

    1. The raw files when viewed in Bridge look soft even when I wait for a few seconds for the laptop to pick up (Vostro 1720 with truelife screen)
    2. When clicked onto 100% view they look sharp, this is the criteria I use to open them in camera raw but dont understand why the first view (hitting the space bar in bridge) isnt sharp.
    3. When opened in Camera Raw they look soft and that's when I have to try to fix
    4. Using the Clarity Contrast and Sharpening sliders I can never seem to regain the sharpness viewed in the Bridge view
    5. The Raw preferences are set to sharpen all images

    My issue seems to be with my workflow rather than the images shot.

    If someone could assist me with this I would be really grateful.?I have not included pictures as they are 5mb+ at jpeg.

    Sharpening Raw files: what am I doing... The raw files when viewed in Bridge look soft even when I wait for a few seconds for the laptop to pick up (Vostro 1720 with truelife screen)
    1. When clicked onto 100% view they look sharp, this is the criteria I use to open them in camera raw but dont understand why the first view (hitting the space bar in bridge) isnt sharp.
    Sharpening Raw files: what am I doing...

    gillimoore wrote:

    Using the Clarity Contrast and Sharpening sliders I can never seem to regain the sharpness viewed in the Bridge view

    Bill, many thanks for the comments, help and suggestions, I will post one of my files and see what comments come from this.

    Should the image in camera raw at 100% be identical to the image in Bridge at 100%?

    Thanks for this Jeff.?One of the things that Alamy wants is an interpolated image which translates into a tiff of 48mb min.?I know that increasing the size of the file (interpolating) will soften the image.?I guess sharpening is done after the increasing in size?

    One of the things that Alamy wants is an interpolated image which translates into a tiff of 48mb min.?I know that increasing the size of the file (interpolating) will soften the image.?I guess sharpening is done after the increasing in size?

    gillimoore wrote:

    Bill, many thanks for the comments, help and suggestions, I will post one of my files and see what comments come from this.

    Should the image in camera raw at 100% be identical to the image in Bridge at 100%?

    www.usendit.com?comes up with the IBM USA website???Should I be looking somplace else?

    http://www.yousendit.com/

    As I remember correctly, Alamy doesn't want output sharpening, or very minor sharpening. That should be left up to the end user who purchases/licenses the image. The output sharpening would depend on how the image is to be used. A bit of input sharpening may be OK.

    What resample method are you using when upsizing the images? I've used bicubic with no sharpening and have not had any rejections from Alamy.

    John ...I open the raw image from the Nikon D80 into ACR with Adobe 1998 8 bits per channel and an initial size of 5120x 3427 %26amp; sharpen for none.

    It gets adjusted and then opened in photoshop where its upsized to about 5500 x 3600.?I have tried both bicubic and bicubic smoother.?I have looked on the Alamy forums and it gives the impression that some of the selection process is a tad hit and miss.?I'm going to send another submission in this weekend and see what comes up.?Many thanks for the help.

    gillimoore wrote:

    ...an initial size of 5120x 3427 %26amp; sharpen for none.

    In the ACR workflow options I pick the following:

    • Adobe RGB1998
    • 8 bits/channel
    • 5120x3427
    • 300 Pixels/inch
    • Sharpen for none which gives the other options of sharpen for screen, glossy or matte

    in the camera raw preferences I have Apply sharpening for?all images chosen.

    THe kind of images I shoot are mainly landscapes %26amp; macro flowers.?I have not changed settings for various types as I'm just trying to get the workflow working before making alterations.

    thanks Gill

  • facebook.com
  • my anchor points and controle points in...

    I'm using illustrator CS 3 and soon as i draw any thing my anchor points and controle points are missing. So i can't edit or see were the anchor points are. Can some one tell me what i should do to fix this.

    my anchor points and controle points in...

    Reckon you must have hit Cmd-H 閳?Hide Edges. Hit it again

    my anchor points and controle points in...

    Thanks man

    Max/Min x/y

    How do we know a MC's Max and Min _x/_y?

    Max/Min x/y

    What do you mean?

    Max/Min x/y

    trace(myClip.getBounds(this));

    Can you give an example? Which is for what? I don't understand.

    Here maybe this will help better:

    var obj:Object=myClip.getBounds(this);

    for(var a in obj){

    trace(a+'': ''+obj[a]);

    }

    InDesign CS4 don't run after...

    Before installation of InDesign CS4, InDesign CS, InCopy CS3 and Bridge CS3 runs normally.

    After installed, InDesign CS4 don't run, and crashes (during 'Initialising application'') with this log:

    AppName: indesign.exe
    AppVer: 6.0.3.557
    ModName: gdiplus.dll
    ModVer: 5.1.3102.5581
    Offset: 0002c72d

    InCopy CS3 no more run and report log:

    AppName: incopy.exe
    AppVer: 5.0.0.458
    ModName: gdiplus.dll
    ModVer: 5.1.3102.5581
    Offset: 0002c72d

    Bridge CS4 and ExtendScript Tookit CS4 don't run too. Here the logs:

    AppName: bridge.exe
    AppVer: 3.0.0.464
    ModName: gdiplus.dll
    ModVer: 5.1.3102.5581
    Offset: 0002c72d

    AppName: extendscript toolkit.exe
    AppVer: 3.0.0.41
    ModName: gdiplus.dll
    ModVer: 5.1.3102.5581
    Offset: 0002c72d

    Adobe support says this is a problem on the OS; Microsoft says the problem is on the application. I paid for Adobe product and cannot use it.

    I tried to update InDesign CS4, but this don't solved the problem.

    Acrobat 9 Pro and Photoshop CS runs normally.

    And I'm desperate. Please help.

    Thanks,

    coelho9

    Need help fine tuning my gallery

    Hello everybody... first let me post the code and then I'll post the errors and what needs to be done...

    XML Code:

    %26lt;images%26gt;
    %26lt;image src=''images/image1.jpg'' title=''Jelly 4'' url=''images/image1.jpg'' /%26gt;
    %26lt;image src=''images/image2.jpg'' title=''Cat'' url=''images/image2.jpg'' /%26gt;
    %26lt;image src=''images/image3.jpg'' title=''Statue'' url=''images/image3.jpg'' /%26gt;
    %26lt;image src=''images/image4.jpg'' title=''Arch 3'' url=''images/image4.jpg'' /%26gt;
    %26lt;image src=''images/image5.jpg'' title=''Penguin'' url=''images/image5.jpg'' /%26gt;
    %26lt;image src=''images/image6.jpg'' title=''Jelly'' url=''images/image6.jpg'' /%26gt;
    %26lt;image src=''images/image7.jpg'' title=''Statue 2'' url=''images/image7.jpg'' /%26gt;
    %26lt;image src=''images/image8.jpg'' title=''Arch 1'' url=''images/image8.jpg'' /%26gt;
    %26lt;image src=''images/image9.jpg'' title=''Arch 2'' url=''images/image9.jpg'' /%26gt;
    %26lt;/images%26gt;


    Need help fine tuning my gallery

    The compiler is telling you exactly what your problem is:

    function removeImg(e:MouseEvent):void
    {
    TweenMax.to(mcFullImage, 0.2, {alpha: 0, onComplete: unloadImg});
    }

    function unloadImg(e:Event):void
    {

    You are calling unloadImg from TweenMax - and no event is passed when you do that - but you have an event parameter in unloadImg. So, argument count mismatch - 1 is expected, but none were passed.

    The easy fix:

    function unloadImg(e:Event = null):void
    {
    Need help fine tuning my gallery

    actually I tried that before posting the whole thread cuz I, too, thought this was the problem, but it didn't work. I also tried: function unloadImg():void { } and it didn't work. it gave me this error:

    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.

    at flash.display::DisplayObjectContainer/removeChild()

    at XMLScroller_fla::MainTimeline/unloadImg()

    at Function/http://adobe.com/AS3/2006/builtin::apply()

    at gs::TweenLite/complete()

    at gs::TweenMax/complete()

    at gs::TweenMax/render()

    at gs::TweenLite$/updateAll()

    oh ok now I got this one fixed, the problem is that I was removing fullLdr from the stage while it's actually a child of mcFullImage, so the following fixed it:

    function unloadImg():void

    {

    mcFullImage.removeChild(fullLdr);

    fullLdr.unload();

    removeChild(mcFullImage);

    mcFullImage = null;

    }

    Now I tried adding a boolean to check whether there's an image that is already loaded to the stage or not and still no luck I really need to fix this, so please someone tell me where did I go wrong...!! here's the code:

    import gs.*;

    import gs.easing.*;

    //load xml

    var xmlLoader:URLLoader = new URLLoader();

    var xmlData:XML = new XML();

    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);

    var xmlPath:String = ''image-scroller.xml'';

    xmlLoader.load(new URLRequest(xmlPath));

    function LoadXML(e:Event):void {

    xmlData = new XML(e.target.data);

    buildScroller(xmlData.image);

    }

    //declaring variables

    var scroller:MovieClip = new MovieClip();

    var speed:Number;

    var padding:Number = 5;

    var thumbFadeOut:Number = .2;

    var thumbFadeIn:Number = 1;

    var thumbSmall:Number = 1;

    var thumbLarge:Number = 1.1;

    this.addChild(scroller);

    scroller.y = scroller.x = padding;

    var thisOne:MovieClip

    var loaded:Boolean = false;

    //build scroller from xml

    function buildScroller(imageList:XMLList):void{

    for (var item:uint = 0; item %26lt; imageList.length(); item++ )?{

    thisOne = new MovieClip();

    //outline

    var blackBox:Sprite = new Sprite();

    blackBox.graphics.beginFill(0xFFFFFF);

    blackBox.graphics.drawRect( -1, -1, 82, 82);

    blackBox.alpha = thumbFadeOut;

    thisOne.addChild(blackBox);

    thisOne.blackBox = blackBox;

    thisOne.x = thisOne.myx = (80 + padding) * item;

    thisOne.itemNum = item;

    thisOne.title = imageList[item].attribute(''title'');

    thisOne.link = imageList[item].attribute(''url'');

    thisOne.src = imageList[item].attribute(''src'');

    //image container

    var thisThumb:Sprite = new Sprite();

    //add image

    var ldr:Loader = new Loader();

    var urlReq:URLRequest = new URLRequest(thisOne.src);

    ldr.load(urlReq);

    //assign event listeners for Loader

    ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);

    ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);

    thisThumb.addChild(ldr);

    thisOne.addChild(thisThumb);

    //create listeners for this thumb

    thisOne.buttonMode = true;

    thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem);

    thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem);

    if(loaded == false) {

    thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem);

    }

    //add item to the scroller mc

    scroller.addChild(thisOne);

    }

    scroller.addEventListener(Event.ENTER_FRAME, moveScrollerThumbs);

    }

    function overScrollerItem(e:MouseEvent):void {

    //trace(''over'' + e.currentTarget.name);

    TweenMax.to(e.currentTarget, 0.5, { scaleX:thumbLarge, scaleY:thumbLarge, x:e.currentTarget.myx - e.currentTarget.width * Math.abs(thumbSmall - thumbLarge)/2, y: -e.currentTarget.width * Math.abs(thumbSmall - thumbLarge)/2} );

    TweenMax.to(e.currentTarget.blackBox, 1, { alpha:thumbFadeIn} );

    }

    function outScrollerItem(e:MouseEvent):void {

    //trace(''out'' + e.currentTarget.name);

    TweenMax.to(e.currentTarget, 0.5, { scaleX:thumbSmall, scaleY:thumbSmall, x:e.currentTarget.myx, y:0} );

    TweenMax.to(e.currentTarget.blackBox, 0.5, { alpha:thumbFadeOut} );

    }

    var mcFullImage:MovieClip;

    var fullLdr:Loader

    function clickScrollerItem(e:MouseEvent):void {

    mcFullImage = new MovieClip();

    fullLdr = new Loader()

    var urlReq:URLRequest = new URLRequest(e.currentTarget.link);

    fullLdr.load(urlReq);

    fullLdr.contentLoaderInfo.addEventListener(Event.INIT, initHandler)

    addChild(mcFullImage);

    mcFullImage.x = 100;

    mcFullImage.y = 90;

    mcFullImage.addChild(fullLdr);

    var image:Bitmap = Bitmap(e.target.content);

    image.smoothing = true;

    loaded = true;

    }

    function initHandler(e:Event):void

    {

    TweenMax.from(fullLdr, 1, {alpha: 0});

    mcFullImage.addEventListener(MouseEvent.CLICK, removeImg);

    }

    function removeImg(e:MouseEvent):void

    {

    TweenMax.to(mcFullImage, 0.2, {alpha: 0, onComplete: unloadImg});

    }

    function unloadImg():void

    {

    mcFullImage.removeChild(fullLdr);

    fullLdr.unload();

    removeChild(mcFullImage);

    mcFullImage = null;

    loaded = false;

    }

    function completeHandler(e:Event):void {

    //size image into scroller

    resizeMe(e.target.loader.parent, 80, 80, true, true, false);

    var image:Bitmap = Bitmap(e.target.content);

    image.smoothing = true;

    TweenMax.to(e.target.loader.parent.parent, 0.5, { alpha:1} );

    }

    function errorHandler(e:IOErrorEvent):void {

    trace(''thumbnail error=''+e);

    }

    //The resizing function

    // parameters

    // required: mc = the movieClip to resize

    // required: maxW = either the size of the box to resize to, or just the maximum desired width

    // optional: maxH = if desired resize area is not a square, the maximum desired height. default is to match to maxW (so if you want to resize to 200x200, just send 200 once)

    // optional: constrainProportions = boolean to determine if you want to constrain proportions or skew image. default true.

    function resizeMe(mc:DisplayObject, maxW:Number, maxH:Number=0, constrainProportions:Boolean=true, centerHor:Boolean=true, centerVert:Boolean=true):void{

    ?maxH = maxH == 0 ? maxW : maxH;

    ?mc.width = maxW;

    ?mc.height = maxH;

    ?if (constrainProportions) {

    ?mc.scaleX %26lt; mc.scaleY ? mc.scaleY = mc.scaleX : mc.scaleX = mc.scaleY;

    ?}

    if (centerHor) {

    mc.x = (maxW - mc.width) / 2;

    }

    if (centerVert){

    mc.y = (maxH - mc.height) / 2;

    }

    }

    function moveScrollerThumbs(e:Event):void {

    if ( mouseY %26gt; scroller.y %26amp;%26amp; mouseY %26lt; scroller.y + scroller.height) {//vertically over scroller

    if (mouseX %26lt; stage.stageWidth/2 - padding*2 %26amp;%26amp; mouseX %26gt; 0) {//left of stage explicitly

    %26amp;n bsp; speed = -(mouseX - (stage.stageWidth/2 - padding*2)) / 8;

    }

    else if (mouseX %26gt; stage.stageWidth/2 + padding*2 %26amp;%26amp; mouseX %26lt; stage.stageWidth) {//right of stage explicitly

    %26amp;n bsp; speed = -(mouseX - (stage.stageWidth/2 + padding*2)) / 8;

    }

    else {

    %26amp;n bsp; speed = 0;

    }

    scroller.x += speed;

    //scroller limits

    if (scroller.x %26lt; -scroller.width + stage.stageWidth - padding) { //if scrolled too far left

    %26amp;n bsp; scroller.x = -scroller.width + stage.stageWidth - padding;

    }

    else if (scroller.x %26gt; padding) { //if scrolled to far right

    %26amp;n bsp; scroller.x = padding;

    }

    }

    }

    First, one of the suggestions given is correct - you must default the parameters to null.

    Second, try to change the order of unloading and removing the children.

    But the main problem I guess is that fullLdr is a child of mcFullImage but you attempt to remove it from the scope of [this] - hence the error:

    function unloadImg(e:Event = null):void
    {

    removeChild(mcFullImage);

    mcFullImage.removeChild(fullLdr);
    ?fullLdr.unload();
    mcFullImage = null;
    }

    Also, remove event listener:

    function initHandler(e:Event):void
    {
    ?fullLdr.contentLoaderInfo.removeEventListener(Event. INIT, initHandler)
    ?TweenMax.from(fullLdr, 1, { alpha: 0 } );
    ?mcFullImage.addEventListener(MouseEvent.CLICK, removeImg);
    }

    Also, remove event listener:

    function initHandler(e:Event):void
    {
    ?fullLdr.contentLoaderInfo.removeEventListener(Event. INIT, initHandler)
    ?TweenMax.from(fullLdr, 1, { alpha: 0 } );
    ?mcFullImage.addEventListener(MouseEvent.CLICK, removeImg);
    }

    thisOne will always return the last element of the array because in the loop in buildScroller function the latest assignment was from the last loop iterations.

    If you need to referenc eht item clicked you need to do the following:

    function clickScrollerItem(e:MouseEvent):void {
    ?mcFullImage = new MovieClip();
    ?fullLdr = new Loader()
    ?var urlReq:URLRequest = new URLRequest(e.currentTarget.link);
    ?fullLdr.load(urlReq);
    ?fullLdr.contentLoaderInfo.addEventListener(Event.INIT, initHandler)
    ?addChild(mcFullImage);
    ?mcFullImage.x = 100;
    ?mcFullImage.y = 90;
    ?mcFullImage.addChild(fullLdr);
    ?var image:Bitmap = Bitmap(e.target.content);
    ?image.smoothing = true;
    ?e.currentTarget.removeEventListener(MouseEvent.CLICK, clickScrollerItem);
    ?trace(Object(e.currentTarget.itemNum) + '' can't be clicked anymore'');
    }

    Ok what you said actually worked, and now it returns the item that was clicked. But what if I want to remove the mouse click listener from ALL of the thumbs so that I couldn't load another image when there's already an image that is loaded to stage... I tried assigning the ''clickScrollerItem'' function to scroller and then removing it inside the ''clickScrollerItem'' function, but I got this error:

    ypeError: Error #2007: Parameter url must be non-null.

    at flash.display::Loader/_load()

    at flash.display::Loader/load()

    at XMLScroller_fla::MainTimeline/clickScrollerItem()

    Frankly, I am not sure what you want to accomplish and I am not sure I agree with your approach.

    I think you need to take a step back and describe the use cases as clearly as possible so everyone can be on the same page. Code, unfortunately, doesn't demonstrate your intentions.

    In my mind what you are trying to do is to build a thumbnail menu. If this is it - why bother with creating dependencies of thumbnail loading on mouse event? Why not just load all the thumbnails and be done with it?

    Ok here's what this application actually is...

    1. This is based on a horizontal scroll image menu. It was a tutorial that creates an XML based horizontal scroll which loads the thumbs and then when you click on a thumb it triggers a navigateToURL function which opens a URL in a new window. That wasn't what I wanted, I wanted to transform this into an image gallery, therefore I changed this navigateToURL thing to an internal loading of images to the stage using the Loader() class.

    2. Now everything is working fine except that bug I'm trying to fix. What I want to achieve is simply stop images from loading when I click on a thumb once there is an image that is already loaded to stage. So when there is an image on stage, I want to remove the mouse click event listener from ALL of the thumbs. Or, if possible, add a boolean that checks whether an image is already loaded to the stage and accordingly decide whether to load another image or not. It doesn't matter what approach is followed as long as images stop loading on top of eachother.

    I hope everything is clear now...

    So, is it a slide show from your previous posts in which you want to load main images when corresponding thumbs are clicked?

    If so, this tutorial is useless (to my point of blindly accommodating someone else's code). There is a better way to do that.

    ''So, is it a slide show from your previous posts in which you want to load main images when corresponding thumbs are clicked?'' %26lt;%26lt; That is EXACTLY what I want to do!

    Now I'm thinking if I cannot remove the mouse click event listener maybe I can do something else, like for example when I click another thumb, it unloads the current image and loads the corresponding new image...

    If that's not possible, do you think I should start from scratch again? :S

    Look, it is not ''I told you so'' but rather friendly advice. In one of the earliest post I asked wether you saw your application to scale up. I guess I was not assertive enough regarding the importance of this.

    Question of scalability must be always on developer's mind when code is written. The answer is yes in 75% of the cases (where I got this number I am not going to tell you).

    As for your particular task if you insist on using mouse events from the tutorial - I am afraid no one will help you for this is a very cumbersome way to do that. Tutorial is a reflection of totally different goals and its architecture is not suitable for your tasks IMHO.

    If you want to do everything on timeline - you will need, perhaps, create a slide symbol in the library and instantiate it as needed. This slide object may accomplish loading of images and all this jazz so you don't have to worry what is loaded and what is not. This is not the only way but one of the ways.

    ok I finally decided to give up on this gallery... I'll start off with loading and using the xml data to link between the thumbs and the full size images, and then when I'm done with that I'll worry about scrolling this thing in a way or another... Thanks for the help Andrei1, much appreciated

    I totally support your decision and am willing to contribute to your explorations.

    I would like to point out that often third party solutions cloud the road to success and move the real task out of the focus. In your case it shows that clarity is regained and you will be where you are going soon.

    Thanks for the support, if making mistakes and learning from them is what it takes to become really good at actionscript 3.0 and programming in general, then so be it. I'm actually glad to have professionals like you guiding my way.

    Right now I'm starting right from the beginning, I'm re-writing my XML file and will get to the actionscript code as well. I'll keep it simple for learning purposes and then I'll expand on it for my project once I'm confident about it.

    Mouse click not working in spry auto...

    Hi,

    ?I had been using spry framework in two different pages in my web application. I have incoporated spry auto suggest in both the pages. I am facing the weird issue of mouse click not workin in one of the pages, where as choosing the suggested value using down arrow and hitting enter works perfectly fine. Only in one of the pages if i use mouse to select the value, it is not working. As far as i researched, the creation of auto suggest data widget, rendering auto suggest region everything is the same in both the pages. But i am not able to figure out why this issue is happening in one page alone. I have posted the code snippet here.

    Javascript:

    var agencyGroupsSuggest =

    new Spry.Data.XMLDataSet(null,''list/groupDesc'');

    var sprySearchSuggest =

    new Spry.Widget.AutoSuggest(''groupSearchDiv'', ''groupSearchSuggestDiv'', ''agencyGroupsSuggest'', ''groupDesc'');

    JSP:

    %26lt;div id=''groupSearchDiv''%26gt;

    ?%26lt;input type='text' id=''groupLike'' onblur=''callSearch();'' name='groupLike' value=''%26lt;%=su.ifNull(groupLike, '''') %%26gt;'' size =''25''/%26gt;

    ?%26lt;div id=''groupSearchSuggestDiv'' spry:region=''agencyGroupsSuggest'' style=''width:175px''%26gt;

    ?%26lt;div spry:repeat=''agencyGroupsSuggestTemp'' spry:suggest=''{groupDesc}''%26gt;

    ?%26lt;div%26gt;{groupDesc}%26lt;/div%26gt;

    ?%26lt;/div%26gt;

    ?%26lt;/div%26gt;

    %26lt;/div%26gt;

    Can someone help me figure out the problem?

    Mouse click not working in spry auto...

    Do you have a online url where we can see complete code?

    Mouse click not working in spry auto...

    It is actually a secured web aplication. Will a html file containing this functionality help you in any way?

    That could probably work, if you also supplied the code the make the page running. (scripts, css, data for autosuggest) Else it would hard for us to see your issue. If you don't feel happy with uploading it to the public, you can also email me: info@3rd-Eden.com

    I have actually found out what the issue is. I have called a javascript method onblur of the text element which is present in the suggest region. This onblur method is interfering with the mouse click event of the auto complete suggestions shown. If i remove the onblur method, everything is working fine. I have simulated the issue in the html file present in the compressed folder attached herwith. In that i am actually throwing an alert on blur where as in real scenario i have some other functionalities to be handled on blur.

    For clarity i will explain the real scenario as well. When the user selects a suggestion from the auto complete div, the value will be placed in the text box and on blur of the text box, the dataset will be filtered based on the value in the text box.?Few pointers on this issue:

    1. The on blur functionality does not interfere when we select a suggestion using down arrow in key board.
    2. If i use mouse click to select then i have to wait for few milliseconds extra with the mouse clicked on the value before releasing it, so that the selected value is available in the textbox. Within this few milliseconds, the onblur function gets executed and then self.nodeClick is executed thus placing the value in the textbox. But forcing the user to keep the mouse clicked on the value for sometime will not sound good.

    Kindly advise as to how this issue could be handled.

    Any updates on this?

    The onblur is intervering because your are having it call a alert();, onblur comes before the onclick is called. And the alert is forcing you to click the alert...

    So as long your don't put alerts on onblur it works just fine here.

    [Locked] Coding Standards in CS4 vs 8...

    Does anyone know if the coding is any different for the PHP server behaviors in CS4 vs 8??Is it more standards compliant??I heard the code for using server behaviors was exactly the same but wanted to check before we upgrade with people that use it.

    [Locked] Coding Standards in CS4 vs 8...

    This is the third thread you have started on the same subject. I have deleted one, and am locking this one.

    In answer to your question, the code in the PHP server behaviors in Dreamweaver CS4 have been prepared for PHP 6. However, when PHP 6 will eventually see the light of day is anyone's guess. It isn't even in an alpha version, in spite of what the titles of a lot of PHP books would have you believe.

  • back blackheads
  • Error sending form using https and...