# FlashFile

class FlashFile extends File (View source)

## Properties

protected | $container |  | from File

## Methods

__construct(DriverContainer $container)

Build the File processor given the configuration

from File
static string
changePathnameExtension(string $pathname, string $extension)

Change the extension of a pathname

from File
bool
render(string $inputFile, string $outputFile, bool $legacy_rendering = false)

Render the flash to PNG file

type
listEmbeddedObjects(string $inputFile)

List all embedded object of the current flash file

string
extractEmbedded(int $id, string $inputFile, string $outputFile)

Extract the specified Embedded file

extractFirstImage(string $inputFile, string $outputFile)

Extract the first embedded image found

## Details

###
in File at line 25
`__construct(DriverContainer $container)`

Build the File processor given the configuration

#### Parameters

DriverContainer | $container |

###
in File at line 41
`static protected string changePathnameExtension(string $pathname, string $extension)`

Change the extension of a pathname

#### Parameters

string | $pathname |
string | $extension |

#### Return Value

string |

###
at line 30
`bool render(string $inputFile, string $outputFile, bool $legacy_rendering = false)`

Render the flash to PNG file

#### Parameters

string | $inputFile |
string | $outputFile |
bool | $legacy_rendering |

#### Return Value

bool |

#### Exceptions

InvalidArgumentException |

###
at line 54
`type listEmbeddedObjects(string $inputFile)`

List all embedded object of the current flash file

#### Parameters

string | $inputFile |

#### Return Value

type |

#### Exceptions

RuntimeException |

###
at line 104
`string extractEmbedded(int $id, string $inputFile, string $outputFile)`

Extract the specified Embedded file

#### Parameters

int | $id |
string | $inputFile |
string | $outputFile |

#### Return Value

string |

#### Exceptions

RuntimeException |

###
at line 134
`extractFirstImage(string $inputFile, string $outputFile)`

Extract the first embedded image found

#### Parameters

string | $inputFile |
string | $outputFile |

#### Exceptions

InvalidArgumentException |
RuntimeException |