Best Method for Strechable .swf file in horizontal but not vertical?

What is the best method to create an easy to use flash file
that will allow horizontal scaling with a fixed vertical size?
This will be for a blog header in a variable width design at
Make Light Real.com
I have tried the basic stage properties and found
StageScaleMode.NO_BORDER to be an ok solution, but I'm not
sure what will happen when I begin to drop active clips in on the
stage. Will the stage operate from a fixed point or how will the
clips orient to the stage as it expands?
My understanding of actionscript is just enough to hack
pieces of what I need together: but if you could enlighten me with
the most basic understanding of which method would work best for me
I'd apprecate it. I also have this method to alter the background
(as a clip):
quote:
Stage.addListener(ecout);
// function which replaces all the elements with the new
values
slide = function () {
photo_mc._x = 0;
photo_mc._y = 0;
photo_mc._width = Stage.width;
photo_mc._height = Stage.width/rapp;
if (photo_mc._height<Stage.height) {
photo_mc._height = Stage.height;
photo_mc._width = Stage.height*rapp;
slide()
Should I just alter the variables there to lock the stage
height?
Thanks for your time in answering.

When you export your movie you can select the scaling options
for width and height.
Try selecting one but not the other.
Cheers,
Gorka
http://www.AquiGorka.com/blog

Similar Messages

  • What's the best method for securely erasing files on OS X?

    Hello,
    I'm looking for a method for securely erasing files on OS X.
    I know OS X has the srm command doable in the Terminal, but this command uses the 35-pass Gutmann algorithm which is, to me, obsolete as of now.
    Do you know modern methods for securely erasing files?

    baltwo wrote:
    Thanks. It didn't show up with a [redacted] search.
    There, fixed it for you.

  • Best method for archiving .mpp files on a separate server or location?

    We want to be able to run a program or job on Project Server 2013 that will export all current published project .mpp files to a separate server or location on our network. What is the best, or suggested, method for something like this? Our managers want
    to have this job run on a weekly or bi-monthly basis in order to have backup files of each active project schedule. This would be beyond the Project Server archive database. This would be for Business Continuity purposes of having those schedules available
    should our servers ever crash. 
    Any help would be much appreciated. I am not a developer, but if there is code available for something like this we have developers in-house that can perform the work. 
    Thank you,
    Travis
    Travis Long IT Project Manager Entry Idaho Power Co. Project Server Admin

    Project server already has an archiving mechanism which backs up project plans based on schedule and maitains versions of it which can be restored at any point ? check administrative backup in central Admin under PWA settings
    However I wouldn't say this is the best method, but you can run a macro which would export all projects and save it at a location(could be network file share), Something like this (havent tested it recently with 2013 but i believe should work
    Sub Archiving()
    Dim Conn As New ADODB.Connection
    Dim Cmd As New ADODB.Command
    Dim Recs As New ADODB.Recordset
    'Connect to Project Server Reporting DB, Get Project Names
    Conn.ConnectionString = "Provider=SQLOLEDB;Data Source=servername;Initial Catalog=ProjectServer_Reporting;User ID=; Password=; Trusted_Connection=yes"
    Conn.Open
    With Cmd
        .ActiveConnection = Conn
        .CommandText = "Select ProjectName From MSP_EpmProject_UserView"
        .CommandType = adCmdText
    End With
     With Recs
        .CursorType = adOpenStatic
        .CursorLocation = adUseClient
        .LockType = adLockOptimistic
        .Open Cmd
      End With
    Dim prjName As String
    Dim ArchivePrjName As String
    Application.Alerts (False)
    If Recs.EOF = False Then
       Recs.MoveFirst
       For x = 1 To CInt(Recs.RecordCount)
        prjName = "<>\" + Recs.Fields(0)
        FileOpenEx Name:=prjName, ReadOnly:=True
        ArchivePrjName = "C:\Temp\" & prjName & "4Sep2014_9PM"
        FileSaveAs Name:=ArchivePrjName, FormatID:="MSProject.MPP"
        FileCloseEx
        prjName = ""
        Recs.MoveNext
       Next x
    End If
       Recs.Close
       Conn.Close
    End Sub
     Let us know if this helps
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • SWF file in code, but not on page

    Hi. New guy here.
    Using DW CS3, I've inserted a .swf file into a page, but it
    doesn't appear on the website. The .swf is in the code, and it
    loads if I click on it within the code. I'm sure its something
    minor, but I can't figure out what I've done wrong.
    Here's the page in question:
    http://www.journeytoadream.org/story.html
    Any help would be appreciated. Thank you.
    Charlie

    Did you upload the Scripts folder as David said?
    Jo
    "CharlieKo" <[email protected]> wrote in
    message
    news:ge2ei4$jbc$[email protected]..
    > Thanks for the reply, David.
    >
    > I now have the .js file in the head, but still no luck.
    >
    > I validated the markup in DW, and got this back:
    > 101 - The tag name: "embed" Not found in currently
    active versions.[XHTML
    > 1.0
    > transitional]
    >
    > referring to this:
    > <embed src="/journey_slideshow.swf" width="400"
    height="507" hspace="190"
    > quality="high"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash"
    type="application/x-shockwave-flash"></embed>
    >
    > The Flash file still works when I preview it in the
    browser, and I've
    > uploaded
    > everything in the folder. I'm at a loss and my brain is
    a little fried.
    >

  • Wierd dotted line only caused by insertion of .swf file in FF, but not in IE

    Hi there,
    Can anyone explain why this only happens in FF and not in IE? I have been trying to see why it occurs under the .swf file and only in FF.
    The website does not show the dotted line in IE.
    Its as if the .swf file is 1 pixel to deep for the website in FF, and causes the line to appear.
    Doing this for a friend and any help would be appreciated.
    example: www.reapergym.com/index3.html
    Many thanks,

    Hi there,
    It must have been an issue directly associated with the SWF object.
    As the background was mostly grey, it did not present itself as the main issue other forums have discussed as being the "dreaded grey line around swf file".
    Upon closer inspection, it was there - a 1 pixel border only showing in FF.
    I followed the SWFobject solution by adding a small bit of Javascript and it vanished and looks fine.
    http://blog.deconcept.com/swfobject/
    Thats probably why it looks OK now!
    Thank you for your response, as it could have been something that I could have searched forever to solve.
    Another case of the infamous grey border solved.....

  • Swf file playback problems but not in IE, Chrome or Opera

    Anybody have any ideas on FF not playing the swf file uploaded when it works fine in the other browsers? It sits spinning as if uploading forever. This was the case with version 3.6 then I upgraded to 4.0 and the same. I have updated the flash player to the latest also and still the same.

    There's a video on the ATI/AMD site on how to uninstall old drivers in case you get stuck: http://support.amd.com/us/Pages/AMDSupportHub.aspx

  • HT2476 Need the best method for transferring MS files to OS environment.  MS office is installed but receiving msgs that the file extension is faulty.

    I have a Mac Book Pro w/ Retina.  What kind of connection do I need to attach to my TV which has HDMI?

    .xlsx files require Excel 2008 or 2011 (last two Mac versions of Office). Since you're in Lion, you must have one or the other, so they should work. Can you drag and drop onto Excel, or choose to open them from within the app?

  • In Pivot view i need to arrange graphs horizontally but not vertically

    Hi Experts,
    I have a serious problem of placing graphs horizontal when i place 1 of the colums in section. graphs have been made vertically rahter than horizontally..
    does any 1 have a solution regarding this please share..
    thanks a lot
    regards
    Pranay Jain

    hi saichand,
    See the issue is very simple..
    Solution is what I'm not able to get
    when you put any column in section in pivot view its gives different views based on the column in pivot..
    but unfortunately these views are placed vertically 1 below each other rather than placing them horizontally
    If you can try by yourself in pivots the same thing you will get a better idea on what I'm talking about..
    Drag a column into sections in pivot.. when i say sections it is something like row,measures,columns,sections,page in pivot tables..
    Please check for solution and get back..
    Regards
    Pranay Jain

  • When bouncing- what's best method for smallest file size/highest quality?

    I am in the process of embedding 3 mp3's into a PDF to submit as a portfolio. The PDF also has text, and two scores included, and with the 3 embedded mp3's it can't be more than 10mb.
    So my question is: When bouncing a project out of Logic, what is the best method for getting the smallest file size, but retaining the best audio quality? And once it's out of Logic and it is an mp3 or other type of audio file, is there a best format for compressing it further, and still maintaining the relative quality?
    I bounced out the three projects into wav's. Now I am using Switch for Mac to compress them down to smaller Mp3's. I basically need them to be about 3 mb each. Two of the recordings sound OK at that size, but they are just MIDI(one project is piano and string quartet, the other is just piano- all software instruments. The recording that combines MIDI and Audio and has more tracks (three audio tracks and 10 Midi/software instrument tracks)and sounds completely horrible if I get it under 5 mb as an mp3. The problem is that I need all three to equal around 9mb, but still sound good enough to submit as a portfolio for consideration into a Master's program.
    If anyone can help I would really appreciate it. Please be detailed in your response, because I am new to logic and I really need the step by step.
    Thank you...

    MUYconfundido wrote:
    I am in the process of embedding 3 mp3's into a PDF to submit as a portfolio. The PDF also has text, and two scores included, and with the 3 embedded mp3's it can't be more than 10mb.
    So my question is: When bouncing a project out of Logic, what is the best method for getting the smallest file size, but retaining the best audio quality?
    The highest bitrate that falls within your limits. You'll have to calculate how big your MP3's can be, then choose the bitrate that keeps the size within your limit. The formula is simple: bitrate is the number of kilobits per second, so a 46 second stereo file at 96 kbps would be 96 x 46 = 4416 kbits / 8* = 552 kBytes or 0.552 MB. (*8 bits = 1 Byte)
    So if you know the length of your tracks you can calculate what bitrate you need to keep it within 10 MB total.
    I consider 128 kbps the lowest bearable bitrate for popsongs and other modern drumkit based music. Deterioration of sound quality is often directly related to the quality of the initial mix and the type of instruments used in it. Piano(-like) tones tend to sound watery pretty quickly at lower bitrates, as do crash and ride cymbals. But don't take my word for it, try it out.
    And once it's out of Logic and it is an mp3 or other type of audio file, is there a best format for compressing it further, and still maintaining the relative quality?
    You can only ZIP the whole thing after that, but that is just for transport. You'll have to unzip it again to use it. And no, you cannot compress an MP3 any further and still play it.
    I bounced out the three projects into wav's. Now I am using Switch for Mac to compress them down to smaller Mp3's.
    That is silly, you could have done that in Logic, which has one of the best MP3 encoders built in. And how good encoders are will especially come out at bitrates around or below 128, which you might be looking at.
    I basically need them to be about 3 mb each.
    So, one more scrap of info we need here: how long are those three pieces, exactly? I'll calculate the bitrate for you - but please bounce 'm directly out of Logic as MP3's. They will very probably sound better than your WAV-conversions made with Switch.
    !http://farm5.static.flickr.com/4084/4996323899_071398b89a.jpg!
    Two of the recordings sound OK at that size, but they are just MIDI(one project is piano and string quartet, the other is just piano- all software instruments. The recording that combines MIDI and Audio and has more tracks (three audio tracks and 10 Midi/software instrument tracks)and sounds completely horrible if I get it under 5 mb as an mp3. The problem is that I need all three to equal around 9mb, but still sound good enough to submit as a portfolio for consideration into a Master's program.
    Length of the piece? And does the .Wav bounce you have sound OK?

  • What is the best method for writing Multicolum​n List data to a text file?

    I am trying to find the best method for writing the data from a multicolumn list to a text file. Say the list has 7 rows and 6 columns of data. I would like the final file to have the data resemble the Multicolumn List as closely as possible with or without column headers. A sample VI showing how to accomplish this would be greatly appreciated. I realize this is pretty basic stuff, but I can get the output to the file, but it comes out with duplicate data and I am on a time crunch hense my request for help.
    Thank You,
    Charlie
    Everything is Free! Until you have to pay for it.

    Hello,
    I think that the answer to your question it's on the example that I've made right now.
    See the attached files....
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    Multi.vi ‏12 KB
    Multi.PNG ‏6 KB

  • What is the best method for saving files off of the hard drive?

    I would like to save music files and photos somewhere other than my hard drive (eg. CDs, DVDs, zip disks). What is the best method for doing this?

    It rather depends on how paranoid you are
    External hard drives protect you from hard disk trouble on your machine.
    Optical media (CD's, DVD's) protect you from trouble with magnetic disks - such as external hard drives and the HD in your machine. Optical disks are thought to be more reliable that magnetic disks for long term storage.
    Off site back-ups will protect you from fire or theft at your home or office.
    How paranoid are you? Personally everything is backed up across three diferent external HD's. And maybe twice a year I burn a copy of my photos onto DVDs and they go to a relative's house across town.
    Regards
    TD

  • Best method of wma audio file conversion for iTunes/iphones

    best method of wma audio file conversion for iTunes/iphones

    Fazel,
    As you know, iTunes for Mac is not capable of processing WMA files.  The two best choices are:
    Get access (even temporarily) to iTunes for Windows.  It can convert your WMA files to the format indicated in import preferences.  Use a USB flash drive to copy the files back to your Mac.
    Use a 3rd party conversion program.  The one most preferred by Mac users is EasyWMA.
    In either case, once you have the converted files, add them to your iTunes library.  Then delete the WMA originals.

  • Best method for flv playback in flash 8

    group,
    i am currently trying to get to grips with flv playback with
    flash 8. i have come across a number of methods for flv playback
    within flash 8 and am curious to know the difference between
    methods and ultimately if there is such a difference discover which
    is best. I have had a few issues with some methods and was
    wondering if it was because that method sucks.
    In particular i am looking for the best method for allowing
    custom skinning of the player with the ability to have a player
    somewhere on stage without it being stapled to the darn flv file.
    METHOD1:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    theVideo.attachVideo(ns);
    ns.play("testmovie.flv");
    METHOD2:
    import mx.video.*;
    this.attachMovie("FLVPlayback", "my_FLVPlybk", 10,
    {_width:360,_height:240,x:0, y:0});
    my_FLVPlybk.skin = "SteelExternalAll.swf"
    my_FLVPlybk.contentPath = "testmovie.flv";
    my_FLVPlybk.autoSize=true;
    my_FLVPlybk.autoPlay=false;
    what are the differences??
    any help would be much appreciated. Thanks for your time and
    expertises,
    Flash fan.

    Adobe has announced that it has ceased development of Flash for mobile phones (in favour of HTML5, and due to the opposition of both Apple and Microsoft to allow support of Flash for their mobile operating systems), so from that direction neither Microsoft nor Nokia is going to get any help.
    If the Adobe Flash Video format specification is publicly available to use or to license (I don't know if it is), then at least Microsoft could implement support for it, if they wanted to (Nokia might not have sufficient rights from Microsoft to add new codecs to Windows Phone).
    So, you might direct your question primarily to Microsoft, rather than Nokia (of course, a Microsoft representative will probably read this, too, but whether they'll response or not is another matter).

  • What is the best method for backing up photos in IPhoto?

    I have over 10,000 photos in IPhoto and am looking for the best method for doing a backup (or an archive?).  I'm now using ICloud and it appears it's just photo streaming and does not have storage capability. External hard drive, copying to a DVD, other suggestions?

    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    My Routine
    My Library lives on my iMac. It’s Backed up to  two external hard disks every day. These disks are permanently attached to the iMac. These back ups run automatically. One is done by Time Machine, one is a bootable back up done by SuperDuper
    It’s also backed up to a portable hard disk when ever new photos are added. This hard disk lives in my car. For security, this disk is password protected.
    I have a second off-site back up at a relative’s house across town. That’s updated every 3 or 4 months.
    My Photos are backed up online. There are many options: Flickr, Picasa, SmugMug etc. However, check the terms of your account carefully. While most sites have free uploading, you will often find that these uploads are limited in terms of the file size or the bandwidth you can use per month. For access that allows you to upload full size pics with no restrictions you may need to pay.
    Every couple of months I test the back ups to make sure they are working correctly. It’s very easy to mis-configure a back up application, and the only way to protect against that is to do a trial restore.

  • How to call method in another swf file

    Hi. I am at the moment making a website in Flash 8. The
    website consists of a main file with the buttons and then
    additional files for each page. Each of the buttons uses code
    similar to this:
    content.loadMovie("home page.swf");
    where content is the movieclip I am using to load the swf
    file into. In the main file I have a search box where a user can
    type some search terms. I have written some code that will search
    through the text field(s) on the page and highlight any words that
    appear matching the search terms. The only problem is that I cannot
    get to the text fields on the other files. So what I want to be
    able to do is attach some code to the search button that will call
    a method in another swf file using the parameters that I the user
    has specified in the search box. How would I go about doing this?
    Any help is much appreciated
    JM Young

    Place functions in the external swf. Then you can call them
    through the container clip
    content.yourFunction(args);
    Realize however, you cannot call code in an external swf
    until the frames with the functions are loaded. Timing would be an
    issue if the user can beat the loading clock or if you have code
    that is executed automatically after you start the load.
    So if timing becomes an issue, use MovieClipLoader and the
    onLoadInit method.

Maybe you are looking for

  • An Incorrect Structure is Found in the pdf File

    After creating a form from a Word document, I am not able to use the extract feature.  When I try to extract pages, I get the error message "an incorrect structure is found in the pdf file".  Is there a way to fix this?  I have tried creating the for

  • Itunes ver8.0.1 disc burner not found?

    I downloaded the upgrade and tried to burn a cd from a play list. Message in the apple window above the play list said no disc burner foundno software found. Did not have a proble before. Any ideas??

  • Am I Able To Transfer Elements 13 To A New PC?

    Hi    looking a buying a new PC, can I remove Elements 13 from old PC and transfer to a new one? Thanx Kiwi68

  • Renew; installing OSX on a PRO running only on Windows XP

    Back to the drawing board with my older post (see title). I re-formatted the HDD on another PRO and installed a fresh version of OSX on the drive. It boots without issues on that PRO hence no HDD issues. After putting this HDD in my PRO same problem

  • Thunderbolt firmware update 1.1 wont intall on mountain lion on my macbool pro

    I downloaded the update for the Thunderbolt Firmware (1.1) but it will not install.  The AppStore updater just keeps "checking for updates" without performing the update.  If I try to close the AppStore to restart it a message appears that says it ca