A Flash Developer Resource Site

Search:

Type: Posts; User: JerryJ

Page 1 of 7 1 2 3 4

Search: Search took 0.06 seconds.

  1. I've been hesitant to post this, as it is not...

    I've been hesitant to post this, as it is not complete, and the code is very dirty right now (I've got alot of cleaning to do LOL).

    This example reads the html file, removes everything but the...
  2. If you are certain split() is the culprit, have...

    If you are certain split() is the culprit, have you tried using substrings with searches for the "#" instances?



    text2split="your text or data here#loaded however you please#just set this...
  3. Replies
    11
    Views
    1,045

    Oops! The above posted code only works for...

    Oops!

    The above posted code only works for html tags with no attibutes. However, it gives you a place to start. You may wish to strip the html tags befor looping through the words to avoid this...
  4. Replies
    11
    Views
    1,045

    You only need to have the html tags removed for...

    You only need to have the html tags removed for the word wrapping width check. The following code adds a set of "clean" variables, setting them to their relative variables minus the html tags, and...
  5. Thread: loading images

    by JerryJ
    Replies
    2
    Views
    472

    Do you have access to server-side scripting...

    Do you have access to server-side scripting languages (PHP, CGI, etc)? If so, you can create a script that will check the images directory and output a txt file for loading into flash. The flash...
  6. Replies
    2
    Views
    3,086

    Once the image has been uploaded to a file on the...

    Once the image has been uploaded to a file on the server, you can use getImageSize() to determine image dimensions, type, and other misc data.



    $imageData=getImageSize("IMAGE_FILE_HERE");
    //...
  7. Replies
    11
    Views
    1,045

    First, you need to determine an average number of...

    First, you need to determine an average number of characters that will fit your text box's width based upon the font's average width per character. You will have to determine the average width ahead...
  8. Replies
    2
    Views
    1,789

    I have not tested this, but I think you could use...

    I have not tested this, but I think you could use the GD image functions to convert the image stream from the DB into an actual image usable as your bitmap.
    ...
  9. Replies
    1
    Views
    433

    Try tracing the values in the array to see what...

    Try tracing the values in the array to see what flash thinks of them (especiall your e-5 value).

    Jerry
  10. Replies
    4
    Views
    1,090

    Are you using MX or F5? Flash MX has dynamic...

    Are you using MX or F5? Flash MX has dynamic jpeg abilities, while flash5 requires the image to be wrapped in a swf file ahead of time.

    Jerry
  11. There is no GUI for linux users, but you can use...

    There is no GUI for linux users, but you can use Ming (http://ming.srouceforge.net) to create swf files, with the added advantage that they can be created dynamically!

    Jerry

    www.mingworks.com
  12. Thread: Loading Pics

    by JerryJ
    Replies
    7
    Views
    579

    A suggestion: Instead of doing a bunch of...

    A suggestion:

    Instead of doing a bunch of if/else checks on the hour, create an array referencing the images. Now you can use the value of the hour as the call to the proper index of the array. ...
  13. You can use Ming (http://ming.sourceforge.net)...

    You can use Ming and it's bundled GIF2DBL conversion app to dynamically create the SWF as you mentioned. I have an example swf banner maker up to show how Ming can use jpg/gif/png formats and...
  14. Replies
    1
    Views
    2,561

    TTF 2 FDB Algorithm

    I'm searching for documentation on the algorithm described in the Flash SDK regarding converting the Quadratic B-Splines used in TTF to the Quadratic Bezier curves needed for FDB. Unfortunately, the...
  15. You need to set the permissions for the directory...

    You need to set the permissions for the directory (and possibly files in the directory) to allow the page to execute scripts.

    Check your PWS docs for how to set permissions (chmod on unix).
    ...
  16. Replies
    3
    Views
    1,042

    Try \n for newlines or \r for carriage returns. ...

    Try \n for newlines or \r for carriage returns.

    You might get faster results with str_replace() than with reg exp checks (no need for the reg exp engine).

    Jerry
  17. There is a new function in MX, check the lineTo...

    There is a new function in MX, check the lineTo and curveTo functions.

    Jerry
  18. Replies
    8
    Views
    1,364

    For a local test server with easy setup, there...

    For a local test server with easy setup, there are serveral apache/php/mysql installers available with very easy installers.

    http://sourceforge.net/projects/foxserv has one such installer I use on...
  19. If you have PHP with the Ming module installed on...

    If you have PHP with the Ming module installed on your webserver, you can dynamcially load JPG/GIF/PNG image into flash4/5. http://ming.sourceforge.net

    Simple banner maker examle

    Jerry
  20. Replies
    2
    Views
    2,419

    Here's a tutorial on drawing lines dynamically in...

    Here's a tutorial on drawing lines dynamically in flash5.

    http://www.actionscripts.org/tutorials/intermediate/Draw_a_line/index.shtml

    If you want to use MX's new lineTo functions, there is a...
  21. Thread: aim and flash

    by JerryJ
    Replies
    5
    Views
    1,034

    I believe you will need to use javascript and...

    I believe you will need to use javascript and fscommands due to the protocol of the aim url.

    Jerry
  22. Replies
    6
    Views
    2,009

    Yes you can, with the addition of text inside the...

    Yes you can, with the addition of text inside the link tag.

    Could you post an example URL where the swf doesn't load as you said? Perhaps your(my) script isn't placing the URL of the swf file...
  23. Replies
    2
    Views
    372

    This article should get you going:...

    This article should get you going:
    http://www.macromedia.com/support/flash/ts/documents/tn4160.html

    Just curious, why not create the subtopic menus in the flash movies?

    Jerry
  24. I don't use Mac, so you'll have to test, but this...

    I don't use Mac, so you'll have to test, but this article should show the way:

    http://www.macromedia.com/support/flash/ts/documents/tn4160.html

    Pay close attention to the need to use...
  25. Replies
    6
    Views
    2,009

    Of course it depends upon how you select the...

    Of course it depends upon how you select the appropriate swf banner and url combination.


    <script language="JavaScript">
    <!--
    function makeAd(){
    // This would be your ad selection code
    //...
Results 1 to 25 of 161
Page 1 of 7 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center