Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-29 Thread natalia Vikhtinskaya
Unfortunately that new code still does not show video on iPad. * I noticed that / is missed in source tag for video and added it but that does not help.* source src=jack_giant_video.mp4 type=video/mp4 */*\n'+ 2014-07-28 21:40 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Hi Natalia, Here

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-27 Thread natalia Vikhtinskaya
'; } document.getElementById(video).innerHTML = videoCode; } /script /head body div id=video/div script type=text/javascript loadVideo(); /script /body /html 2014-07-25 20:43 GMT+04:00 natalia Vikhtinskaya natavi.m...@gmail.com: Yes, Flash is priority. So I use what Karl offer with JavaScript. Solution without

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-25 Thread natalia Vikhtinskaya
Yes, Flash is priority. So I use what Karl offer with JavaScript. Solution without JavaScript unfortunately does not work. It would be nice because it is shorter way. 2014-07-25 14:06 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: You got the priorities wrong. He wants to use Flash if

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-22 Thread natalia Vikhtinskaya
and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-22 Thread natalia Vikhtinskaya
agent sniffing, check whether the browser supports video tags. This library is all you need. http://modernizr.com/ Then you can simply do: if(Modernizr.video){ //code to show html5 video } else { //code to show flash video } On Tue, Jul 22, 2014 at 8:57 AM, natalia Vikhtinskaya natavi.m

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-21 Thread natalia Vikhtinskaya
-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com

[Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-20 Thread natalia Vikhtinskaya
Hi I am trying to find a simple way to show video file for devices that don't have Flash Here is the code div id=video style=display:none OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; WIDTH=900 HEIGHT=575 PARAM NAME=src

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-20 Thread natalia Vikhtinskaya
+04:00 Ross P. Sclafani ross.sclaf...@gmail.com: You don't embed QuickTime for iOS, you use the html5 video tag. Whatever solution you use should do that when flash isn't detected. Sent from my iPhone On Jul 20, 2014, at 3:36 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Hi I

Re: [Flashcoders] Html coding: video for iPad and Flash on one page

2014-07-20 Thread natalia Vikhtinskaya
I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
On Mon, Feb 24, 2014 at 1:02 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Not sure I understand how I can use this information in Flash Cs6. I created app in this program as Air 3.2 for Desktop. I have only two options - Windows Installer and App with runtime embedded

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
the user to have administrative permissions. best Hans On 3/1/2014 11:09 AM, natalia Vikhtinskaya wrote: Thank you all for the help. Finally I understand where is problem. I created App with runtime embedded. Then I used Advanced Installer http://www.advancedinstaller.com/ and created installer

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
in the same folder as exe file with app. 2014-03-01 15:19 GMT+04:00 natalia Vikhtinskaya natavi.m...@gmail.com: Installer put app to c\programfiles\companyname\folder\folderwithapp Installer do the job and copy files.The App when it placed in Program files folder with subfolder with xml fil does

Re: [Flashcoders] Air Windows installed app

2014-03-01 Thread natalia Vikhtinskaya
Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: natalia Vikhtinskaya skriver: This is code in app var appDirectory:File = File.applicationDirectory

Re: [Flashcoders] Air Windows installed app

2014-02-23 Thread natalia Vikhtinskaya
as a bundle. When a user uninstalls your app, the runtime gets uninstalled with it. regards, Peter On 23/02/2014 7:28, natalia Vikhtinskaya wrote: Thank you for help. I try to describe situation better. When I publish app as Windows installer the user can take my exe file and install

Re: [Flashcoders] Air Windows installed app

2014-02-22 Thread natalia Vikhtinskaya
saving the files to? You can't write to the application's folder when deployed but might work when you are testing on your machine. You need to be writing to a user folder, document folder, etc. anywhere but a subfolder of the Programs folder. On Feb 17, 2014, at 6:33 AM, natalia Vikhtinskaya

[Flashcoders] Air Windows installed app

2014-02-17 Thread natalia Vikhtinskaya
Hi to all. I solved all problems with xml editor in flash. I created AIR app that loads and saves xml after editing. I created Windows installer app. It works well on XP and Win 8. But when the user installs it on his pc (I think he has no AIR program on it) app plays but not saves files . What do

[Flashcoders] XML editing question

2014-02-13 Thread natalia Vikhtinskaya
Hi to all who is here in the list. Sorry, I need your help again //I filter big xml file to XMLList to see all node with topics for selected subject topicList=xmlSets..subject.(@sbjName==subjectCb.selectedLabel).topic; //place result to a text box xmlText.text= topicList; //edit text with

Re: [Flashcoders] Looking for simple solution to edit xml inside flash file

2014-02-12 Thread natalia Vikhtinskaya
. John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Feb 12, 2014, at 12:54 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Hi to all I need to find simple for user way to edit information in xml file (delete, add

Re: [Flashcoders] Looking for simple solution to edit xml inside flash file

2014-02-12 Thread natalia Vikhtinskaya
as a start and then try and incorporate/modify it into your project. Good luck, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Feb 12, 2014, at 3:28 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need system

Re: [Flashcoders] Looking for simple solution to edit xml inside flash file

2014-02-12 Thread natalia Vikhtinskaya
, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Yes, I see that no good solution. I use textField for editing node after selection. But I have problem with deleting node. Maybe you can give me advice. I select this is title titleName=First Words 1set1/title //var node:XMLList

[Flashcoders] Looking for simple solution to edit xml inside flash file

2014-02-11 Thread natalia Vikhtinskaya
Hi to all I need to find simple for user way to edit information in xml file (delete, add, edit). Is that possible to do with data grid or scroll list? I can not use outside CMS for xml I have to find way to do that in flash. Something like -click btn edit-editable table of nodes on the screen

Re: [Flashcoders] Read and save xml file on disk

2014-02-10 Thread natalia Vikhtinskaya
as the target, I think security issues prevent you from doing this. HTH, --Dave -- From: natalia Vikhtinskaya natavi.m...@gmail.com Hi to all friends I have to create stand alone application that can read xml file then after

Re: [Flashcoders] Read and save xml file on disk (natalia Vikhtinskaya)

2014-02-10 Thread natalia Vikhtinskaya
...@chattyfig.figleaf.com When replying, please edit your Subject line so it is more specific than Re: Contents of Flashcoders digest... Today's Topics: 1. Read and save xml file on disk (natalia Vikhtinskaya) -- Message: 1

Re: [Flashcoders] Read and save xml file on disk

2014-02-10 Thread natalia Vikhtinskaya
by a user interaction. On Feb 10, 2014, at 5:55 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you for your answers. Unfortunately I don't know AIR or Zinc. I looked for a way to publish this application as swf file and then convert it to exe. I did that before with games. So

Re: [Flashcoders] Read and save xml file on disk

2014-02-10 Thread natalia Vikhtinskaya
...@chattyfig.figleaf.com [ flashcoders-boun...@chattyfig.figleaf.com] on behalf of natalia Vikhtinskaya [natavi.m...@gmail.com] Sent: 10 February 2014 15:14 To: Flash Coders List Subject: Re: [Flashcoders] Read and save xml file on disk Here how I try to save xml in the same folder where is my app

[Flashcoders] Read and save xml file on disk

2014-02-09 Thread natalia Vikhtinskaya
Hi to all friends I have to create stand alone application that can read xml file then after editing save it on the disk. I need to do that by FlashCs6. I know that FileReference.load() : Loads data from a file selected by the user. FileReference.save() : Saves data to a file location selected by

[Flashcoders] Convert flash to mp4 video

2013-05-22 Thread natalia Vikhtinskaya
Hi I need to convert fla with highlighting text. Frs=12 in this fla. I exported it to mov file with settings 12 (and as test 25). Files plays fine. Then I converted to mp4 with Movavi convector. In that file animation(highlighting) plays faster than sound. Xilisoft convector has the same problem.

Re: [Flashcoders] (no subject)

2013-05-17 Thread natalia Vikhtinskaya
Yes, I saw this link and that does not help. In Metro mode only Adobe.com plays!. I read a lot of questions about that problem in Internet without any working solution. I also found another problem. Flash plays only in Desk mode and only from Internet. If the html with flash runs from my pc flash

[Flashcoders] (no subject)

2013-05-15 Thread natalia Vikhtinskaya
Hi To all problems that Flash has I found new. I tested some flash sites in Windows 8 Metro and found that some pages with flash sites does not play. Adobe.com plays well. What reason can be for other sites? Some sites said you need to upgrate you Flash player if they use swfobject, some just

[Flashcoders] Adobe Flash future

2013-05-08 Thread natalia Vikhtinskaya
Hi What do you think about Flash technology in the near future? It is a pity but it seems that almost all clients have no interest in Flash projects. Do you think Adobe Flash has no future? Where to move from Flash? Thanks ___ Flashcoders mailing list

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread natalia Vikhtinskaya
. I can't count the number of times I've heard people apologize when presenting something that was built in Flash, as though it were shameful or unprofessional. That kind of stigma is tough for any technology to overcome. .m On Wed, May 8, 2013 at 10:40 AM, natalia Vikhtinskaya natavi.m

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread natalia Vikhtinskaya
Right now there are over 25,000+ apps in the App store and/or iTunes. But they did not create in Flash I think. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Flash to animated gif without looping

2013-04-26 Thread natalia Vikhtinskaya
Hi The client wants to convert flash animation to gif animation. Flash animation has stop() at the end. This is simple task but I can not make gif stop and not looping. I tried solution that I found in Internet – when export to gif use animation 1 repetition. That does not help. I can not find

[Flashcoders] pull in html section to Flash

2012-11-20 Thread natalia Vikhtinskaya
Hi to all I need advice. Is that possible to build a Flash/AS3 file that can pull in HTML data from a website? The site has a comment section (similar to this http://www.td.com/to-our-customers/tdhelps/#.UKwHy4fhr4W) and I need that section to display, in real time, in the Flash file. We also have

Re: [Flashcoders] pull in html section to Flash

2012-11-20 Thread natalia Vikhtinskaya
piece. HTH, Best, Karl On Nov 21, 2012, at 12:55 AM, natalia Vikhtinskaya wrote: Hi to all I need advice. Is that possible to build a Flash/AS3 file that can pull in HTML data from a website? The site has a comment section (similar to this http://www.td.com/to-our-customers/tdhelps

[Flashcoders] Button events under mc

2012-07-09 Thread natalia Vikhtinskaya
Hi to all. I have button under Movie clip. In AS3 button does not have events OVER or CLICK in place where is this mc. In AS2 that worked without such problem. How can I have button events on entire button ? Thank in advance. ___ Flashcoders mailing

Re: [Flashcoders] Button events under mc

2012-07-09 Thread natalia Vikhtinskaya
movieclip to false. hth, h On 9-7-2012 20:00, natalia Vikhtinskaya wrote: Hi to all. I have button under Movie clip. In AS3 button does not have events OVER or CLICK in place where is this mc. In AS2 that worked without such problem. How can I have button events on entire button ? Thank

Re: [Flashcoders] Button events under mc

2012-07-09 Thread natalia Vikhtinskaya
CS5.5 2012/7/9 Cor c...@chello.nl: Which version of Flash do you have? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: maandag 9 juli 2012 21:02 To: Flash Coders List

Re: [Flashcoders] Button events under mc

2012-07-09 Thread natalia Vikhtinskaya
? On 9-7-2012 21:11, natalia Vikhtinskaya wrote: CS5.5 2012/7/9 Cor c...@chello.nl: Which version of Flash do you have? -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent

Re: [Flashcoders] Button events under mc

2012-07-09 Thread natalia Vikhtinskaya
THANK YOU Hans!!! I did something wrong. Yes, that works! Thank you to everyone for help! 2012/7/9 Hans Wichman hans.wich...@gmail.com: i just did the same here, and it works perfectly. txt.mouseEnabled = false; On 9-7-2012 21:24, natalia Vikhtinskaya wrote: Yes I tried mouseEnabled

[Flashcoders] Count Down timer

2012-02-16 Thread natalia Vikhtinskaya
Hi I have a code on timeline for countDown that works well for mc timerObj import com.flashspeaks.utils.CountdownTimer; import com.flashspeaks.events.CountdownEvent; var currentYear:Number = new Date().fullYear; var targetDate:Date = new Date(2012, 1, 17); var countdown:CountdownTimer=new

[Flashcoders] Sound control problem

2012-02-16 Thread natalia Vikhtinskaya
Hi I have mute button with class linked to this mc in the library package lib { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class MuteControl extends flash.display.MovieClip { private var _so:SoundTransform;

[Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
Hi I want to convert Flash application to iPad. Flash is frame based animation with streaming sound, masks and buttons Back/Next/Stop/Play. I googled this subject and did not find any useful information with examples. Please give me advice where to learn more. Thank you in advance.

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
__ * On Wed, Sep 21, 2011 at 4:29 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Hi I want to convert Flash application to iPad. Flash is frame based animation with streaming sound, masks and buttons Back/Next/Stop/Play.  I googled this subject and did not find any useful information

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
the free SDK to compile the necessary app. Make sure to use at least AIR 2.7 (especially if you target CPU mode), as it's much much faster than previous versions. Which do you mean? Kevin N. On 9/21/11 6:59 AM, natalia Vikhtinskaya wrote: I want to convert Flash application to iPad

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread natalia Vikhtinskaya
://gotoandlearn.com/play.php?id=133 Kevin N. On 9/21/11 12:50 PM, natalia Vikhtinskaya wrote: I have Flash CS5. And I try to find way to convert animation into iPad application. Flash file has not much scripting: stop() and script for navigation buttons. So I have two questions: 1. What format should

[Flashcoders] f4v video does not play in test mode

2011-04-26 Thread natalia Vikhtinskaya
Hi When I test movie with f4v video in Flash CS3 it does not play. But it does play when I test this swf in browser. Both test situations have video on my pc. What the reason of that can be? Thanks in advance ___ Flashcoders mailing list

Re: [Flashcoders] f4v video does not play in test mode

2011-04-26 Thread natalia Vikhtinskaya
Thank you! 2011/4/26 Henrik Andersson he...@henke37.cjb.net: The test player in the IDE is too old. f4v support was added to the player after CS 3 was released. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] video fast forward button

2011-04-21 Thread natalia Vikhtinskaya
Hi I need to use fast forward button in ns stream video code. How I can forward video to the last point of the video that has been already loaded? Thank you in advance ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Export QT mov with 29.97

2011-04-01 Thread natalia Vikhtinskaya
Hi Flash file has frame rate 30. I need to export it to H264 with frame rate 29.97. When I select these settings I get mov file with frame rate 29.41. I don't understand why that happened. How can I get 29.97? Thank you in advance. ___ Flashcoders

[Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
Hi I am trying to use full screen mode. I tested this example for AS2 http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html Here is a test html with goScaledFullScreen function http://www.mightybook.com/test/adobeAS2.html As you can see in full mode content disappears. The same

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
rectangle is at the bottom right hand corner of my screen and I have white bars top and bottom - maybe the swf doesn't match my screen proportion - 1280 x 1024    Glen On 24/02/2011 09:48, natalia Vikhtinskaya wrote: Hi I am trying to use full screen mode. I tested this example for AS2 http

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
AM, natalia Vikhtinskaya wrote: Hi I am trying to use full screen mode. I tested this example for AS2 http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html Here is a test html with goScaledFullScreen function http://www.mightybook.com/test/adobeAS2.html As you can see

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
xfs:ContextMenuItem = new ContextMenuItem(Exit Full Screen, exitFullScreen); fullscreenCM.customItems.push( xfs ); Stage.addListener(Stage[displayState] == fullScreen, onFullScreen); _root.menu = fullscreenCM; Works for me.. :) Best, Karl On Feb 24, 2011, at 3:48 AM, natalia

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
is fine with 10.1.85.3 10,2,152,26    Firefox 3.6.13 is fine with 10,2,152,26    Cache problem?    Glen On 24/02/2011 10:09, natalia Vikhtinskaya wrote: I see white empty screen in full mode. IE 8, FireFox 3.6, FlashPlayer 10 2011/2/24 Glen Pikeg...@engineeredarts.co.uk: Hi,    It looks

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
file (I believe) And I don't think you can use one movie to make another fullscreen. Did my link work for you? Karl On Feb 24, 2011, at 6:54 AM, natalia Vikhtinskaya wrote: Karl, thank you for your help. I see something wrong on my side. I also don't see any youtube fullscreen video. But I

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
the uninstaller:    http://www.adobe.com/support/flashplayer/downloads.html#uninstaller    Check out this post about similar complaint - it might help resolve it, I don't know.    Glen On 24/02/2011 12:54, natalia Vikhtinskaya wrote: Karl, thank you for your help. I see something wrong on my

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
file can go fullscreen. Karl On Feb 24, 2011, at 7:31 AM, natalia Vikhtinskaya wrote: I uninstaled and installed FP again. Result is the same. FP doesn't show content in full mode. 2011/2/24 Glen Pike g...@engineeredarts.co.uk: Hi,   This sounds like a video driver problem, although I am

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
I found some here http://forums.adobe.com/thread/659297?tstart=0 How can I open Settings Manager or what new drivers I need for Flash Player 10? 2011/2/24 natalia Vikhtinskaya natavi.m...@gmail.com: Yes playing swf locally stand alone or as projector file gives the same effect in full screen

Re: [Flashcoders] Exploring full-screen mode

2011-02-24 Thread natalia Vikhtinskaya
 http://www.google.com/support/forum/p/Chrome/thread?tid=74fc99d821fed64ahl=en    Hopefully this might help    Glen On 24/02/2011 13:31, natalia Vikhtinskaya wrote: I uninstaled and installed FP again. Result is the same. FP doesn't show content in full mode. 2011/2/24 Glen Pikeg

[Flashcoders] full screen rectangle

2011-02-23 Thread natalia Vikhtinskaya
Hi to all Two years ago I saw a link with working example full screen restangle AS2 sent by Muzak. This link does exist now. Can anybody resend working example with full screen restangle ? Code example that I try from adobe documentation does not work for me. Thank you!

[Flashcoders] Multiline text width

2011-02-21 Thread natalia Vikhtinskaya
Hi I have multiline dynamic text box. Text can have different width because it is html text and has br. I need to know text width. If I use txt. autoSize = left that does not have effect for multiline text box. What possible solution? Thanks in advance.

Re: [Flashcoders] Multiline text width

2011-02-21 Thread natalia Vikhtinskaya
Cor c...@chello.nl: Give your text box a width Set : wordWrap = true; mulitLine = true; HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: maandag 21 februari 2011

[Flashcoders] Unique array AS3

2011-01-13 Thread natalia Vikhtinskaya
Hi I use function that creates unique array function uniqueRandomInt(min:Number, max:Number, n:Number) { var a:Array = []; var i:Number = min; while (a.push(i++)max) { ;

Re: [Flashcoders] Unique array AS3

2011-01-13 Thread natalia Vikhtinskaya
use 3 as the multiplier and floor it; the result should be 0, 1 or 2 (this will have as much randomness as Math.random provides). Now substract 1 and you'll get -1, 0 or 1, which is what you want for your sort function. Cheers Juan Pablo Califano 2011/1/13 natalia Vikhtinskaya natavi.m

Re: [Flashcoders] Unique array AS3

2011-01-13 Thread natalia Vikhtinskaya
randomness as Math.random provides). Now substract 1 and you'll get -1, 0 or 1, which is what you want for your sort function. Cheers Juan Pablo Califano 2011/1/13 natalia Vikhtinskaya natavi.m...@gmail.com Hi I use function that creates unique array function uniqueRandomInt(min:Number

[Flashcoders] from AS2 to AS3

2011-01-13 Thread natalia Vikhtinskaya
I need to convert game from AS2 to AS3. This game has movie clip “_items” on the stage with frames. Each frame has different mc. frame 1- has mc “item1” frame 2- has mc |”item2” … _items.gotoAndStop(2) trace(_items.item2) // for AS2 it gives mc In AS3 it gives none (it works correctly only

[Flashcoders] text to array

2010-12-30 Thread natalia Vikhtinskaya
Hi I need convert text that loads from txt file to array. Text looks like these lines: ;Start;End;Event;Location;Sponsor; ;Start;End;Event;Location;Sponsor; ;Start;End;Event;Location;Sponsor; … I need array of lines [line1,line2,line3,…] How I can do that? Thank you in advance.

Re: [Flashcoders] text to array

2010-12-30 Thread natalia Vikhtinskaya
docs. HTH, Willem van den Goorbergh On 30 dec 2010, at 17:12, natalia Vikhtinskaya wrote: Hi I need convert text that loads from txt file to array. Text looks like these lines: ;Start;End;Event;Location;Sponsor; ;Start;End;Event;Location;Sponsor; ;Start;End;Event;Location;Sponsor

Re: [Flashcoders] text to array

2010-12-30 Thread natalia Vikhtinskaya
= alltxt.split(\n); // 0x0a, linux/osx lines = alltxt.split(\r); // 0x0d, old macs Try \r\n first. If that doesn't work, then it's \n or \r. Zeh On Thu, Dec 30, 2010 at 2:14 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Yes, I understand that I should use split method. If I do arrayTxt

[Flashcoders] Remove video sound

2010-12-11 Thread natalia Vikhtinskaya
Hi I have problem with video sound. It is AS2. Sound starts with this code var so:Sound; var vSound:MovieClip; vSound=theVideo.createEmptyMovieClip(vSound,theVideo.getNextHighestDepth()); vSound.attachAudio(ns); so=new Sound(vSound); so.setVolume(100); on close button

[Flashcoders] Masked mc and total size

2010-12-08 Thread natalia Vikhtinskaya
Hi I have mc content_mc with 3 mc inside. Each of them has image with different size and masked with size 100px width. I expected to get total size for container_mc 3*100. But it is not true. When I trace(content_mc._width) it gives me 497. I need correct calculation for content mc. What I can

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread natalia Vikhtinskaya
Mask is 100px width. Image is 200px width. Putting 3 masked mc in one container don't give 300px width. 2010/12/8 Henrik Andersson he...@henke37.cjb.net: Glen Pike skriver: mc.mask.width? What if the maskee is smaller? What if the mask and the maskee only partially overlaps?

Re: [Flashcoders] Masked mc and total size

2010-12-08 Thread natalia Vikhtinskaya
How I can check how they intersect? Can you explain at this example how I should calculate total size? 2010/12/8 Henrik Andersson he...@henke37.cjb.net: natalia Vikhtinskaya skriver: Mask is 100px width. Image is 200px width. Putting 3 masked mc in one container don't give 300px width

[Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
I have some MovieClip with rollOver and rollOut functions. They overlap each other. After click on top mc it moves out and in this place show up another clip. But rollover for this next mc starts only if I move mouse out from this clip and place it again. Only after that I see rollover effect. How

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
What do you mean? 2010/11/8 Cor c...@chello.nl: Maybe using mouseover solve it for you? Regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: maandag 8

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
already over it. HTH, Best, Karl On Nov 8, 2010, at 6:16 AM, natalia Vikhtinskaya wrote: What do you mean? 2010/11/8 Cor c...@chello.nl: Maybe using mouseover solve it for you? Regards, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
Sorry I sent without question. Should I uttach this invisible button to each box? How then Rollover funtion should look? 2010/11/8 natalia Vikhtinskaya natavi.m...@gmail.com: Here is code init=function(){           for (var i:Number=1; i=maxId; i++){ var box:MovieClip

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
the new MCs onRollOver state and let the mouse do its job. :) http://www.kirupa.com/developer/actionscript/swapdepth.htm HTH, Best, Karl On Nov 8, 2010, at 7:10 AM, natalia Vikhtinskaya wrote: Sorry I sent without question. Should I uttach this invisible button to each box? How

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
= null; }; I am reaching at this point. :) HTH, Karl On Nov 8, 2010, at 7:10 AM, natalia Vikhtinskaya wrote: box.onRelease=function(){                                       ///move it out                       } Karl DeSaulniers Design Drumm http://designdrumm.com

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
2010/11/8 natalia Vikhtinskaya natavi.m...@gmail.com: Nothing of that helps. 2010/11/8 Karl DeSaulniers k...@designdrumm.com: Try box.onRelease = box.onReleaseOutside = function(){        //move out }; maybe? Your box moves before its released, so this may work. Hopefully it wont fire

Re: [Flashcoders] RollOver AS2

2010-11-08 Thread natalia Vikhtinskaya
I mean that I disabled buttons during transitions but then it does not run again because event has already happened. 2010/11/8 natalia Vikhtinskaya natavi.m...@gmail.com: Yes, I did that and that was my logic mistake. I should not do that. THANK YOU VERY MUCH to everybody for help!!! I could

Re: [Flashcoders] Converting fla to mov

2010-10-25 Thread natalia Vikhtinskaya
perfect of solutions, but like I said when I started this. I have had much success. HTH, Best, Karl On Oct 24, 2010, at 6:17 AM, natalia Vikhtinskaya wrote:  Thank you for your advice. But I did not understand what you mean: Export a MOV file using the Animation Codec with the highest

Re: [Flashcoders] Converting fla to mov

2010-10-25 Thread natalia Vikhtinskaya
into QuickTime and re-export it in the mp4 format. Yes 24 to 30 fps for video. 30fps for broadcast. Best, Karl On Oct 25, 2010, at 4:55 AM, natalia Vikhtinskaya wrote: Thank you very much! Your advices really helped to create mov file. When I export to mov file In Compression Type I see

Re: [Flashcoders] Converting fla to mov

2010-10-24 Thread natalia Vikhtinskaya
and export to your desired settings for what ever your wanting the video for. Oh and any Movieclips you have that play content inside them, move their content to a new layer on the main timeline. HTH, Best On Oct 23, 2010, at 12:48 PM, natalia Vikhtinskaya wrote: Yes, I googled. Can somebody

[Flashcoders] export to video broadcast and mov format

2010-10-23 Thread natalia Vikhtinskaya
Hi Please give me advice how to convert flash file to video broadcast 4x3 NTSC standard definition and 16x9 1080p high definition. Can I use for that Adobe Media Encoder? And second question I tried export fla to mov file. Everything works till final message “Recording Flash Content” with full

[Flashcoders] Converting fla to mov

2010-10-23 Thread natalia Vikhtinskaya
Did anybody convert fla to mov format successfully? I tried Flash 3, 4, 5 without any success. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Converting fla to mov

2010-10-23 Thread natalia Vikhtinskaya
What is the best solution if I want to convert swf to mp4 for broadcast video? 2010/10/23 Henrik Andersson he...@henke37.cjb.net: The built in exporter is crap and doesn't deal with actionscript. You might get better luck with a 3rdparty solution.

Re: [Flashcoders] Converting fla to mov

2010-10-23 Thread natalia Vikhtinskaya
Yes, I googled. Can somebody recommend really good tool? 2010/10/23 Henrik Andersson he...@henke37.cjb.net: I would rather use a dedicated tool. Googling swf to video should find most of them. ___ Flashcoders mailing list

[Flashcoders] Get function problem

2010-09-10 Thread natalia Vikhtinskaya
AS3. I have linked mc with name videoPanel in library. This mc has function statVideo() on his own timeline frame; Then on main timeline I have code theVideo=new videoPanel(); panelItem.addChild(theVideo); and I want to play function startVideo, so theVideo.startVideo(); but that gives me error

Re: [Flashcoders] Get function problem

2010-09-10 Thread natalia Vikhtinskaya
for Bank of America associates) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: Friday, September 10, 2010 5:17 AM To: Flash Coders List Subject: [Flashcoders] Get function

Re: [Flashcoders] Get function problem

2010-09-10 Thread natalia Vikhtinskaya
-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: Friday, September 10, 2010 5:17 AM To: Flash Coders List Subject: [Flashcoders] Get function problem AS3. I have linked mc with name videoPanel in library. This mc has

Re: [Flashcoders] Get function problem

2010-09-10 Thread natalia Vikhtinskaya
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya Sent: Friday, September 10, 2010 10:04 AM To: Flash Coders List Subject: Re: [Flashcoders] Get function problem I found that AS3 does not allow tocall function from timeline

[Flashcoders] startDrag stopDrag problem

2010-09-08 Thread natalia Vikhtinskaya
I have loadbar with scrub point that I want to drag within loadbar It works fine with onPress and onRelease events in AS2 I try to convert that in AS3 and use Mouse Down and Mouse Up events. It starts to drag well with Mouse Down but not always stops with Mouse Up. Sometimes that happened

Re: [Flashcoders] startDrag stopDrag problem

2010-09-08 Thread natalia Vikhtinskaya
THANK YOU!! 2010/9/8 Matt S. mattsp...@gmail.com: Check out the AS3 onReleaseOutside hacks, that should fix it for you: http://www.google.com/search?client=safarirls=enq=as3+onreleaseoutsideie=UTF-8oe=UTF-8 .m ___ Flashcoders mailing list

[Flashcoders] Attribute base

2010-07-28 Thread natalia Vikhtinskaya
Hi I need to have swf and html in different folders. swf loads xml that is in in the same folder as swf. I know that base attribute can help but I can not make it to work. XML does not loaded. Please look what is wrong in my code? script language=javascript if (AC_FL_RunContent == 0) {

Re: [Flashcoders] Attribute base

2010-07-28 Thread natalia Vikhtinskaya
the html file is, possibly. Not positive on that one. Karl On Jul 28, 2010, at 5:22 AM, natalia Vikhtinskaya wrote: http://kb2.adobe.com/cps/041/tn_04157.html They say it can be relative. 2010/7/28 Glen Pike g...@engineeredarts.co.uk: Hi,   I think your base parameter needs to be absolute

Re: [Flashcoders] Attribute base

2010-07-28 Thread natalia Vikhtinskaya
=javascript/script Karl On Jul 28, 2010, at 5:53 AM, natalia Vikhtinskaya wrote: If I use this code it works object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0; width=290 height=74 id=home

Re: [Flashcoders] Adding MC with some frames from library

2010-05-06 Thread natalia Vikhtinskaya
nav.btnBack.gotoAndStop(1); nav.btnNext.gotoAndStop(1); From: flashcoders-boun...@chattyfig.figleaf.com [flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia Vikhtinskaya [natavi.m...@gmail.com] Sent: Wednesday, May 05, 2010 8:32 AM

[Flashcoders] Adding MC with some frames from library

2010-05-05 Thread natalia Vikhtinskaya
Hi I met situation with AS3 that I can not explain or even understand where I should look answer. Simple example. In library I have simple movie clip with linkage class name nav. This mc has mc2 with two frames. In frame 1- stop(). On the stage I add this nav function init():void{ var

  1   2   3   >