Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Scanning Directly To Flash



Can anyone tell me why you can't scan directly to Flash? Seems like it would save time. Is there a component to do this?



FlashKit > Flash Help > Flash Newbies
Posted on: 12-30-2003, 04:31 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Scanning Photos For Flash
I am doing a photography website using flash. What is the best dpi and way to save scanned photos for Flash so that the photos look very high quality?

Scanning Photos For Flash
I am doing a photography website using flash. What is the best dpi and way to save scanned photos for Flash so that the photos look very high quality?

Can Flash Connect Directly To DB?
Hi,

Can flash connect directly to DB? using XML socket or any other way? (not through asp, COM...)

thanks,
Maya.

Loading Pdf's Directly To Flash?
i don't know if this has been asked before but here goes.
i'm kinda in a hurry...
thanks

how do i load external pdf's directly into flash without having to put the pdf itself in the .fla
im using mx2004.

thanks again

Printing PDF Directly From Flash
Hi.

I'm not sure if this topic has been covered before, apologies if it has. Is there any way to print a PDF directly from Flash?

Any help much appreciated.

Directly Executing An MS SQL SP From Flash
Hello everybody,

I am a .NET developer and I have to develop some flash components in my .NET application. I have looked at Flash and it is pretty fantastic. I was wondering if you guys can help on my problem. What I would like to do is pretty simple. I have a SQL Server stored procedure (SP) that return a select statement. I would like to execute this SP and get the result in Flash as a dataset. In other words, I do not want to use a middle tier like ASP, ASPX or PHP. I want to get data directly into my SWF from SQL. Is it possible?

Thanks much

Serkan

Directly Linking To A Flash Swf
I'm not sure it's possible, but I made a flash banner that I'm planning on using as a LinkTo banner. What that means is that I want other sites to be able to embed my movie into their html, but without actually having the flash movie on their server. They would be using my flash movie, but it would appear on their site.

In testing it out, I did a direct copy and past of my html and the object seems to be embedded, but the movie doesn't play.

The question is, how do I do this?

Thanks in advance!

EDIT: After doing more searching, I found that "hotlinking" is probably what I'm referring to here.

Send Flash Directly In Email? Possible?
Hi all,

Stupid question again
I want to know if certain FScommand or something else will work to make a flash e card simply?
I want to make an e card, users enter all parameters in swf; then press "send" , then the movie will be sent directly to the user's friend directly, no need to start uup the outlook or other email machines.
Thanks in advance for any help!

MKit de HK

Flash E-card Directly To Inbox
is it posible to send an E-card directly to the inbox it self instead of sendin an email that contains a link to the E-card.

thx

Ow Do I Modify An XML File Directly From Flash 5?
I need to change the child values in this XML file from Flash 5, How do I do this?

<?xml version="1.0" ?>
- <serie>
<value name="Animal Species">1230</value>
<value name="Flowers">3425</value>
<value name="Trees">5643</value>
<value name="Others">7876</value>
</serie>

Best regards
Toby Mack

Flash Menu Directly Beside Image?
Hey all,

this has more to do with Dreamweaver than flash, but here it goes...I am creating a webpage in Dreamweaver which has frames in it. I have a flash menu in the left frame, and an image in the top frame. As it is right now, there is a space in between where the image is and where the flash menu is, and I want to get rid of this space is the image and the menu are right beside each other. I have turned off borders, but this doesn't work. Does anyone have any suggestions? Thanks,

ice2009

DISIGN :: First In Photoshop Or Directly In Flash ?
Hi guys, what do you think thats the best to make goodlooking flash movies, should i make the disign first in photoshop and load the pictures into flash or should I draw my interface layout in photoshop?

Great thanx

Link Mp3 Or Avi Or Jpeg Directly Into Flash ?
how do u Link mp3 or avi or jpeg directly into flash ? anyone got clue ?.....

Writing To Files Directly From Flash
Hey

My flash movie has an admin version - which is identical to the original, except that the text boxes are editable (ie input boxes.) A submit button sends all the variables to a php pop-up which has an "ok" button which, upon clicking, writes the data to a file.

I was wondering if I could get Flash to do this directly (without using php?) - it would be nice for the admin guy not to leave the Flash movie.

I'd really apreciate clarification on this...

The two versoins are:
http://emma.dar.cam.ac.uk/~cdj21/smr...x.php?swf=main
http://emma.dar.cam.ac.uk/~cdj21/smr....php?swf=input

Cheers,
Chris

Printing A PDF File Directly From Flash
Hi ,

I want to print a PDF file directly from Flash without opening the Arcrobat Reader.

Can anybody help?

Thank You.

E-mailing Variables Directly From Flash
Hi,
Is there any way I can send the values of a form created with a simple “Check Box” component & text field in an e-mail directly or do I have to send the variables up to a CGI script & have a PHP script mail them on for me?

This is where I’m at in Flash with the last send() method being typed out as I would like the function to operate eg. send the variables directly in an email


Code:
_root.red_mc.onRelease=function(){
lv=new LoadVars();
lv.myCheckBox_ch=myCheckBox_ch.getValue();
lv.myTextField_txt=whom;
lv.send(mailto:mydomain,lv.myCheckBox_ch,lv.myTextField_txt);

}
Thanks for any help.

P.s. If my approach is too simplistic anyone know any good tutes on the subject?

Directly Access HTML DOM From Flash
Hello!

Im trying to find a way to not using functions when calling a
DOM function like document.getElementById();

Is this possible?

Right now the only info i've found on this is with the
external javascript api. Or could I use this to target for example
a div in the html page?

Hope someone can help me out!

Cheers

Adrian

Flash To Talk Directly To MySQL?
I want Flash to talk directly to MySQL, but I'm having difficulty finding how to do it. Most people seem to use PHP as an intermediary, but that won't work for my project. I'm sure it's possible to talk directly to MySQL though - www.hell.co.nz is entirely Flash based, and I think it must talk directly to MySQL. So why does no-one do it like this?

I've found this script library, which looks promising, but I'm a little concerned about the security issues. Here's what the guy says...


Quote:




What is the difference between normal/standard connecting to database and this library ? Are there any advantages ?
Normally flahsplayer connects to http server like apache, then moves its request to server side language like php, php connects to database and returns the result to the player. Problem is, that typical communication offers only string type support (http) Amfphp (and other remoting technologies) enables to transparently retrieve data from database of any type, but stills uses php, server side and client side parsing. ASQL connects DIRECTLY to the MYSQL server, without using any http server, using binary sockets and ByteArray class that were addded to as in fp9. Main advantage is, that server doesnt have to parse your request, you operate directly on database system, with sql.
Next advatange is, that you have got a permanent connection to the dbase, so in a case where there are many operation on dbase, its much more faster.
If you understand, how does this work, and what is swf`s main security problem, you probably know what security issues this kind of communication creates. When you place your login data into swf, anyone will be able to read it, so you have to restrict users privillages one the Mysql side. If your apps need to be public, then you need to understand how does it work, before using this library. Otherwise ( i.e. administration ) its the best way ever.




I don't quite understand what he's saying. Is it just because it's not using HTTPS to communicate that it's not secure? Or is there more to it than that?

Uploading Directly From Flash To Site Possible?
Each time I publish, I have to pop into Dreamweaver and upload thru there.

Does FLash MX2004 Prof have that built in someplace? I've found the "Edit Sites" button there, but nothing beyond that.

Go Directly To Website After Flash Intro
Hi,
I was wondering, what do I need to do to have a flash intro go directly to a website without the user needing to click anything?

Thanks

Browse PDF Directly In A Flash Movie.
Can it be done? Can You embed a PDF into a swf and control it from within the movie? I know about flashPaper, i have a project with 10s of PDFs that are not mine, so i don't wont to risk compiling them to flashPaper.

I will of course do that if there is no other way.

Thanks in advance,
Wojtek

Save Image Directly From Flash Web
hello:] i already posted this question in other place in this forum [ http://www.kirupa.com/forum/showthread.php?t=245021 ] , but i think it should be here.

my website is flash-only and i have photo gallery, and if you click on a thumbnail it loads larger image in flash, and then you can click on it and see "Save As..." dialog.. you can find a nice example what i am talking about here http://www.thomasrusch.com/ -> portfolio and if you select one photo there is "DOWNLOAD IMAGE" :] it's not my web.

need help

Uploading Directly From Flash To Site Possible?
Each time I publish, I have to pop into Dreamweaver and upload thru there.

Does FLash MX2004 Prof have that built in someplace? I've found the "Edit Sites" button there, but nothing beyond that.

How To Go Directly To A Scene Within My Flash Movie...
Im using flash for navigation within a site and want each 'button' to load the specified page but want to reuse my single flash movie for navigation --

my problem is how do I make page 1 load that main navigation movie, BUT go directly to the page1 scene within that movie ...

so how do I say load the same flash movie, BUT go to 'x' scene immediately -- I want to prevent having to do multiple versions of the navigation movie.


-- thanks for your help!

[tip] Loading HTML Directly Into Flash
Here's a little tip for quickly loading big chunks of HTML code for use with TextField.htmlText

You don't need to use PHP for this, you can just load a .htm file if you want to, but I've used PHP with this example because it prevents the data from being cached in the browser's cache... and avoids the "why isn't my stuff being refreshed" problems.

Here's an example PHP file...

PHP Code:



<?php

//// Prevent the file from being cached
header("Expires: Thu, 01 Jan 1970 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s", time() + (gmdate("I") == 0 ? 3600 : 0))." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Pragma: public");

//// Spit out a text/plain content type
header("Content-Type: text/plain");

?>
<p>This is just some test HTML</p>
<p>You can load this <b>directly into Flash</b> and dump it into a HTML TextField</p>
<p>Easy peasy!</p>



The ActionScript uses the XML class but we grab the loaded info before Flash has a chance to parse it as XML.


ActionScript Code:
var myXML:XML = new XML();
 
myXML.onData = function(str:String):Void {
    if(str == undefined) {
        this.onLoad(false);
    } else {
        this.onLoad(true, str);
    }
};
 
myXML.onLoad = function(success:Boolean, HTML:String):Void {
    if(!success) {
        // HTML failed to load!
    } else {
        // Put the HTML into your textfield
        _root.myTextField.htmlText = HTML;
    }
};
 
myXML.load("foobob.php");

And that's all there is to it. Just keep in mind that the HTML tags that Flash supports is quite limited, so you still have to limit yourself to those.

Oh, by the way... you don't just have to load HTML, you could load any text-based data you wanted to.

Flash Talking Directly To HTML
Hi all,

I am working on an idea... I want to use Flash and Javascript to directly access HTML forms on my page.

Anyone has a path for doing things like this?

I want to do all programming part on Flash, that will send or get data directly to HTML forms.

Helps are welcome from anywhere.

Thanks

Writin' Data Into A Txt Directly From Flash 6
Last edited by pcMan : 2003-02-01 at 22:22.
























hello every one, i'm lookin' for something to save into a txt file from flash directly... something like moock's show at: http://www.moock.org/asdg/technotes/...ave/index.html


Code:
fscommand("save","filename.txt");
but it seems that just work in Flash 5, (non Flash 6 )
i would thanks for any help.

regards from Mexico

Playing WMV Files Directly In Flash?
Hi,
I am using Flash 8, anybody have any idea how can i play WMV files directly in Flash ?? With or without using component??

I dont want to convert my WMVs into FLV, in this any way??


Also, any way to protect my FLV files ?? Like encrypting them, some how ??


Any ideas??


Regards,
Amir

Display In Flash Through A Database Or Directly From PHP
this is my code in php and attempted the flash php mySQL tutorial, This is a web crawler which redirects miltiple inputs of urls from a textarea. I have to redirect each url. I have done it in php but the problem is that it displays the redirected urls after the loops are finished to execute. What I want is to display each redirected url and the inputs after each loop (e.g. 1st url->redirect->display then url2->redirect->display redirected url1 & 2 so on) can I ask some ideas and teach me how to do this?



Code:

<?php

include "crawler.class.php";

include "oop_query.php";

$db = new query;

$crawler = new crawler('www.mysite.com','firefox');

$url1 = $_REQUEST["input_url"];

$urlList = explode("
",$url1);

echo "<?xml version="1.0"?>
";

echo "<urls>
";

foreach($urlList as $index=>$dup){ //e.g.[0]=>"nba.com" [1]=>" cnn.com"

$trim =trim($dup); //trim spaces in every new line

$conHandle = $crawler->crawlerConnect($trim);

$headers = $crawler->fetchHeader($conHandle);

  foreach($headers as $content=>$value){

  $string_to_find = 'Location';

    if($result = strstr($value, $string_to_find)){

      if(preg_match('/http:/', $result)){
 
      $split_header = explode(" ",$headers[$content]);
 
      $content = "$trim redirects to: <a href="$split_header[1]">$split_header[1]</a><br />";

          //in php echo $content;
####################################################################################################   
 
        $splitted = $split_header[1];
 
        $open = $db->db_open();
       
        $open;
       
        $sql = "INSERT INTO urls(inputs, redirected) VALUES ('$trim','$splitted')";
       
        $insert = $db->db_query($sql);
       
        $sql1 = "SELECT inputs,redirected FROM urls";
       
        $results = $db->db_query($sql1);
       
        while($lines = mysql_fetch_assoc($results))
       
          echo "<inns>" . $lines['inputs']  "</inns>
" . "<redirects>" $lines['redirected'] . "</redirects>";

        }
   
      }
     
    }
   
  }
 
}

echo "</urls>
";
$db->db_close($open);
?>

Scanning A Dir
This is what i want to do:

I want the flash movie to scan the dir, like: news/
In news i have a few txt. files:

news/1.txt
news/2.txt
news/3.txt

I want it to return a array [1.txt,2.txt,3.txt]

But when i ad one.

news/4.txt

it automaticly returns an array with [1.txt,2.txt,3.txt,4.txt] in it.
how would i do this?

Scanning A Dir
This is what i want to do:

I want the flash movie to scan the dir, like: news/
In news i have a few txt. files:

news/1.txt
news/2.txt
news/3.txt

I want it to return a array [1.txt,2.txt,3.txt]

But when i ad one.

news/4.txt

it automaticly returns an array with [1.txt,2.txt,3.txt,4.txt] in it.
how would i do this?

Starting A Flash CD Directly On Input Into Drive
I have a presentation done in Flash and burned onto a CD.
I would like, when the CD is loaded, for the Flash movie to execute without having to open the drive and double click the .fla file.
Does anyone know how to do this??

How Do I Use Flash MX To Directly Edit Actionscripts In An Swf File?
After creating several swf files using flash MX for my website, and after testing them I found a few errors in the action script in one of the files, is there a way that I can directly edit the swf file's actionscript using flash MX?

I tried importing the swf file into flash MX, but I can't find where the list of actionscripts are, that I created, the preview pane shows the first scene, but there's nothing in the action pane, even when I step through the frames, there's still no actions listed.

What I'm looking for is a list, something like:-

-frame1
action
-frame2
action
etc, etc

and by double clicking on the required action, a type of text editor opens, allowing the script to be edited, then compiled back into the original swf file.

I can use swf decompiler and view the scripts as a list, but the decompiler doesn't allow editing.

Load Directly Images From Database Into Flash
how to load directly images from database into flash not through their path?

Quick Question: Can Flash Directly Use Sockets?
As the title says, I would like to know if Flash 8 or any version of flash can access sockets. For instance like winsock does. Using an IP and a port to send packets? I've seen it can connect to databases, but I haven't seen anything with it working with sockets, for instance a P2P chat using only an IP and a port to send an receive messages.

Load Directly Images From Database Into Flash
I wanna load directly images from database into flash, not with the help of their paths.I'll get the data in the binary form through web services and then i have to load that.
What are the ways of implementing this thing?

Can You Convert Flash Animations Directly To .flv Format?
Sorry if this seems like a basic question - but I don't have anything beyond Flash MX available to me.

Anyway - a client has contracted with a third-party developer to create a flash animation. This third party developer has said that "there's a bug converting the animation to .flv format." It's been a week so far that haven't been able to deliver the animation - and this sounds fishy to me.

My understanding was that you could export pretty much anything out of Flash as .flv - but I could be wrong.

Thoughts?

Scanning My Art For Animation
I want to take artwork, such as a color cartoon and import it into Flash and animate it. What are the best steps to do this? Do I scan in B&W and import the image, trace bitmap it, and try to manipulate it that way?
What works best?

Scanning An Array For A Value
I need to scan an array for a specific value, if that value is found I need to return true, if not, I need to return false. So far I've got this:

code:
function checkArray(value){
for(i=0;i<myArray.length;i++) {
if(myArray[i] == value) {
return true;
}
}
}


I'm just not quite shure where/how to tell it to return a false.

Scanning And Printing
Hi all,

I want to do something....but I'm not sure if it's possible....
Is it possible to use Flash in the following way...

Scan a piece of paper with numbers on it (like a ticket), have those numbers show up in a Flash movie and then print out those same numbers on your printer? Then start over with new numbers?

I don't think it's possible, but I thought I'd check.

Thanks!

[CS3] Scanning Menu HELP
Hi, I am working on an assistive software. I'm using FlashCS3, actionscript 2.0. I'm pretty new at actionscript. I need to create a menu that scans.

I have a switch hooked up to Flash via Tinkerproxy and that's all fine. Basically I need to jump slowly from menu option to the next menu option and then the person just need press the switch the option they want is highlighted. i assume i need some sort of array and delay function?

right now i have 8 buttons that just work on mouse click. i dont even know how or where to begin...

Scanning Text
Hi, I have a question relating to actionscript, not sure if I ill be using actionscript 2.0 or 3.0, they have flash cs 3 on the Macs at Uni but you can program in either as I recall.

Anyway basically what I want to do is have an application with the ability to scan through text someone has say copy and pasted into a text box and look for key words and then say if found 'thing' then print 'i found thing' or some other action. Even cooler would be the ability to read for a html document say, but thats really in the future maybe. Anyway know any references that would help with this? Or tutorials along these lines?

Thanks, David.

Scanning An Ean Code
Hello
I am trying to make a voting application . When I scan an EAN code the action I want to execute is an gotoAndStop action.
The question is how do a make a listner for the scanning job ?

Scanning Directory
hi~
Is there any way to scan a specific folder, and read all the file names inside that folder ?

[MX04] Can't Load Flash Files Directly From Browser
I'm really new here, so I don't know where to post my problem. I'm posting it here just in case.

I can't open Flash files in my Maxthon Internet Browser... I just installed Flash MX 2004 (with an update to 7.02) in my PC due to a reformat. Embedded Flash files in a webpage work fine, but when I try opening them directly (I mean typing the URL of the file <example: http://i34.photobucket.com/albums/d121/vytalibus/Hitorijime.swf>), they don't load!

I don't think my browser is the problem. I tried using IE as my browser, but the same problem came up. I concluded that there's something wrong with Flash.

And the silly thing is: Flash files saved on my computer DON'T LOAD IN MY BROWSER. However, they play when I open the files.

Help! I'm using Windows XP.

Scanning A Directory For Files
Is it possible to scan a directory from within a flash-document to get a list of image-files?

Scanning An Array For Dupes
Is there a way to "search" an array to see if an item already exists? I have created an array where people will enter their names. If the name already exists, I want to output a message saying that they're already registered and move them onto the next part of my movie.

Assuming I'm working with ...

nameArray // where I will store the names (This will actually be a SharedObject)

inputText_txt // Text box to input name

input_btn // Button to search for duplicate name and enter name into array if not duplicate

outputText_txt // Text box that outputs new name if person did not previously reside in array, or output name stored in array of returning participant.

Thanks in advance

Scanning Multiple Buttons
Hi

I still could not find a method how to know which button is pressed,
in case you have multiple (>10) buttons.

Image you put 16 buttons dynam. on stage (tr1_btn) ..(tr16_btn).

SIZE="2"]for (i=1; i<17; i++) {
duplicateMovieClip(tr0_btn, "tr"+i+"_btn", i);
_root["tr"+i+"_btn"]._y = 280.5;
_root["tr"+i+"_btn"]._x = indexpos;
indexpos = indexpos+29.6;[/size]


What code is able to know which button is pressed. ?

thx again

Scanning Objects On A Frame
Is there a way to scan the objects on a frame and obtain the instance names of all objects. I have the need to scan frames for all objects on the frame. Thanks.

Copyright © 2005-08 www.BigResource.com, All rights reserved