Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. theotrain

    make initial text color last used color?

    it seems that in illustrator, no matter what color you have been working with, the text tool will make any newly created text objects black. i would expect that if the last thing i typed was red, the tool would default to red. its not the biggest deal in the world, but its irritating if, say...
  2. theotrain

    can this hideous query be optimized?

    that works perfectly, sort of! i got all the results i want, but with one difference. my first query returned NO results when there were no cases of page_items.page_id = {$page_id}. with the LEFT OUTER JOIN query i always seem to get one return when i shouldnt get any. the one return is just...
  3. theotrain

    can this hideous query be optimized?

    wow! thanks! im trying to figure out how your example works, since i dont use inner joins normally its hard for me. but whats happening, it seems, is the new query only returns items that have an entry in the user_images table. looking at this part of the original query: (SELECT...
  4. theotrain

    can this hideous query be optimized?

    let me just just clarify some things. fist, the query formatted better: SELECT DISTINCT page_items.name, page_items.url, page_items.html_text, ( SELECT user_images.cleared FROM user_images WHERE page_items.url = user_images.image_url ) AS cleared, page_items.text_cleared, ( SELECT...
  5. theotrain

    can this hideous query be optimized?

    im using amfphp to connect flash to a database. im having speed issues with the queries, which i assumed was due mostly to the overhead of using amfphp. but i just tried executing my queries and timing them using php only... they are kinda slow but not bad, except one query sometimes hangs...
  6. theotrain

    include a file without breaking nested includes

    in my main directory on the server ive got a bunch of files that use includes to create a page header. the header itself includes information from several subdirectories, like "/images", "/css", "/includes", etc. so now i want to have a page in a different directory use that same header. so i...
  7. theotrain

    mark up string values if they contain certain words

    thanks! i had the crazy idea there might be a fancy way to do it where you didnt basically have to loop through each word in the list and check it against every string, since there is an array of strings as well. but i couldnt come up with anything, so i've done basically what you've suggested...
  8. theotrain

    mark up string values if they contain certain words

    im making a page to monitor content typed into a kids website. the page just spits out all the new text that has been entered but not yet checked - the monitor can then flag inappropriate content. i would like to highlight curse words to make it easier for the monitor to scan the text. im...
  9. theotrain

    TextField polymorphism?

    ive created an object that extends TextField, let's say "MyTextField". i just want it to be a TextField with a few extra functions. i have a flash component that takes a TextField instance name as a parameter. my goal is to dynamically create a MyTextField and have the component use that, but...
  10. theotrain

    encode high res bitmaps from flash

    im trying to make a high res PDF from a flash movie using AS3. the PDF part seems pretty easy (alivePDF), but the high res part not so much. where to begin? ok, i saw page where the guy described doing this in flex, to capture a high res image of a DIsplayObject. var image:ImageSnapshot =...
  11. theotrain

    using "SELECT AS" alias in WHERE clause?

    HA! yes thats quite true. i guess i was working in PHP and got bamboozled. in any case i figured it out and im amazed i didnt get it sooner. for any other lost souls you can simply use: SELECT MONTH(date_posted) AS month_posted FROM blog_posts WHERE MONTH(date_posted) = 8 just repeating...
  12. theotrain

    using "SELECT AS" alias in WHERE clause?

    i been trying to do this with no success: SELECT title, id, date_posted, MONTH(date_posted) AS month_posted, YEAR(date_posted) AS year_posted FROM blog_posts WHERE month_posted = 8 it seems to be choking on the "WHERE month_posted" part... which i actually want to use with a variable but im...
  13. theotrain

    fckeditor changes quotes - magic quotes problem?

    to my own great surprise i got this to work by adding a php5.ini file in godaddy to turn the magic quotes off
  14. theotrain

    fckeditor changes quotes - magic quotes problem?

    when i enter code using FCKeditor it changes all my quotes to: "\&quote; so, this: <object height="340" width="560"> becomes: <object height="\&quot;340\&quot;" width="\&quot;560\&quot;"> i found a lot of talk about this on the internets but nothing worked for me. in fckconfig.js i tried...
  15. theotrain

    determine whether a loading swf is stopped or playing??

    thanks guys. for my purposes i'll have to resign myself to loading the swfs in their entirety beforehand. oh well, its not so terrible. they wont be very large, compared to the videos. good to know you cant do it in as2 either. for some reason it makes me feel better.
  16. theotrain

    can't connect to Access db: The specified data source is not defined.

    Vista running WAMP. its just the CF developer edition running on my own computer. i did get this to work, but not by using MS Access or ODBC as the driver type. on the advice of a friend who knows more than i about such things, i chose "other" as the driver type and entered the following...
  17. theotrain

    can't connect to Access db: The specified data source is not defined.

    the administrator is where i am trying to add the datasource. i was able to sucessfully add a mysql datasource, but any access db seems to fail.
  18. theotrain

    can't connect to Access db: The specified data source is not defined.

    i just recently put coldfusion on a WAMP install. i tried setting up an access databases as a datasource (which used to work fine in coldfusion on IIS) and i got the following error: Connection verification failed for data source: wfp3241_hmstore java.sql.SQLException: [Macromedia][SequeLink...
  19. theotrain

    determine whether a loading swf is stopped or playing??

    interesting idea, but if my swf needs to skip to a certain frame at a particular cue point, i dont think i can make it skip to that frame until the ENTIRE swf is loaded, at least if im using the loader object. thats my problem. Loader.content is null until the movie is fully loaded. so i cant...
  20. theotrain

    determine whether a loading swf is stopped or playing??

    im using the Loader object. only because i dont know any other way to do it in as3. i had the idea that maybe i could see whether the framesLoaded was greater than the currentFrame of the swf. i supposed that if they were equal, that would mean the movie was stopped due to insufficient...

Part and Inventory Search

Back
Top