HasOwnProperty only for public?

Trying to optionally call a method only if it exists:
private function _upload():void {
// first see if we have any custom handling that needs to be
done...
if(this.hasOwnProperty('upload') && this['upload']()
== false) {
// custom handling told us to stop processing!
return;
For some reason upload() only gets called if it is public. Is
this how it is supposed to work, or are the names mangled or
something? Is there some other way to test for a method that works
for protected/private methods/variables?
Thanks.

"slaingod" <[email protected]> wrote in
message
news:[email protected]...
> Thanks, ntsii,
> Yea I've just bit the bullet and made everything public.
Basically this is
> a
> poor man's subclassing using includes.
>
> Amy,
> Sorry if you somehow took offense at what I typed, but
my post count is
> over
> 300 and most of those are me answering questions on this
forum, so I'm
> pretty
> sure how it works.
Remember, everyone who posts here doesn't just automagically
know who you
are and what your level of expertise is, so it's completely
reasonable to
try to eliminate the possibility you're not trying to access
private methods
from outside the class and to ensure there actually _is_ an
upload property
to look at. Not everyone on here is at a level where it's
possible to
automatically assume that their assumptions about what they
are seeing are
right. In fact, 90+% of the time on here when posters think
they know why
something is happening, they are wrong.
> I thought my original question was pretty
straightforward to anyone who
> might
> know the answer.
>
> To explain my use case:
>
> I make a number of sites that have a large amount of
overlap in the 'user
> uploads' area, examples like:
>
>
http://www.pinktogether.com
>
http://www.klondikecontest.com/videos.aspx
>
http://www.benjerry.com/imagine/
>
http://posewood2.ugenmedia.com
>
> As such, a core piece of functionality stays (mostly)
the same for each
> site,
> so I have moved that core functionality into shared
include files. So if
> a
> component needs registration functionality, I just
include Register.as.
> If it
> also needs upload functionality, I also include
Upload.as.
>
> Internally in these shared includes, the code makes
calls like:
> //public function upload():Boolean
> public function _upload():void {
> // first see if we have any custom handling that needs
to be done...
> if(this.hasOwnProperty('upload') &&
this['upload']() == false) {
> // custom handling told us to stop processing!
> return;
> }
>
> ....(default code here)....
> }
>
> This cuts down on the cut and paste tremendously that
would be required by
> using subclasses, etc. There may be some esoteric way of
doing this
> 'right'
> using interfaces, classes, etc., but this is a very
cheap way of achieving
> 90%
> of the code reuse I want, at a very low technical
barrier for others who
> might
> need to use my code as well.
You may want to look at the decorator pattern.
HTH;
Amy

Similar Messages

  • Change public share access to read only for public and full access to selected users

    Hi, new to the community just purchased a recertified WDMyCloud 2TB after my 2 years old MyBookLive 2TB HD died due to accidental power cable unplugging. I've got everything setup including MiniDLNA by following instructions on this forum and everything is working  exactly as I want it to except public share. I want public share to be set to read only access for public and full access to certain users (just myself at the moment) and having a "upload" folder within this share with full public access to everything in this folder would be a bonus. I tried login in to ftp with root user and removing write permission for public but that blocks me out as well. I'm sure it's possible by doing some majic on SSH but I wouldn't have a clue so hoping someone here would be able to help me out.

    Mr_Khan wrote:
    What i want is public to have read only access to file server. Public as in users who do not have a user account on mycloud. E.g someone who connects to to my home network for the first time and is able to browse and download content from public share. I'm aware of being able to set indivual access to shares for users like full access, read only and no access but public users won't have a user account.Through the My Cloud UI interface what you seek to do is not possible. The public share like all other share folders are an all or nothing affair when using the adminstration UI. When using the administration UI you do not have granular control on shared folders to limit non users to read only access or set permission levels for subfolders. The workaround to do what you seek and have the public folder set for read only is to change the folder settings via SSH. It may take some work to set the folder security so that users can read/write to the public folder while the guests only have read access. However, if you reboot the WD My Cloud or update the WD My Cloud firmware those settings may be reset back to the default settings where the entire public folder is read/write for all. There are way to prevent this but again it will take a bit of coding to do so via SSH. See this link (even though its for the WD My Book Live) for a starting point on how to use SSH to change the permission levels on the public folder. Another option if one doesn't go the SSH route is to turn off public sharing for the public folder then create a "guest" user account and give that "guest" account read only access to the public folder while all other user accounts have full read/write access.

  • My iPhone 4s cannot join a public unsecured network but my iPad and macbook can.  I have reset the network settings twice.  Both times it worked, but only for a few minutes.  What can I do?

    My iphone 4s cannot join a public unsecured network, but my ipad and macbook can with no problems.  I have reset the network settings on the iphone twice.  Both times that fixed the problem but only for a few minutes, then I get the "cannot join network" message again.  Please help!  What can I do?

    Anyone have any ideas or information to help with this?  Any help and consideration is MUCH appreciated.

  • Flickr on apple tv only for my public photos ?

    With the end of MobileMe it seems that the only way to replace the MobileMe Gallery is flickr  (photostream is not really an alternative as long as it is not possible to create albums, assign user rights to them etc. as it was in MobileMe). Flickr shows on Apple TV only those photos which can be shared with EVERYBODY ! This is really a big leap backwards compared to MobileMe. Or did I get something wrong ?
    (What I want is to publish photos directly from iPhoto, assign user rights and watch them via apple TV)

    That is my biggest problem with Flickr intergration with AppleTV. I love Flickr and I love having my photos on there, but its for public photos only.
    They need to have it sign into your Flickr account, not just be a browser for public photos.
    At this point, you are doing everything correctly, just a limitation right now.

  • Maximum recommended file size for public distribution?

    I'm producing a project with multiple PDFs that will be circulated to a goup of seniors aged 70 and older. I anticipate that some may be using older computers.
    Most of my PDFs are small, but one at 7.4 MB is at the smallest size I can output the document as it stands. I'm wondering if that size may be too large. If necessary, I can break it into two documents, or maybe even three.
    Does anyone with experience producing PDFs for public distribution have a sense of a maximum recommended file size?
    I note that at http://www.irs.gov/pub/irs-pdf/ the Internal Revenue Service hosts 2,012 PDFs, of which only 50 are 4 MB or larger.
    Thanks!

    First Open the PDF  Use Optimizer to examine the PDF.
    a Lot of times when I create PDF's I end up with a half-dozen copies of the same font and fontfaces. If you remove all the duplicates that will reduce the file size tremendously.
    Another thing is to reduce the dpi of any Graphicseven for printing they don't need to be any larger than 200DPI.
    and if they are going to be viewed on acomputer screen only no more than 150 DPI tops and if you can get by with 75DPI that will be even better.
    Once you set up the optimized File save under a different name and see what size it turns out. Those to thing s can sometimes reduce file size by as much as 2/3's.

  • 9i only for X.2 Server ?

    The documentation says that Oracle is only for OSX Server ... but can I install it on MacOS X Client ?

    Okay I don't want to risk being sued by Oracle so I'll explain what to do rather than provide any downloads. Follow the Release notes as far as making drectories go etc. I'm sure there are much smarter ways of doing this but then I'm a Mac user and not a very bright one at that.
    sudo su -
    mkdir /Users/orcale
    mkdir /Users/oracle/9iR2Now move the orahome directory into /Users/oracle/9iR2
    I think that some of the binaries reference this path so i don't think there's a choice (Thanks!!).
    Now rather than messing up your login screen etc add the oracle user by copy and pasting the following into a file, save it myscript.sh and chmod a+x it. To see the results you can use netinfo manager.
    You'll be prompted for a password. Oracle recommend using 'oracle' as the password.
    #!/bin/bash
    mkdir /Users/oracle
    niutil -create . /users/oracle
    niutil -createprop . /users/oracle uid 20
    niutil -createprop . /users/oracle name oracle
    niutil -createprop . /users/oracle realname "Oracle Service"
    niutil -createprop . /users/oracle gid 20
    niutil -createprop . /users/oracle shell /bin/bash
    niutil -createprop . /users/oracle change 0
    niutil -createprop . /users/oracle home /Users/oracle
    echo "enter password for Oracle"
    passwd oracle
    The set_grp script provided by oracle works just fine so use that to make the dba group (Good work guys).
    cd /User/oracle/9iR2/orahome/DBCreate/
    chmod a+x set_grp
    ./set_grpAgain you can check the results in netinfo manager.
    Now.. (make sure you're still root)
    cd /User
    chown -R oracle oracle/
    chgrp -R dba oracle/Now we need a script to start and stop the oracle service.
    mkdir /Library/StartUpItems/Oracle
    touch /Library/StartUpItems/Oracle/Oracle
    touch /Library/StartUpItems/Oracle/StartupParameters.plistand lets make a visible log directory
    mkdir /Library/Logs/Oraclepaste the following into /Library/StartUpItems/Oracle/Oracle
    #!/bin/sh
    . /etc/rc.common
    export ORACLE_HOME=/Users/oracle/9iR2/orahome
    export SRCHOME=$ORACLE_HOME
    export PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_SID=ab
    #Stuff from set_ulimit script provided by Oracle
    oracle ulimit -a
    ulimit -a
    ulimit -c unlimited
    ulimit -d unlimited
    ulimit -s 65536
    ulimit -u 1000
    ulimit -Hv
    ulimit -a
    echo "Setting up Resource Limits complete."
    export DYLD_LIBRARY_PATH=$S/lib:$S/rdbms/lib
    StartService ()
    if [ "${ORACLESERVICE:=-NO-}" = "-YES-" ]; then
         ConsoleMessage "Starting Oracle 9i Database"
         echo "DATE: " `date` > /Library/Logs/Oracle/oracle.log
         echo "Starting Oracle DB" >> /Library/Logs/Oracle/oracle.log
         env >> /Library/Logs/Oracle/oracle.log
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/startdb.sql >> /Library/Logs/Oracle/oracle.log 2<&1
         sleep 10
         sudo -u oracle lsnrctl start >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/startdb.sql >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 30
         sudo -u oracle lsnrctl status >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         sudo -u oracle sqlplus system/manager @$S/DBCreate/checkdb.sql >> /Library/Logs/Oracle/oracle.log 2<&1
         sleep 10
         echo "ORACLE STARTED ON " `date` >> /Library/Logs/Oracle/oracle.log
         ConsoleMessage -S "OracleServer"
    fi
    StopService ()
         if [ "${ORACLESERVICE:=-NO-}" = "-YES-" ]; then
         ConsoleMessage "Stopping Oracle 9i Database"
         echo "Stopping Oracle DB" >> /Library/Logs/Oracle/oracle.log
         Stopping Oracle Listener
         sudo -u oracle lsnrctl stop >> /Library/Logs/Oracle/oracle.log 2>&1
         Stopping Oracle DB
         sudo -u oracle sqlplus "/ as sysdba" @$S/DBCreate/stopdb.sql >> /Library/Logs/Oracle/oracle.log 2>&1
         sleep 10
         echo "END DATE: " `date` >> /Library/Logs/Oracle/oracle.log
         ConsoleMessage -S "Oracle"
         fi
    RestartService ()
         StopService
         StartService
    RunService "$1"
    And this into /Library/StartUpItems/Oracle/StartupParameters.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>Description</key>
         <string>Oracle Service</string>
         <key>Messages</key>
         <dict>
              <key>start</key>
              <string>Starting Oracle9i.</string>
              <key>stop</key>
              <string>Stopping Oracle9i.</string>
         </dict>
         <key>OrderPreference</key>
         <string>Last</string>
         <key>Provides</key>
         <array>
              <string>Oracle</string>
         </array>
         <key>Uses</key>
         <array>
              <string>IPServices</string>
              <string>AuthServer</string>
              <string>NetworkExtensions</string>
              <string>Network Time</string>
              <string>Core Services</string>
              <string>BIND</string>
              <string>Cron</string>
              <string>Resolver</string>
              <string>NFS</string>
              <string>SecurityServer</string>
         </array>
    </dict>
    </plist>
    Now edit /etc/hostconfig to include the ORACLESERVICE
    ORACLESERVICE=-YES-
    Restart you machine or type
    sudo /Library/StartupItems/Oracle/Oracle startHope fully you'll have an oracle service.
    ===Getin the webapp running===
    I'm assuming you know how to set tomcat up .
    Ignore the nonesense and the stuff oracle provide you just need the oradev directory in DBCreate. I'm using tomcat 4.0.3 in case its an issue.
    As root (i think at least (if sqlplus prompts for login then try as oracle (su - oracle)
    cd /User/oracle/9iR2/orahome/DBCreate/oradev/ptssql/
    ./setschema.sh abmactcpset the orapts.jar file in your classpath
    tcsh
    setenv CLASSPATH $TOMCAT_HOME/webapps/oradev/classes/orapts.jarCopy oradev to your webapps directory.
    edit server.xml
    From:
    <Context path="" docBase="ROOT" debug="0"/>
    To:
    <Context path="" docBase="oradev" debug="0"/>
    Start tomcat and request using a web browser
    http://127.0.0.1:8080/pts/login.jsp
    hit submit and hopefully it runs..
    I also had to do a multiple find and replace of the image paths on the jsp files to get the images served.
    replaced
    from
    /oradev/pts/images
    to
    /pts/images
    mail me if it works or not (no abuse please)
    [email protected]

  • Configuration for public & private network

    I am working on two Separated networks and different ip range, one of the Internet, second only to traffic between the editing workstation has tried to get the open directory path to a second network and here I am having some problems, such as that clients get their problems when login network accounts and the problem of the DNS, How can we bypass this problem??
    Please help

    Dear Mr.
    We highly thank your rapid response...
    Iam Morad Shalbak head of post production department in Palmedia company in Palestine, Our main stream work is video editing and post production films, we handle our edit using FCP program, my department use MAC PRO and IMAC computers.
    Our Problems located in the server and in the client, we have 2 ethrnet, 1GB network, on 2 separate switchers, diffierent IP range, what iam looking for is to set the primery eathrnet port on the server and client MAC PRO, only for internet traficing usage, the secondery port use for open directory traffic and file share traffice.
    To let you know i had these problems during installing the previous idea, first the open directory cant locate a clear path on the secondery eathernet port, since the open directory takes 2 IP (public IP and Private IP) in same time, second the client cant access the net work account, also the client cant see the server DNS.
    I will attache an discreption drew concerning my OPEN DIRECTORY on MY SERVER.
    Regards,

  • SRM 7.0 for Public Sector integrated with FM (Budget Control System)

    Hello!
    I'm starting an implementation project of ERP 6.0 and SRM 7.0 for Public Sector.
    It would be necesary the integration not only SRM with ERP but with FM (Fund Management), with BCS (Budget Control System) specifically.
    Is it possible? has anyone experience on it?
    Thks so much in advance and best regards!
    Marcela.-

    Hi,
    Certainly... If you have FM implemented in your project, you will have to make integration with SRM.
    I did it some 3 years ago and it was quite problematic (a lot of notes were created by SAP on this matter, also as initiative from our project), but since then, I assume, it should not pose specific problems.
    Regards,
    Eli

  • Why only one public class in a source file?

    why we have to write only one public class in a source file?

    PhHein wrote:
    Because the JLS says so.It does?
    From section 7.6 of the JLS (third edition):
    When packages are stored in a file system (§7.2.1), the host system may choose to enforce the restriction that it is a compile-time error if a type is not found in a file under a name composed of the type name plus an extension (such as .java or .jav) if either of the following is true:* The type is referred to by code in other compilation units of the package in which the type is declared.
    * The type is declared public (and therefore is potentially accessible from code in other packages).
    This restriction implies that there must be at most one such type per compilation unit. This restriction makes it easy for a compiler for the Java programming language or an implementation of the Java virtual machine to find a named class within a package; for example, the source code for a public type wet.sprocket.Toad would be found in a file Toad.java in the directory wet/sprocket, and the corresponding object code would be found in the file Toad.class in the same directory.
    >
    To my mind, it's strongly recommending, rather than mandating, this practice. All academic of course, merely shifting the answer from "Because the JLS says so" to "Because pretty much all Java compilers say so". I don't know of any that don't enforce this, but of course, that doesn't mean they don't exist

  • Why we can have only one public class in one source file

    why we can have only one public class in one source file

    When the java compiler is run it looks for classes referenced by the classes you are directly compiling. When looking for these referenced classes it looks for source as well as class files and compiles them automatically if the coresponding class files are missing, or older than the source.
    In order to do this it must be able to work out the source file name for any given class which might be referenced from another (the rule also applies to package level access).

  • Wwctx_api.get_user only returns PUBLIC

    I am trying to determine the user who has logged onto Portal, but this package only returns PUBLIC. I've seen in previous postings that this is the package to use - what am I doing wrong?

    Well, I'm almost stumped. As far as I know, you are in a different context when executing a PL/SQL routine directly through the DAD. The username & password are stored with the Portal DAD (similar to old OAS functionality), so the engine doesn't know who you are. You can try using a different DAD w/o username and password stored, but then you'd have to create database schemas for all of your users. In this case, you would probably have to use an OWA package to find out who they are, because they are not logged in to Portal.
    A better solution might be to create Forms based on Stored Procedure components for all of your procedures, which would enable you to keep the users in the Portal context. You would just have to create at least one (dummy) parameter for each, because forms based on stored procedures need a parameter.
    --Kelly                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SAP Procurement for Public Sector package

    Hi All,
    does anyone have any useful info on what is actually included in the SAP Procurement for Public Sector package?
    I've read the solution brief which is really general and doens't actually give any details.
    What I'm after is to know which components of SRM are actually included in this licensing package?
    Thanks
    Chris

    Hi Chris,
    I'm part of the IBU for Public Sector, specializing in the SAP PPS Package. 
    HIGH-LEVEL PACKAGE CONTENTS (a.k.a. BOM):
    - SAP SRM (current GA release based on 5.0; Q4 08 planned release is based on 7.0)
    - SAP Document Builder (current GA release v 2.0; Q4 08 planned release has v 3.0)
    - SAP NW Records Management/Case Management (rights to use for any procurement scenarios - HR, FI, other uses require additional licenses)
    - Enhancements to these components and SAP ERP 2005 that are known in the technical component list as Government Procurement 1.0 (in the current GA release) or Government Procurement 7.0 (in the Q4 08 release).
    COMPONENT EXPLANATIONS:
    - When we say "SAP SRM", generally we mean "the combined package of engines that were formerly sold as single components", including Strategic Sourcing, Bidding Engine, Auctions, MDM Catalog (only - not all MDM is included), etc.  Legally, I cannot say "all SRM components" because the list may be changed periodically, but I cannot think of a particular exception either.
    - SAP Document Builder is currently not sold separately.
    - SAP NetWeaver Records and Case Management are not the ones used in CRM - these are the standard delivered apps for Records and Case Management with SAP, used to accomplish several PPS scenarios.
    CLARIFICATIONS:
    NOTE1: product PPS should NOT be referred to as "SAP Government Procurement", which is a retired product name. The term "Government Procurement" today only refers to the technical set of enhancements, and is an internal convention within SAP, so you won't see it referred to normally.
    NOTE2: eSourcing is not the same as SRM. eSourcing is not part of PPS, and is not part of the license for PPS.  We do not recommend a customer to buy both eSourcing and PPS, since they address different needs and pains. e.g., PPS should be considered when integration with ERP is important.
    NOTE3: ERP 6.0 is required for PPS customers, but SRM 'core' does not have that dependency.  It's too long to explain here, but suffice to say you wouldn't expect to be able to run an XBOX game on your 1986 Nintendo console.  We cannot run most new PPS functionality on older ERP releases for much of the same reason: we have been building new functionality as quickly as NetWeaver gave us the tools to do so.  If this stuff were easy it've been done by now - by SAP and our competitors.
    However, rest assured ERP PRs (and SOs) can still start the process as well as SRM Shopping Carts and POs are replicated to ERP so follow-on GR/IR can be done in ERP.
    Enhancements have been made to ERP 6.0 as well, including in the base release, and in EhP 3 and EhP 4 of ERP 6.0, which will be important with the Q4 08 PPS planned release, to enable signifcant new complex line item and pricing functionality and other features. And again - you can run Classic + Extended Classic using the Ext Classic BADI.
    NOTE4: ERP 6.0 is not part of the PPS BOM and no ERP 6.0 rights are included.  Customers must have Business Suite or other ERP user licenses in conjunction.
    NOTE5: Customers with SRM licenses today may convert their license to PPS. This is done on a case-by-case basis, so SRM customers in Public Sector are not required to migrate or convert - contact your SAP AE for details if you need more information.
    For more information, you can contact me at: FirstnamedotlastnameatSAPdotcom.
    Rules prohibit me from typing the address into the answer, but I am the Field Services contact for partners in the Americas for this product so it's appropriate in this case to contact me directly.
    Thanks to SDN regular Andreas Muno for sending me your Post so that I could respond.
    Best regards,
    Rebecca Hughes

  • Procurement for Public Sector restrctions

    Hi, SRM Gurus.
    On the page 46 of SAPSRM_EN_COL92_FV_Part_A4.pdf as Figure 30u2019s description is written about PPS restrictions: «...Furthermore, only one SAP ERP back-end system can be connected to the SAP SRM system. Multi back-end deployment is not supported for SAP Procurement for Public Sector.»
    What does it mean? What is the techical side of this? Who is responsible for this?
    Thanks.

    Hi Sergey,
    Yes this landscape does satisfy the '1 back-end' maximum requirement.
    |SRM-1| <-> |R/3-1| is ok
    |SRM-1| <-> |R/3- 1| and |R/3- 2| is not ok
    I underlined extended classic scenario cause it's the only scenario supported for a PPS enabled SRM system.
    Kind regards,
    Tim
    Edited by: T. Schuffelen on Oct 21, 2010 10:21 AM

  • Why only 1 public class in java file

    In any java file, why do we have only one public class whose name is same as the java file name?

    Jasmit1986 wrote:
    Thanx for the link db. But in the link it is explained why we have the name of the java file same as the class name.
    My doubt is that why can't we have more than one public class in a java fileTo keep things simple and less confusing. There's really no good reason to have multiple public classes in one file, so this just enforces the "best practices" idea.

  • Save as Option - Yes for Favorites folder No for Public folder

    Experts,
    I need to give END users save as option only to their favorites and not to Public folders where our corporate reports placed.But while i am testing when i click save as it shows me both Favorites and Public folders option to save.My question is below
    When i try to save either favorites or public folder it says"your security profile doesn't allow you to save to the folder",but i need this erro message to pop up only on Public folder and not on favorite folder.Pls help

    Hi Robak,
    What kinds of operations do you typically do to your holiday photos (other than rotating them)?. Photoshop Touch is great for editing your photos with some of the same tools that are in the Photoshop program on computer but because Photoshop Touch is on a tablet, there are some limitations to consider. The largest resolution of image you can work with is 1600 x 1600 for example. This folder of 40 images from your Mexico pictures, were these pictures taken with a camera on the tablet? What kind of tablet of tablet are you using?
    -Dave

Maybe you are looking for

  • Dump while converting amount in script

    Dear all , I am facing a problem while passing a value retreived from the script. i.e read table intab index 1. i am reading the value from intab and the value is in this format. 1,234.00 when passing this value to the variable defined for the import

  • How to stop imported video from looping?

    I imported a very short video clip to my timeline. I want it to play only once. Then the last frame of the video should stay visible and static, as a background. And I want to start my animation then; after the video plays once. How do I achieve this

  • NJB3 and OmniRemote, SSR, or anyone, H

    Has this worked for anyone? I tried this once before, and deserted it after I couldn't get it to work. I got this from the Nomadness site a while back, and ran across the files for it the other day while cleaning up my Puter, and decided to try it ag

  • Facebook doesn't work on 4G

    Has anyone else noticed that Facebook doesn't work on 4G? Neither the app NOR the website work with 4G. They both work fine with 3G and WiFi. Strange.

  • Everything I export is gigantic and looks terrible with FCE

    I have tried exporting a project every way I can think of. Started with a 64MB .m4v i exported from iMovie, have tried custom size, basically every quicktime export option available. Every single movie is 4-5 times the size of the original, grainy, a