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




Attachment



attachment for self



FlashKit > Flash Help > Flash Newbies
Posted on: 09-02-2004, 11:50 PM


View Complete Forum Thread with Replies

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

X And Y Of Attachment
I'm making a RPG in Flash 5, but I can't get it to load the previous x and y positions of "man" or _root.map.man or even _root.man
Could somebody please post the actionscript I need to use? Thanks a lot. Seriously, I need this to work. If you want the FLA to try helping me out, please contact me on AIM.

Attachment
Sorry, Flashkit is like the best way I have of transfering my files Don't regard this post anyone just so I can have my file I made

Client Attachment
Here is the file for Client

File Attachment
When I try to upload an attachment I get this message: You have attempted to upload an invalid type of attachment. The valid extensions for attachments are: gif jpg png txt zip bmp jpeg fla swi sit psd ai What the hell am i doing wrong??

Email Attachment
A few years ago, I spent some time teaching myself authorware. I created a CBT that included a form. Each field in the form was saved as a separate variable. The CBT concatenated the variables down to a single variable by using something like the following:
FeedbackForm:=Label1^FName^Return^Label2^LName^Ret urn^Label3^Street^Return^ etc.
It then converted the new variable to a text file by:
1) creating a folder on the hard drive using the following command:
CreateFolder("C:\CBT\Record")
2) writing the concatenated variable to text using:
WriteExtFile("C:\CBT\Record\FormData.txt", FeedbackForm)
Lastly, it could launch an email to a specified address with the text file as an attachment.
Now I am spending my time more wisely by learning FLASH (which I am convinced is a FAR SUPERIOR tool).
So here is my question....
How do I achieve the same functionality that my CBT provided using FLASH MX 2004? Specifically, can I:
1) Concatenate variables to a single variable?
2) Write or convert variables to a text file or files?
3) Automatically attach a text file to an email that is generated from an email link?

What say you good people, can it be done?

E-mail Attachment
Is it possible to send an attachment file with a mailform flash + ASP ?
How can I do ??
Help me, please.

Attachment Link?
where is it? I have attempted to submit my first flash cartoon, and I see the paperclip, but cannot find the link to send the toon

Zipped Attachment
i was just seeing if i did this right, the zipped file thing. Anyway if this works can someone help me with this... it should explain it pretty well in the flash file, but if it is confusing, (because i am new here) just tell me and ill try and explain it thnks!

{i used MX 04}

Swf Attachment Problems
Hi all,

I had a problem making a sound button work on my fla file that had many scenes, so I made a new flash file, and had a button that when clicked would loadmovie onto empty movie clips on my stage... I made a movie clip for my music, and a movie clip for my whole picture movie swf.

somehow though, my picture movie works, but my music movie doesn't. Even the buttons on my picture movie (skyz) works, but the button in my music swf doesn't work.... can someone help me please? the action script that I used to attach the swfs is

on (release)
{
gotoAndPlay(2);
loadMovie ("music.swf", "music")
loadMovie ("Skyz_no music.swf", "skyz")
}

for my music.swf I can see my button, but when i click it it doesn't work. although when I view the swf on it's own, it does work

SendMail With Attachment?
Can i send mail from Flex/AS3 with Attachment via IMAP/SMTP?
Please answer... Thanks.

If/else Movie Attachment
URL: http://www.driveakamai.org/ --> click on Interactive Map in navigation

DESIRED MOD:
Replace default blue "i" button with red "i" where applicable.

DETAILS:
The line coordinates are drawn from items in an xml file. The "i"

button is there to pop up an info box within the movie. Items from the XML file read something like this for a default item with a blue "i":

<item>
<title>Moana Vista</title>
<description>Kapiolani Blvd.: No project related lane closures

scheduled</description>
<link>http://www.driveakamai.org/main/trafficadvisories.cfm</link>
<isNewUpdated>no</isNewUpdated>
<Alert>no</Alert>
<projectID>P19</projectID>
<Location>Kapiolani Blvd.: No project related lane closures scheduled</Location>
<Time></Time>
<typeOfProject>Day</typeOfProject>
<typeOfWork></typeOfWork>
<publish>yes</publish>
<date>1/29/2008</date>
<coordinates>green=1178,812.3s|1108,809.15|1078,795.45|</coordinates>
</item>

Some new items will have a <weekend> attribute, which will call a red "i" button, and will read as such:

<item>
<title>Moana Vista</title>
<description>Kapiolani Blvd.: No project related lane closures

scheduled</description>
<link>http://www.driveakamai.org/main/trafficadvisories.cfm</link>
<isNewUpdated>no</isNewUpdated>
<Alert>no</Alert>
<projectID>P19</projectID>
<Location>Kapiolani Blvd.: No project related lane closures scheduled</Location>
<Time></Time>
<typeOfProject>Day</typeOfProject>
<typeOfWork></typeOfWork>
<publish>yes</publish>
<date>1/29/2008</date>
<weekend>yes</weekend>
<coordinates>green=1178,812.3s|1108,809.15|1078,795.45|</coordinates>
</item>

QUESTION:
How do I go about doing this? Attached is what I believe to be the code that attaches the blue button. Can anyone give me some pointer(s) on this?

Thanks!







Attach Code

_root.attachMovie("info_menu","info_menu1",_root.getNextHighestDepth(),{_visible:false});

Email With Attachment
I'm building a picture gallery which allows the visitor to select items and email the site owner with a list. While the movie can send the list to the email's body, that's not ideal given the range of email clients, and it would be much better to generate a file attachment which could then be used in other order processing routines.

AFAICS Flash won't let me automatically generate and attach the text file - is that right? So I've got to look for other options. As the movie may run in static hosting environments, I can't depend on PHP. What other approaches should I consider?

John

Attaching An Attachment
hello all i am really having a real big problem ... i need to upload a fla to kirupa so that i can get some help but for some reason i cant ... i have tried compressing it but it is still too big, tho it is only 218kb?? how else can i upload this ??

$$

File Attachment
How do i attach a .fla file with my reply in kirupa's forum
When i start a new thread i could see Attach file option, but not when i reply. How do i attach the file in the reply ( in kirupa's forum)

Attaching An Attachment
hello all i am really having a real big problem ... i need to upload a fla to kirupa so that i can get some help but for some reason i cant ... i have tried compressing it but it is still too big, tho it is only 218kb?? how else can i upload this ??

$$

Button Attachment?
I have slight problem aligning and creating buttons on my navigation bar. I'm using attachMovie with a button in my library with an Identifier called "myBut". I want to create 7 buttons all in a row. Some how it doesn't seem to be working for me. It's not positioning the buttons correctly, only one appears. Anyone have any clue what could be going wrong in my code below??? any help would be greatly appreciated.


xPointer=50;
yPointer=100;
for(x=1;x <= 7;x++){
_root.attachMovie("myBut",["mybut"+x],0);
["mybut"+x]._x = xPointer;
["mybut"+x]._y = yPointer;
["mybut"+x].ts.text="O";
xPointer += 50;
}

Dynamic MC Attachment
Heya,

I'm pretty new to as3 so excuse me for this relatively noobish question.
In as 2, you could attach mc's to the stage and give them a new name like this:
Code:

x.attachMovie("linkagename", "newname"+i, this.getNextHighestDepth);
a thing that was very handy, was the way you could extend the instancename with an incrementing number, like i in the above sample.
in as 3 it'll go like this:
Code:

var y = new linkageName();
addChild(y);

but how do i set the instancename of y on the stage? because i want to let it increment like in the as 2 example.

Please help.

Thanks in advance,

Barry Alan

Email With Attachment
Dear All :)

I was looking forward and didn't find the form mail in FLASH
with possibility of adding and sending an attachment.

I just want it for my homewebsite by the way I could learn
how to make it work. Is there any FINISHED example
that I could download and/or change some attributes and
make it work for myself?

I'd be grateful for your help.
mrlame

Flash Email Attachment
I would like to attach a flash movie to an email which I'm sending...something like the "greeting cards" that I sometimes receive. Thought it would be fun to create personalized "cards". I'm very new to flash-learning from a few books and online tutorials...alot of trial and error.Anyway, I've gotten as far as creating a few layers with sound-nothing too spectacular just a cat on a sailboat in the wind.Thank you for any help.

Dynamic Attachment Of ScrollBar, Help
I am trying to dynamically attach a Scroll Bar to an instance of a newly created Text field at run time.

The problem is that the Scroll Bar does not see the text field as its target. It appears on the stage, but the two are not communicating.

I have tried using the setScrollContent method, but it has not worked.

Any thoughts on how to dynamically attach a scroll bar to a text field?

Sending Attachment While Using PHP In Flash
Hi there, is it possible that if a user files in a flash-php form and when clicked on send > an attachement .swf is send to the user's email, like an ecard.....or do I have to stick with a referring email adres in the mail?

Thanx

Flash PHP Form W/Attachment
Ok...I am trying to create a Flash form using PHP that will allow for the user to upload and send attachments. I can do the whole form thing w/Flash & PHP, pretty standard. I can also attach stuff using HTML and PHP, but not with Flash. I even got my Swf to browse for attachments, but it just doesn't send them.

check it: http://www.aaronmatthew.com/download/form_flash.html

any ideas? I have been all over the place trying to figure this one out.

--aaron

Char Ani Actionscript Help, Have Fla Attachment
i've attached the file im having problems with, basically, it's based off a tutorial found on the net. it shows how to animate characters. i've stripped it down to the simplest sceneario.

problem : in the last frame of scene1, I loop all movies and call gotoAndPlay("fade");. this is a tween label. so all the characters should fade away. but what happens, is all but the last few characters execute the fade tween.

any help appreciated.

thanks,
-john

Flash As An Attachment Hmmm
Is there anyway to export a flash file by email as an attachment so that it doesn't get blocked by firewalls.

I heard of a way that flash can auto open when the email is read, is that true?

Attaching And Animating That Attachment
Ive got this need>>>

I am looping through and attaching a number of tiles from the library.

I want these tiles to move into place via ascript.

each loop i call this function
-------------------------------------------------

function fZoomAndMove(which, goalX, goalY) {
//create the limits based on what and where we want to move


var acc:Number = 2;
this[which].booMove = true;
trace(this[which].booMove);
this.onEnterFrame = function() {
if (this[which].booMove) {
diffx = goalX-this[which]._x;
//trace("diffx = "+diffx);
this[which]._x += diffx/acc;
}
if (Math.floor(goalX) == Math.ceil(which._x) && Math.floor(goalY) == Math.ceil(which._y)) {
which.booMove = false;
trace("there");
}
};
}

------------------------------------------------


but what is happening is that the loop is running and re-running the same function so only the last tile moves.

Is there a technique to solve this kind of thing. I dont want to use frames or tweening. My function works fine for individual moves.
thanks

mojito

Flash Form With Attachment
Hello.

Does anyone know how to create a flash form with attachment capability? Basically the form's informations will be sent to an email address having a photo as an attachment. So i need help with the php part too.

Any help would be highly appreciated.

Thanks.

[F8] Email With Capability To Add Attachment
hi,
i want to have an email form on my site that also allows the user to uplad an attachment....how would this be done?

Game Help - Attachment Script
Hi there.

I'm trying to make a game, and part of the game consists of placing a map on the screen, and then placing a few objects on top of them.

My problem is that I can't find these objects.

Here is the code:

ActionScript Code:
// creating a object to store information
var LEVEL:Object = new Object();
LEVEL.level  = 1
LEVEL.targets   = 5
LEVEL.map      = ["map" + LEVEL.level]
LEVEL.map.x0    = 0;
LEVEL.map.y0    = 0;

  // initializing game
StartGame(LEVEL);

  // function to start buiding game (don't care about loadMap)
function StartGame(LVL:Object){
    Mouse.hide();
    loadMap(LVL.map)
    placeTargets(LVL.targets,LVL.map);
}

  // this place is where I meet the difficulties.
  // I can place the "target" MovieClip, and access it's positionparameters, but
  // I can't see them. Even though their depth is a higher number than
  // everything else on screen.

function placeTargets(ant:Number,map:String) {
    var depth = 100;

    for (i = 1 ; i <= ant ; i++) {
        targetMan = ["target" + i]
        _root[LEVEL.map].attachMovie("target",targetMan,depth);

          // this while is to assure that the "targetMan" object is placed
          // within a clip named "ground" in the "map1" MovieClip.
while(!_root[LEVEL.map].ground.hitTest(targetMan._x,targetMan._y,true)) {
       
            trace(target + " not on ground, repositioning");

            targetMan._x = random(screenWidth);
            targetMan._y = random(screenHeight);
        }
        depth++;       
    }   
}

Anyone who can see the problem? Thanx in advance

Send Jpg Or Png From Flash App As An Attachment
I am developing an application that will allow users to take a snapshot of the drawing that they have created, and send the drawing image as an attachment to a friend using my Flash/PHP e-mail form.

What I have done so far:
1. My Flash/PHP e-mail form is working great, except that I don't know how to send an attachment.

2. I can take a snapshot of a movieclip in Flash using the new BitmapData class, but cannot convert it to jpg or any other image file.

I found this link:
This has an excellent, but somewhat complicated method to convert a Flash clip to an image file that can be sent to the server. Unfortunately, the developer want $300.00 from anyone interested in using his class.
http://www.quasimondo.com/archives/000572.php

What are my questions:
1. How to send an attachment directly from Flash, using PHP?
2. How to convert a movieclip to an image file (either jpg or png)?

Thanks very much.

Possible To Send E-mail With Attachment?
Hello everyone. Quick question. Is it possible to have a Flash 8 SWF open up the default e-mail client on a PC and send an email with a PDF attachment?

If so, how can this be done? Can it be done natively in Flash or do I have to buy a 3rd party add on for this?

Thanks!

JazzMan

Sending Email Attachment?
I saw this in another thread and it works fine:
var helpEmail:String="mailto:help@mysite.com?subject=H elp%20Request%20For%20Product:%20KX&body=Product:% 20KX%0DConcise%20problem%20statement:%0DSteps";
var requestEmail:URLRequest = new URLRequest(helpEmail);
navigateToURL(requestEmail);

Can anyone tell me what I'd have to add if I want to send an attachment with the email.

I have the absolute path to the attachement.

Many thanks in advance.

Sending A Email With An Attachment
So I am working on an flash application built in AS3.0 that has the user generating PDF's with AlivePDF. I would like to have the PDF emailed to me, so I consulted a few PHP + Flash emailing tutorials but none look like exactly what I am looking for. Is it possible to have a email generated in AS3.0 + PHP, with an attachment that was 'generated' only moments ago? Any links, coding, or help at all would be appreciated.

Sendmail With Attachment From Flash
Hi folks,

Sendmail with attachment from flash anyone? l cant find much out there on this - l have flash 8 and gather filereference is the thing to use but frankly l'm lost without and example.

Can anypne direct me to one?!

Sending A File Attachment
Is it possible to send a file attachment with a mailform with Flash and ASP ?
How can I do ??
Please help me.

Sending Mail With Attachment
hi

i have created a simple drawing tool in flash. i want to give it onmy web site for comptition of drawing, when any user draw & complete its own drawing, he click on a button of send email & that drawing which user creatd should mail to my email, plz tell me how i can do this...

Script Attachment Problem
Hi everyone

This is my first post and I was wondering if anyone could help me. I'm making an artefact that measures the speed of the mouse through trigonometry. The xmouse and ymouse values are displayed in a dynamic text field called "mouseCoord" and the distance between the position of the cursor in the last and current frames is in the text field "hypot" (hypotenuse)

I managed to put it together and attach it to a movie clip but to keep all of my script in one place I wanted to make it a frame script. The code below works insofar as it displays the xmouse and ymouse values. The only problem is that the hypotenuse value isn't displayed or even generated. I'm absolutely stumped on this one. I need a Flash guru. please help

Thanks

Jim

createEmptyMovieClip("speedCheck", 1)

speedCheck.onLoad = function() {
lastx=_root._xmouse;
lasty=_root._ymouse;
function distance(x1,y1,x2,y2){
distx=x2-x1;
disty=y2-y1;
return Math.sqrt(distx*distx+disty*disty);
}
}

speedCheck.onEnterFrame = function() {
_root.mouseCoord.htmlText = "X:"+parseInt(_root._xmouse)+", Y:"+parseInt(_root._ymouse);
speed = distance(_root._xmouse,_root._ymouse,lastx, lasty);
lastx=_root._xmouse;
lasty=_root._ymouse;
variable = (_root.speedCheck.speed);
_root.speedCheck.speed = (math.floor(speed * 10)/10);
trace (_root.speedCheck.speed);
_root.hypot.htmlText = "Hypotenuse:"+(_root.speedCheck.speed);
}

Attachment From Array Using Shuffle
i have 10 blank movie on stage that get a question attached to them.

how can I get the each blank mc to display a diferect question from the array using the shuffle function

all the best to the guys and girls in dev shed
here is my code so far

Code:


function shuffle(){
return Math.round(Math.random()*10);
}
myArray=["Q1", "Q2", "Q3", "Q4", "Q5", "Q6", "Q7", "Q8", "Q9", "Q10", "Q11", "Q12", "Q13", "Q14", "Q15", "Q16", "Q17", "Q18", "Q19", "Q20"];

myArray.sort(shuffle);
trace(myArray);

for (i=0; i<10; i++) {
_root.blank1.attachMovie(myArray[i], myArray[i], 1);
_root.blank2.attachMovie(myArray[i], myArray[i], 1);
_root.blank3.attachMovie(myArray[i], myArray[i], 1);
_root.blank4.attachMovie(myArray[i], myArray[i], 1);
_root.blank5.attachMovie(myArray[i], myArray[i], 1);
_root.blank6.attachMovie(myArray[i], myArray[i], 1);
_root.blank7.attachMovie(myArray[i], myArray[i], 1);
_root.blank8.attachMovie(myArray[i], myArray[i], 1);
_root.blank9.attachMovie(myArray[i], myArray[i], 1);
_root.blank10.attachMovie(myArray[i], myArray[i], 1);
}
shuffle();

Sending Copy Of Swf, From Orignal As Attachment
I am creating a quiz that will be an swf file. When the student completes the quiz i would like them to be able to send the completed quiz to their instructor as an email attachment. The instructors url, amongst other info, would be entered as a variable on the first page. On the last page I would like to script a "submit Quiz" button that would take the email variable, stick it in the url field, and send a copy of the completed quiz as an attachment. Thanks for any help.
Chris Erickson

Sending Copy Of Swf, Sent From Orignal As Attachment
I am creating a quiz that will be an swf file. When the student completes the quiz i would like them to be able to send the completed quiz to their instructor as an email attachment. The instructors url, amongst other info, would be entered as a variable on the first page. On the last page I would like to script a "submit Quiz" button that would take the email variable, stick it in the url field, and send a copy of the completed quiz as an attachment. Thanks for any help.
Chris Erickson

Attachment Field In A Dynamic Form
I have a CD interface created in flash 5 and a form inserted in it. I want to know if it's possible to add an attachment field with the "Browse" button in the form popop, for allowing the user to attach a file before sending his request..

any idea ?.. a browse button for browsing his HD to attach the file..

thanks for ur time..

Hscroll Issue (attachment Included)
Hi All,


I am confused why as soon as I start moving the horizontal scroll position in the dynamic textfield (by clicking the button which increments the hscroll value), the background becomes solid white whereas initially it was transparent.

Is there a work around with this? or is it a bug?

I attached the file here.

Let me know your opinions.

Thanks a Bunch!
Butch

Attachment

Action To Add Attachment In Flash And Send
We're working in FlashMX, and we need to allow people to add an attachment and send it with the rest of the text from a form they'll be filling out. The variables and text info will be sent directly from the Flash page, but we want to let the people browse for and add attachments if desired. The entire web site was done in FlashMX.

Or is there some other way around this without reworking the whole site between Flash and Dreamweaver. We work in Macintosh, so ColdFusion appears to be out.

Action To Add Attachment In Flash And Send
We're working in FlashMX, and we need to allow people to add an attachment and send it with the rest of the text from a form they'll be filling out. The variables and text info will be sent directly from the Flash page, but we want to let the people browse for and add attachments if desired. The entire web site was done in FlashMX.

Or is there some other way around this without reworking the whole site between Flash and Dreamweaver. We work in Macintosh, so ColdFusion appears to be out.

Email Submit With Add Attachment Form
Is the such thing as Email submit with add attachment Flash form. I want to have my webpage to have a flash email submit form that allows the person that is emailing me to submit there pictures and files using the attach file "browse" button having a little bit of trouble with it. attached is the file I'm working on. Thanks

Can Someone Look At This Attachment And Help Me Figure A Mouse Over Effect
Hey I put this is the simplest for possable, I have a object following the mouse but I want it to follow the mouse just over a specific part (the grey bar) check out this attchement and give me some ideas. thanks


cary

Advice Needed. (includes Attachment)
I have been working on a company logo in Photoshop, which I was going to import into flash. However the image I have created is too large and id really like to reproduce it in Flash to save the download time.

So far i have failed miserably. Can anyone give me some advice? The main problem encountered is the gradients and drop shadows. Any tutorials on the web would be also beneficial.

Do not worry about the two letters as I am going to import those. Its just the grey circle background which I want to make.

Thanks in advance.

Lee.

Attachment In Flash Form? Posible
Hey,

Well here it is . I've been looking for a way to have a flash email form that has the ability to add an attachment to the email. (located on the clients machine)


the use of PHP, JavaScript, Cold Fusion or Any Crazy mixture of anything... is welcome..

if you think it can't be done please post why.

I've yet to see this done but now I need to do it. And I think hearing anything you have to say might help.

thanks
_mediamake

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